Lines Matching refs:ifrp
83 register struct lifreq *ifrp, *ifend; in pcap_findalldevs_interfaces() local
164 ifrp = (struct lifreq *)buf; in pcap_findalldevs_interfaces()
167 for (; ifrp < ifend; ifrp++) { in pcap_findalldevs_interfaces()
173 if (strncmp(ifrp->lifr_name, "dummy", 5) == 0) in pcap_findalldevs_interfaces()
179 if (!(*check_usable)(ifrp->lifr_name)) { in pcap_findalldevs_interfaces()
189 if (((struct sockaddr *)&ifrp->lifr_addr)->sa_family == AF_INET6) in pcap_findalldevs_interfaces()
197 strncpy(ifrflags.lifr_name, ifrp->lifr_name, in pcap_findalldevs_interfaces()
214 strncpy(ifrnetmask.lifr_name, ifrp->lifr_name, in pcap_findalldevs_interfaces()
216 memcpy(&ifrnetmask.lifr_addr, &ifrp->lifr_addr, in pcap_findalldevs_interfaces()
241 strncpy(ifrbroadaddr.lifr_name, ifrp->lifr_name, in pcap_findalldevs_interfaces()
243 memcpy(&ifrbroadaddr.lifr_addr, &ifrp->lifr_addr, in pcap_findalldevs_interfaces()
276 strncpy(ifrdstaddr.lifr_name, ifrp->lifr_name, in pcap_findalldevs_interfaces()
278 memcpy(&ifrdstaddr.lifr_addr, &ifrp->lifr_addr, in pcap_findalldevs_interfaces()
310 p = strchr(ifrp->lifr_name, ':'); in pcap_findalldevs_interfaces()
332 if (add_addr_to_iflist(&devlist, ifrp->lifr_name, in pcap_findalldevs_interfaces()
333 if_flags_to_pcap_flags(ifrp->lifr_name, ifrflags.lifr_flags), in pcap_findalldevs_interfaces()
334 (struct sockaddr *)&ifrp->lifr_addr, in pcap_findalldevs_interfaces()