Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_var.h
Show First 20 Lines • Show All 571 Lines • ▼ Show 20 Lines | #define IFA_RTSELF RTF_HOST /* loopback route to self installed */ | ||||
counter_u64_t ifa_ibytes; | counter_u64_t ifa_ibytes; | ||||
counter_u64_t ifa_obytes; | counter_u64_t ifa_obytes; | ||||
struct epoch_context ifa_epoch_ctx; | struct epoch_context ifa_epoch_ctx; | ||||
}; | }; | ||||
struct ifaddr * ifa_alloc(size_t size, int flags); | struct ifaddr * ifa_alloc(size_t size, int flags); | ||||
void ifa_free(struct ifaddr *ifa); | void ifa_free(struct ifaddr *ifa); | ||||
void ifa_ref(struct ifaddr *ifa); | void ifa_ref(struct ifaddr *ifa); | ||||
int ifa_try_ref(struct ifaddr *ifa); | |||||
/* | /* | ||||
* Multicast address structure. This is analogous to the ifaddr | * Multicast address structure. This is analogous to the ifaddr | ||||
* structure except that it keeps track of multicast addresses. | * structure except that it keeps track of multicast addresses. | ||||
*/ | */ | ||||
#define IFMA_F_ENQUEUED 0x1 | #define IFMA_F_ENQUEUED 0x1 | ||||
struct ifmultiaddr { | struct ifmultiaddr { | ||||
CK_STAILQ_ENTRY(ifmultiaddr) ifma_link; /* queue macro glue */ | CK_STAILQ_ENTRY(ifmultiaddr) ifma_link; /* queue macro glue */ | ||||
▲ Show 20 Lines • Show All 211 Lines • Show Last 20 Lines |