Searched refs:sioc4fd (Results 1 – 1 of 1) sorted by relevance
43 static int sioc4fd, sioc6fd; variable111 sioc4fd = socket(AF_INET, SOCK_DGRAM, 0); in main()113 if (sioc4fd == -1 || sioc6fd == -1) in main()122 (void) close(sioc4fd); in main()137 if (ioctl(sioc4fd, SIOCGLIFFLAGS, &lifr) == -1) { in is_offline()225 int fd = (flags & IFF_IPV4) ? sioc4fd : sioc6fd; in set_lifflags()