Lines Matching refs:fd4
86 register int fd4, fd6, fd; in pcap_findalldevs_interfaces() local
103 fd4 = socket(AF_INET, SOCK_DGRAM, 0); in pcap_findalldevs_interfaces()
104 if (fd4 < 0) { in pcap_findalldevs_interfaces()
117 (void)close(fd4); in pcap_findalldevs_interfaces()
127 if (ioctl(fd4, SIOCGLIFNUM, (char *)&ifn) < 0) { in pcap_findalldevs_interfaces()
131 (void)close(fd4); in pcap_findalldevs_interfaces()
144 (void)close(fd4); in pcap_findalldevs_interfaces()
156 if (ioctl(fd4, SIOCGLIFCONF, (char *)&ifc) < 0) { in pcap_findalldevs_interfaces()
160 (void)close(fd4); in pcap_findalldevs_interfaces()
178 fd = fd4; in pcap_findalldevs_interfaces()
363 (void)close(fd4); in pcap_findalldevs_interfaces()