Searched refs:ifsock_v4 (Results 1 – 4 of 4) sorted by relevance
199 extern int ifsock_v4; /* IPv4 socket for ioctls */
49 int ifsock_v4 = -1; /* IPv4 socket for ioctls */ variable314 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()
622 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()
2601 ifsock = ifsock_v4; in change_pif_flags()