Network Interface Media Structure Management Routines
The FreeBSD kernel provides the following functions for working with ifmedia structures:
#include <net/if.h> #include <net/if_media.h> void ifmedia_init(struct ifmedia *ifm, int dontcare_mask, ifm_change_cb_t change_callback, ifm_stat_cb_t status_callback); void ifmedia_add(struct ifmedia *ifm, int ...
Get FreeBSD Device Drivers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.