Searched refs:ni_ifaddrs (Results 1 – 4 of 4) sorted by relevance
33 struct ni_ifaddrs { struct34 struct ni_ifaddrs *ifa_next; argument41 int ni_ifaddrs(struct ni_ifaddrs **ifap, sa_family_t family); argument42 void ni_freeifaddrs(struct ni_ifaddrs *ifa);
154 struct ni_ifaddrs *ifa0; in pr_nodeinfo_ipv6addr()165 if (ni_ifaddrs(&ifa0, AF_INET6)) in pr_nodeinfo_ipv6addr()170 struct ni_ifaddrs *ifa; in pr_nodeinfo_ipv6addr()218 struct ni_ifaddrs *ifa; in pr_nodeinfo_ipv6addr()323 struct ni_ifaddrs *ifa0; in pr_nodeinfo_ipv4addr()334 if (ni_ifaddrs(&ifa0, AF_INET)) in pr_nodeinfo_ipv4addr()339 struct ni_ifaddrs *ifa; in pr_nodeinfo_ipv4addr()378 struct ni_ifaddrs *ifa; in pr_nodeinfo_ipv4addr()
77 ninfod: ninfod_addrs.o ni_ifaddrs.o ninfod_name.o ninfod_core.o ninfod.o83 ni_ifaddrs.o: config.h ni_ifaddrs.h85 ninfod_addrs.c: config.h ninfod.h ni_ifaddrs.h
313 int ni_ifaddrs(struct ni_ifaddrs **ifap, sa_family_t family) in ni_ifaddrs() function352 struct ni_ifaddrs *ifl = NULL, *ifa = NULL; in ni_ifaddrs()361 ifa = data = calloc(1, NLMSG_ALIGN(sizeof(struct ni_ifaddrs[icnt])) in ni_ifaddrs()376 data += NLMSG_ALIGN(sizeof(struct ni_ifaddrs)) * icnt; in ni_ifaddrs()539 void ni_freeifaddrs(struct ni_ifaddrs *ifa) in ni_freeifaddrs()