Searched refs:ifsock (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | main.c | 606 static int ifsock = -1; variable 628 if (ifsock < 0) { in initifs() 629 ifsock = socket(AF_INET6, SOCK_DGRAM, 0); in initifs() 630 if (ifsock < 0) { in initifs() 637 if (ioctl(ifsock, SIOCGLIFNUM, (char *)&lifn) < 0) { in initifs() 672 if (ioctl(ifsock, SIOCGLIFCONF, (char *)&lifc) < 0) { in initifs() 680 if_process(ifsock, lifr->lifr_name, first); in initifs() 1685 if (ifsock < 0) { in process_rtsock() 1686 ifsock = socket(AF_INET6, SOCK_DGRAM, 0); in process_rtsock() 1687 if (ifsock < 0) { in process_rtsock() [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_tables.c | 599 int ifsock; in phyint_inst_init_from_k() local 622 ifsock = (af == AF_INET) ? ifsock_v4 : ifsock_v6; in phyint_inst_init_from_k() 630 if (ioctl(ifsock, SIOCGLIFFLAGS, (char *)&lifr) < 0) { in phyint_inst_init_from_k() 646 if (ioctl(ifsock, SIOCGLIFINDEX, (char *)&lifr) < 0) { in phyint_inst_init_from_k() 658 if (ioctl(ifsock, SIOCGLIFGROUPNAME, (char *)&lifr) < 0) { in phyint_inst_init_from_k() 681 if (ioctl(ifsock, SIOCSLIFFLAGS, (char *)&lifr) < 0) { in phyint_inst_init_from_k() 1214 int ifsock; in phyint_inst_update_from_k() local 1231 ifsock = (pii->pii_af == AF_INET) ? ifsock_v4 : ifsock_v6; in phyint_inst_update_from_k() 1232 if (ioctl(ifsock, SIOCGLIFINDEX, &lifr) < 0) { in phyint_inst_update_from_k() 1260 if (ioctl(ifsock, SIOCGLIFGROUPNAME, &lifr) < 0) { in phyint_inst_update_from_k() [all …]
|
H A D | mpd_probe.c | 2591 int ifsock; in change_pif_flags() local 2601 ifsock = ifsock_v4; in change_pif_flags() 2603 ifsock = ifsock_v6; in change_pif_flags() 2612 if (ioctl(ifsock, SIOCGLIFFLAGS, (char *)&lifr) < 0) { in change_pif_flags() 2627 if (ioctl(ifsock, SIOCSLIFFLAGS, (char *)&lifr) < 0) { in change_pif_flags()
|