ifaddr Struct Reference
#include
<stdapis/net/if_var.h>
Detailed Description
The ifaddr structure contains information about one address of an interface. They are maintained by the different address families, are allocated and attached when an address is set, and are linked together so all addresses for an interface can be located.
Member Attribute Documentation
if_data
not all members are meaningful
ifa_flags
mostly rt_flags for cloning
ifa_ifp
back-pointer to interface
ifa_metric
cost of going out this interface
ifa_refcnt
references to this structure
Member Function Documentation
TAILQ_ENTRY ( ifaddr )
ifa_claim_addr ( struct ifaddr *, struct sockaddr * )
check if an addr goes to this if
ifa_rtrequest ( int, struct rtentry *, struct rt_addrinfo * )
void | ifa_rtrequest | ( | int | , |
| struct rtentry * | , |
| struct rt_addrinfo * | |
| ) | |