Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_var.h
Show First 20 Lines • Show All 621 Lines • ▼ Show 20 Lines | |||||
int if_vlantrunkinuse(if_t ifp); | int if_vlantrunkinuse(if_t ifp); | ||||
caddr_t if_getlladdr(const if_t ifp); | caddr_t if_getlladdr(const if_t ifp); | ||||
void *if_gethandle(u_char); | void *if_gethandle(u_char); | ||||
void if_bpfmtap(if_t ifp, struct mbuf *m); | void if_bpfmtap(if_t ifp, struct mbuf *m); | ||||
void if_etherbpfmtap(if_t ifp, struct mbuf *m); | void if_etherbpfmtap(if_t ifp, struct mbuf *m); | ||||
void if_vlancap(if_t ifp); | void if_vlancap(if_t ifp); | ||||
int if_transmit(if_t ifp, struct mbuf *m); | int if_transmit(if_t ifp, struct mbuf *m); | ||||
int if_init(if_t ifp, void *ctx); | int if_init(if_t ifp, void *ctx); | ||||
struct label *if_getmaclabel(if_t ifp); | |||||
void if_setmaclabel(if_t ifp, struct label *label); | |||||
/* | /* | ||||
* Traversing through interface address lists. | * Traversing through interface address lists. | ||||
*/ | */ | ||||
struct sockaddr_dl; | struct sockaddr_dl; | ||||
typedef u_int iflladdr_cb_t(void *, struct sockaddr_dl *, u_int); | typedef u_int iflladdr_cb_t(void *, struct sockaddr_dl *, u_int); | ||||
u_int if_foreach_lladdr(if_t, iflladdr_cb_t, void *); | u_int if_foreach_lladdr(if_t, iflladdr_cb_t, void *); | ||||
u_int if_foreach_llmaddr(if_t, iflladdr_cb_t, void *); | u_int if_foreach_llmaddr(if_t, iflladdr_cb_t, void *); | ||||
▲ Show 20 Lines • Show All 46 Lines • Show Last 20 Lines |