Home
last modified time | relevance | path

Searched refs:ifsock_v4 (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_defs.h199 extern int ifsock_v4; /* IPv4 socket for ioctls */
H A Dmpd_main.c49 int ifsock_v4 = -1; /* IPv4 socket for ioctls */ variable
314 if (ioctl(ifsock_v4, SIOCGLIFNUM, (char *)&lifn) < 0) { in initifs()
334 if (ioctl(ifsock_v4, SIOCGLIFCONF, (char *)&lifc) < 0) { in initifs()
357 sockfd = (af == AF_INET) ? ifsock_v4 : ifsock_v6; in initifs()
1242 (void) close(ifsock_v4); in cleanup()
2090 ifsock_v4 = socket(AF_INET, SOCK_DGRAM, 0); in main()
2091 if (ifsock_v4 < 0) { in main()
H A Dmpd_tables.c622 ifsock = (af == AF_INET) ? ifsock_v4 : ifsock_v6; in phyint_inst_init_from_k()
1231 ifsock = (pii->pii_af == AF_INET) ? ifsock_v4 : ifsock_v6; in phyint_inst_update_from_k()
1774 ifsock = (pii->pii_af == AF_INET) ? ifsock_v4 : ifsock_v6; in logint_init_from_k()
3225 if (ioctl(ifsock_v4, SIOCGLIFGROUPINFO, &lifgr) == -1) { in getgroupinfo()
3400 ifsock = (ssp->ss_family == AF_INET) ? ifsock_v4 : ifsock_v6; in getgraddrinfo()
H A Dmpd_probe.c2601 ifsock = ifsock_v4; in change_pif_flags()