Home | History | Annotate | Download | only in libpcap

Lines Matching refs:ifrflags

149 	struct ifreq ifrflags;
211 strncpy(ifrflags.ifr_name, name, sizeof(ifrflags.ifr_name));
212 if (ioctl(fd, SIOCGIFFLAGS, (char *)&ifrflags) < 0) {
217 (int)sizeof(ifrflags.ifr_name),
218 ifrflags.ifr_name,
223 if (!(ifrflags.ifr_flags & IFF_UP))
229 if (pcap_add_if(devlistp, name, ifrflags.ifr_flags, NULL,
282 struct ifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr;
378 strncpy(ifrflags.ifr_name, ifrp->ifr_name,
379 sizeof(ifrflags.ifr_name));
380 if (ioctl(fd, SIOCGIFFLAGS, (char *)&ifrflags) < 0) {
385 (int)sizeof(ifrflags.ifr_name),
386 ifrflags.ifr_name,
391 if (!(ifrflags.ifr_flags & IFF_UP))
426 if (ifrflags.ifr_flags & IFF_BROADCAST) {
465 if (ifrflags.ifr_flags & IFF_POINTOPOINT) {
532 ifrflags.ifr_flags, &ifrp->ifr_addr,