Searched refs:num_ifs (Results 1 – 6 of 6) sorted by relevance
/titanic_44/usr/src/cmd/rcm_daemon/common/ |
H A D | ip_anon_rcm.c | 166 int num_ifs, num_ifs6, i, ret; in ip_anon_register() local 275 num_ifs = ifaddrlist(&al, AF_INET, LIFC_UNDER_IPMP, errbuf); in ip_anon_register() 276 if (num_ifs == -1) { in ip_anon_register() 312 for (i = 0; i < num_ifs; i++) { in ip_anon_register()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute.c | 829 int num_ifs; /* all the interfaces */ in set_src_addr() local 840 num_ifs = ifaddrlist(&al, pr->family, ifaddrflags, errbuf); in set_src_addr() 841 if (num_ifs < 0) { in set_src_addr() 847 for (i = 0; i < num_ifs; i++) { in set_src_addr() 860 tmp1_al = find_device(al, num_ifs, device); in set_src_addr() 896 tmp2_al = find_ifaddr(al, num_ifs, ap, pr->family); in set_src_addr() 991 return (num_ifs); in set_src_addr() 1492 int num_ifs, struct ifaddrlist *al) in traceroute() argument 1540 for (i = 0; i < num_ifs; i++) { in traceroute() 1547 dev_name = device_name(al, num_ifs, &src_addr, pr); in traceroute()
|
/titanic_44/usr/src/lib/libslp/clib/ |
H A D | slp_net.c | 81 int num_ifs; member 905 &(bcifs->sin), &(bcifs->num_ifs))) in make_bc_target() 911 for (i = 0; i < bcifs->num_ifs; i++) { in make_bc_target() 970 for (i = 0; i < bcifs->num_ifs; i++) { in bc_sendmsg()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping.c | 1491 int num_ifs; in setup_socket() local 1496 num_ifs = ifaddrlist(&al, family, LIFC_UNDER_IPMP, errbuf); in setup_socket() 1497 if (num_ifs == -1) { in setup_socket() 1504 for (i = 0; i < num_ifs; i++) { in setup_socket() 1518 my_if = find_if(al, num_ifs); in setup_socket() 1621 find_if(struct ifaddrlist *al, int num_ifs) in find_if() argument 1630 while (i < num_ifs && !found) { in find_if()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | sys-solaris.c | 744 int fd, num_ifs, i; local 760 if (myioctl(fd, SIOCGIFNUM, (caddr_t)&num_ifs) < 0) { 761 num_ifs = MAXIFS; 763 req_size = num_ifs * sizeof (struct ifreq);
|
/titanic_44/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 1877 int num_ifs, s, i, ret_code = 0; in unconfigure_shared_network_interfaces() local 1894 num_ifs = lifn.lifn_count; in unconfigure_shared_network_interfaces() 1895 bufsize = num_ifs * sizeof (struct lifreq); in unconfigure_shared_network_interfaces()
|