Searched refs:ifrflags (Results 1 – 2 of 2) sorted by relevance
/external/libpcap/ |
D | fad-glifc.c | 89 struct lifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; in pcap_findalldevs_interfaces() local 195 strncpy(ifrflags.lifr_name, ifrp->lifr_name, in pcap_findalldevs_interfaces() 196 sizeof(ifrflags.lifr_name)); in pcap_findalldevs_interfaces() 197 if (ioctl(fd, SIOCGLIFFLAGS, (char *)&ifrflags) < 0) { in pcap_findalldevs_interfaces() 202 (int)sizeof(ifrflags.lifr_name), in pcap_findalldevs_interfaces() 203 ifrflags.lifr_name); in pcap_findalldevs_interfaces() 237 if (ifrflags.lifr_flags & IFF_BROADCAST) { in pcap_findalldevs_interfaces() 272 if (ifrflags.lifr_flags & IFF_POINTOPOINT) { in pcap_findalldevs_interfaces() 330 ifrflags.lifr_flags, get_flags_func, in pcap_findalldevs_interfaces()
|
D | fad-gifc.c | 147 struct ifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; in pcap_findalldevs_interfaces() local 262 strncpy(ifrflags.ifr_name, ifrp->ifr_name, in pcap_findalldevs_interfaces() 263 sizeof(ifrflags.ifr_name)); in pcap_findalldevs_interfaces() 264 if (ioctl(fd, SIOCGIFFLAGS, (char *)&ifrflags) < 0) { in pcap_findalldevs_interfaces() 269 (int)sizeof(ifrflags.ifr_name), in pcap_findalldevs_interfaces() 270 ifrflags.ifr_name); in pcap_findalldevs_interfaces() 307 if (ifrflags.ifr_flags & IFF_BROADCAST) { in pcap_findalldevs_interfaces() 346 if (ifrflags.ifr_flags & IFF_POINTOPOINT) { in pcap_findalldevs_interfaces() 413 ifrflags.ifr_flags, get_flags_func, in pcap_findalldevs_interfaces()
|