Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if.h
| Show First 20 Lines • Show All 651 Lines • ▼ Show 20 Lines | |||||
| #endif /* __BSD_VISIBLE */ | #endif /* __BSD_VISIBLE */ | ||||
| #ifdef _KERNEL | #ifdef _KERNEL | ||||
| #ifdef MALLOC_DECLARE | #ifdef MALLOC_DECLARE | ||||
| MALLOC_DECLARE(M_IFADDR); | MALLOC_DECLARE(M_IFADDR); | ||||
| MALLOC_DECLARE(M_IFMADDR); | MALLOC_DECLARE(M_IFMADDR); | ||||
| #endif | #endif | ||||
| /* | |||||
| * Opaque interface structure. | |||||
| */ | |||||
| typedef struct ifnet * if_t; | |||||
| extern struct sx ifnet_detach_sxlock; | extern struct sx ifnet_detach_sxlock; | ||||
| struct nvlist; | struct nvlist; | ||||
| struct ifcap_nv_bit_name; | struct ifcap_nv_bit_name; | ||||
| int if_capnv_to_capint(const struct nvlist *nv, int *old_cap, | int if_capnv_to_capint(const struct nvlist *nv, int *old_cap, | ||||
| const struct ifcap_nv_bit_name *nn, bool all); | const struct ifcap_nv_bit_name *nn, bool all); | ||||
| void if_capint_to_capnv(struct nvlist *nv, | void if_capint_to_capnv(struct nvlist *nv, | ||||
| const struct ifcap_nv_bit_name *nn, int ifr_cap, int ifr_req); | const struct ifcap_nv_bit_name *nn, int ifr_cap, int ifr_req); | ||||
| Show All 21 Lines | |||||