Searched refs:ifap (Results 1 – 3 of 3) sorted by relevance
| /xnu-11215.81.4/tests/ |
| H A D | sioc-if-addr-bounds.c | 889 struct ifaddrs *ifap = NULL, *ifa; variable 892 T_QUIET; T_EXPECT_POSIX_SUCCESS(getifaddrs(&ifap), "getifaddrs"); 893 for (ifa = ifap; ifa; ifa = ifa->ifa_next) { 899 freeifaddrs(ifap); 900 ifap = NULL;
|
| /xnu-11215.81.4/bsd/netinet/ |
| H A D | in.c | 1911 struct ifaddr **__counted_by(addresses_count) ifap = NULL; in in_purgeaddrs() 1922 err = ifnet_get_address_list_family_internal(ifp, &ifap, &addresses_count, in in_purgeaddrs() 1924 if (err == 0 && ifap != NULL) { in in_purgeaddrs() 1931 for (i = 0; ifap[i] != NULL; i++) { in in_purgeaddrs() 1934 ifa = ifap[i]; in in_purgeaddrs() 1964 ifnet_address_list_free_counted_by(ifap, addresses_count); in in_purgeaddrs()
|
| /xnu-11215.81.4/bsd/netinet6/ |
| H A D | nd6_rtr.c | 3206 struct ifaddr **__single __counted_by(addresses_count) ifap = NULL; in pfxlist_onlink_check() 3405 err = ifnet_get_address_list_family_internal(NULL, &ifap, &addresses_count, in pfxlist_onlink_check() 3407 if (err != 0 || ifap == NULL) { in pfxlist_onlink_check() 3412 for (i = 0; ifap[i]; i++) { in pfxlist_onlink_check() 3413 ifa = ifatoia6(ifap[i]); in pfxlist_onlink_check() 3416 (ifap[i]->ifa_debug & IFD_ATTACHED) == 0) { in pfxlist_onlink_check() 3440 for (i = 0; ifap[i]; i++) { in pfxlist_onlink_check() 3443 ifa = ifatoia6(ifap[i]); in pfxlist_onlink_check() 3446 (ifap[i]->ifa_debug & IFD_ATTACHED) == 0) { in pfxlist_onlink_check() 3498 ifnet_address_list_free_counted_by(ifap, addresses_count); in pfxlist_onlink_check()
|