Lines Matching refs:ifr_name

207 		    (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN)  in pcap_findalldevs_interfaces()
227 n = SA_LEN(&ifrp->ifr_addr) + sizeof(ifrp->ifr_name); in pcap_findalldevs_interfaces()
244 if (!(*ifrp->ifr_name)) in pcap_findalldevs_interfaces()
252 if (strncmp(ifrp->ifr_name, "dummy", 5) == 0) in pcap_findalldevs_interfaces()
258 if (!(*check_usable)(ifrp->ifr_name)) { in pcap_findalldevs_interfaces()
268 strncpy(ifrflags.ifr_name, ifrp->ifr_name, in pcap_findalldevs_interfaces()
269 sizeof(ifrflags.ifr_name)); in pcap_findalldevs_interfaces()
275 (int)sizeof(ifrflags.ifr_name), in pcap_findalldevs_interfaces()
276 ifrflags.ifr_name); in pcap_findalldevs_interfaces()
284 strncpy(ifrnetmask.ifr_name, ifrp->ifr_name, in pcap_findalldevs_interfaces()
285 sizeof(ifrnetmask.ifr_name)); in pcap_findalldevs_interfaces()
299 (int)sizeof(ifrnetmask.ifr_name), in pcap_findalldevs_interfaces()
300 ifrnetmask.ifr_name); in pcap_findalldevs_interfaces()
314 strncpy(ifrbroadaddr.ifr_name, ifrp->ifr_name, in pcap_findalldevs_interfaces()
315 sizeof(ifrbroadaddr.ifr_name)); in pcap_findalldevs_interfaces()
330 (int)sizeof(ifrbroadaddr.ifr_name), in pcap_findalldevs_interfaces()
331 ifrbroadaddr.ifr_name); in pcap_findalldevs_interfaces()
353 strncpy(ifrdstaddr.ifr_name, ifrp->ifr_name, in pcap_findalldevs_interfaces()
354 sizeof(ifrdstaddr.ifr_name)); in pcap_findalldevs_interfaces()
369 (int)sizeof(ifrdstaddr.ifr_name), in pcap_findalldevs_interfaces()
370 ifrdstaddr.ifr_name); in pcap_findalldevs_interfaces()
396 p = strchr(ifrp->ifr_name, ':'); in pcap_findalldevs_interfaces()
418 if (add_addr_to_if(devlistp, ifrp->ifr_name, in pcap_findalldevs_interfaces()