Home
last modified time | relevance | path

Searched refs:ifa_next (Results 1 – 25 of 65) sorted by relevance

123

/freebsd/lib/libc/net/
H A Dif_nameindex.c96 for (ifa = ifaddrs; ifa != NULL; ifa = ifa->ifa_next) { in if_nameindex()
121 for (ifa = ifaddrs; ifa != NULL; ifa = ifa->ifa_next) { in if_nameindex()
H A Dgetifaddrs.c250 ift = (ift->ifa_next = ift + 1); in getifaddrs()
321 ift = (ift->ifa_next = ift + 1); in getifaddrs()
329 ift->ifa_next = NULL; in getifaddrs()
H A Dif_indextoname.c74 for (ifa = ifaddrs; ifa != NULL; ifa = ifa->ifa_next) { in if_indextoname()
H A Dif_nametoindex.c86 for (ifa = ifaddrs; ifa != NULL; ifa = ifa->ifa_next) { in if_nametoindex()
H A Dsourcefilter.c101 for (ifa = ifaddrs; ifa != NULL; ifa = ifa->ifa_next) { in __inaddr_to_index()
117 for (ifa = ifaddrs; ifa != NULL; ifa = ifa->ifa_next) { in __inaddr_to_index()
/freebsd/usr.bin/netstat/
H A Dif.c401 for (ifa = ifap; ifa; ifa = ifa->ifa_next) { in intpr()
453 for (ifa = ifap; ifa; ifa = ifa->ifa_next) { in intpr()
469 while(ifa->ifa_next != NULL && in intpr()
470 (strcmp(ifa->ifa_next->ifa_name, name) == 0)) { in intpr()
471 ifa = ifa->ifa_next; in intpr()
612 for (ifa = ifap; ifa; ifa = ifa->ifa_next) { in fill_iftot()
H A Dcommon.c104 for (ifa = ifap; ifa; ifa = ifa->ifa_next) { in prepare_ifmap()
/freebsd/crypto/heimdal/lib/krb5/
H A Dget_addrs.c114 for (ifa = ifa0, num = 0; ifa != NULL; ifa = ifa->ifa_next, num++) in find_all_addresses()
140 for (ifa = ifa0, idx = 0; ifa != NULL; ifa = ifa->ifa_next) { in find_all_addresses()
181 for (ifa = ifa0; ifa != NULL; ifa = ifa->ifa_next) { in find_all_addresses()
/freebsd/crypto/heimdal/lib/roken/
H A Dgetifaddrs.c641 ifl->ifa_next = ifa; in rk_getifaddrs()
954 (*end)->ifa_next = NULL; in getifaddrs2()
995 end = &(*end)->ifa_next; in getifaddrs2()
1100 (*end)->ifa_next = NULL; in getlifaddrs2()
1141 end = &(*end)->ifa_next; in getlifaddrs2()
1170 while (base->ifa_next) in append_ifaddrs()
1171 base = base->ifa_next; in append_ifaddrs()
1173 base->ifa_next = supp; in append_ifaddrs()
1256 p = p->ifa_next; in rk_freeifaddrs()
1285 for(p = x; p; p = p->ifa_next) { in print_ifaddrs()
H A Difaddrs.hin57 struct ifaddrs *ifa_next;
/freebsd/sbin/ifconfig/
H A Difconfig.c259 ifa = ifa->ifa_next; in calcorders()
380 if (!list || !list->ifa_next) in sortifaddrs()
383 while (temp && temp->ifa_next) { in sortifaddrs()
385 right = right->ifa_next; in sortifaddrs()
386 temp = temp->ifa_next->ifa_next; in sortifaddrs()
389 last->ifa_next = NULL; in sortifaddrs()
398 list = list->ifa_next; in sortifaddrs()
401 right = right->ifa_next; in sortifaddrs()
404 list = list->ifa_next; in sortifaddrs()
407 right = right->ifa_next; in sortifaddrs()
[all …]
H A Difconfig_netlink.c326 struct ifa *ifa_next = ifa->next; in sort_iface_ifaddrs() local
330 ifa = ifa_next; in sort_iface_ifaddrs()
/freebsd/tests/sys/netinet/
H A Dbroadcast.c79 for (ifa = ifa0; ifa != NULL; ifa = ifa->ifa_next) in firstbcast()
142 for (ifa = ifa0; ifa != NULL; ifa = ifa->ifa_next) { in ATF_TC_BODY()
/freebsd/contrib/hyperv/tools/
H A Dhv_kvp_daemon.c591 } while ((ifaddrs_ptr = ifaddrs_ptr->ifa_next) != NULL); in kvp_if_name_to_mac()
633 } while ((ifaddrs_ptr = ifaddrs_ptr->ifa_next) != NULL); in kvp_mac_to_if_name()
845 curp = curp->ifa_next; in kvp_get_ip_info()
855 curp = curp->ifa_next; in kvp_get_ip_info()
866 curp = curp->ifa_next; in kvp_get_ip_info()
871 curp = curp->ifa_next; in kvp_get_ip_info()
943 curp = curp->ifa_next; in kvp_get_ip_info()
/freebsd/include/
H A Difaddrs.h33 struct ifaddrs *ifa_next; member
/freebsd/usr.sbin/rpcbind/tests/
H A Daddrmerge_test.c103 .ifa_next = NULL, in mock_ifaddr4()
113 mock_ifaddr_storage[ifaddr_count - 1].ifaddr.ifa_next = ifaddr; in mock_ifaddr4()
155 .ifa_next = NULL, in mock_ifaddr6()
165 mock_ifaddr_storage[ifaddr_count - 1].ifaddr.ifa_next = ifaddr; in mock_ifaddr6()
/freebsd/usr.sbin/rpcbind/
H A Dutil.c191 for (ifap = ifp; ifap != NULL; ifap = ifap->ifa_next) { in addrmerge()
382 for (ifap = ifp; ifap != NULL; ifap = ifap->ifa_next) { in network_init()
/freebsd/contrib/smbfs/lib/smb/
H A Dnb_net.c114 for (p = ifp; p; p = p->ifa_next) { in nb_enum_if()
/freebsd/usr.sbin/rtsold/
H A Dcap_llflags.c78 for (ifa = ifap; ifa != NULL; ifa = ifa->ifa_next) { in llflags_get()
/freebsd/contrib/libpcap/
H A Dfad-getad.c188 for (ifa = ifap; ifa != NULL; ifa = ifa->ifa_next) { in pcapint_findalldevs_interfaces()
/freebsd/usr.sbin/wake/
H A Dwake.c120 for (nifs = 0, ifa = ifap; ifa; ifa = ifa->ifa_next) in find_ether()
/freebsd/lib/libifconfig/
H A Dlibifconfig.c136 for (ifa = h->ifap; ifa; ifa = ifa->ifa_next) { in ifconfig_foreach_iface()
160 ift = ift->ifa_next) { in ifconfig_foreach_ifaddr()
/freebsd/sbin/dumpon/
H A Ddumpon.c103 for (ifa = ifap; ifa != NULL; ifa = ifa->ifa_next) { in find_gateway()
183 for (ifa = ifap; ifa != NULL; ifa = ifa->ifa_next) { in check_link_status()
/freebsd/contrib/ntp/libntp/lib/isc/unix/
H A Difiter_getifaddrs.c251 iter->pos = iter->pos->ifa_next; in internal_next()
/freebsd/usr.sbin/arp/
H A Darp.c842 for (ifa = ifas; ifa != NULL; ifa = ifa->ifa_next) { in get_ether_addr()
870 for (ifd = ifas; ifd != NULL; ifd = ifd->ifa_next) { in get_ether_addr()

123