Searched refs:ifap (Results 1 – 3 of 3) sorted by relevance
| /xnu-12377.41.6/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-12377.41.6/bsd/netinet/ |
| H A D | in.c | 1906 struct ifaddr **__counted_by(addresses_count) ifap = NULL; in in_purgeaddrs() 1917 err = ifnet_get_address_list_family_internal(ifp, &ifap, &addresses_count, in in_purgeaddrs() 1919 if (err == 0 && ifap != NULL) { in in_purgeaddrs() 1926 for (i = 0; ifap[i] != NULL; i++) { in in_purgeaddrs() 1929 ifa = ifap[i]; in in_purgeaddrs() 1959 ifnet_address_list_free_counted_by(ifap, addresses_count); in in_purgeaddrs()
|
| /xnu-12377.41.6/bsd/netinet6/ |
| H A D | nd6_rtr.c | 3243 struct ifaddr **__single __counted_by(addresses_count) ifap = NULL; in pfxlist_onlink_check() 3442 err = ifnet_get_address_list_family_internal(NULL, &ifap, &addresses_count, in pfxlist_onlink_check() 3444 if (err != 0 || ifap == NULL) { in pfxlist_onlink_check() 3449 for (i = 0; ifap[i]; i++) { in pfxlist_onlink_check() 3450 ifa = ifatoia6(ifap[i]); in pfxlist_onlink_check() 3453 (ifap[i]->ifa_debug & IFD_ATTACHED) == 0) { in pfxlist_onlink_check() 3477 for (i = 0; ifap[i]; i++) { in pfxlist_onlink_check() 3480 ifa = ifatoia6(ifap[i]); in pfxlist_onlink_check() 3483 (ifap[i]->ifa_debug & IFD_ATTACHED) == 0) { in pfxlist_onlink_check() 3535 ifnet_address_list_free_counted_by(ifap, addresses_count); in pfxlist_onlink_check()
|