Lines Matching refs:fd4
81 register int fd4, fd6, fd; in pcap_findalldevs_interfaces() local
98 fd4 = socket(AF_INET, SOCK_DGRAM, 0); in pcap_findalldevs_interfaces()
99 if (fd4 < 0) { in pcap_findalldevs_interfaces()
112 (void)close(fd4); in pcap_findalldevs_interfaces()
122 if (ioctl(fd4, SIOCGLIFNUM, (char *)&ifn) < 0) { in pcap_findalldevs_interfaces()
126 (void)close(fd4); in pcap_findalldevs_interfaces()
139 (void)close(fd4); in pcap_findalldevs_interfaces()
151 if (ioctl(fd4, SIOCGLIFCONF, (char *)&ifc) < 0) { in pcap_findalldevs_interfaces()
155 (void)close(fd4); in pcap_findalldevs_interfaces()
173 fd = fd4; in pcap_findalldevs_interfaces()
355 (void)close(fd4); in pcap_findalldevs_interfaces()