Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_var.h
Context not available. | |||||
void *if_linkmib; /* link-type-specific MIB data */ | void *if_linkmib; /* link-type-specific MIB data */ | ||||
size_t if_linkmiblen; /* length of above data */ | size_t if_linkmiblen; /* length of above data */ | ||||
u_int if_refcount; /* reference count */ | u_int if_refcount; /* reference count */ | ||||
u_int if_slowref; /* reference count (slow path) */ | |||||
/* These fields are shared with struct if_data. */ | /* These fields are shared with struct if_data. */ | ||||
uint8_t if_type; /* ethernet, tokenring, etc */ | uint8_t if_type; /* ethernet, tokenring, etc */ | ||||
Context not available. | |||||
int if_printf(struct ifnet *, const char *, ...) __printflike(2, 3); | int if_printf(struct ifnet *, const char *, ...) __printflike(2, 3); | ||||
void if_ref(struct ifnet *); | void if_ref(struct ifnet *); | ||||
void if_rele(struct ifnet *); | void if_rele(struct ifnet *); | ||||
bool if_slow_ref(struct ifnet *) __result_use_check; | |||||
void if_slow_drain(struct ifnet *); | |||||
void if_slow_unref(struct ifnet *); | |||||
int if_setlladdr(struct ifnet *, const u_char *, int); | int if_setlladdr(struct ifnet *, const u_char *, int); | ||||
int if_tunnel_check_nesting(struct ifnet *, struct mbuf *, uint32_t, int); | int if_tunnel_check_nesting(struct ifnet *, struct mbuf *, uint32_t, int); | ||||
void if_up(struct ifnet *); | void if_up(struct ifnet *); | ||||
Context not available. |