Home
last modified time | relevance | path

Searched refs:ifrbroadaddr (Results 1 – 2 of 2) sorted by relevance

/external/libpcap/
Dfad-gifc.c147 struct ifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; in pcap_findalldevs_interfaces() local
289 strncpy(ifrbroadaddr.ifr_name, ifrp->ifr_name, in pcap_findalldevs_interfaces()
290 sizeof(ifrbroadaddr.ifr_name)); in pcap_findalldevs_interfaces()
291 memcpy(&ifrbroadaddr.ifr_addr, &ifrp->ifr_addr, in pcap_findalldevs_interfaces()
292 sizeof(ifrbroadaddr.ifr_addr)); in pcap_findalldevs_interfaces()
294 (char *)&ifrbroadaddr) < 0) { in pcap_findalldevs_interfaces()
304 (int)sizeof(ifrbroadaddr.ifr_name), in pcap_findalldevs_interfaces()
305 ifrbroadaddr.ifr_name, in pcap_findalldevs_interfaces()
311 broadaddr = &ifrbroadaddr.ifr_broadaddr; in pcap_findalldevs_interfaces()
Dfad-glifc.c90 struct lifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; in pcap_findalldevs_interfaces() local
252 strncpy(ifrbroadaddr.lifr_name, ifrp->lifr_name, in pcap_findalldevs_interfaces()
253 sizeof(ifrbroadaddr.lifr_name)); in pcap_findalldevs_interfaces()
254 memcpy(&ifrbroadaddr.lifr_addr, &ifrp->lifr_addr, in pcap_findalldevs_interfaces()
255 sizeof(ifrbroadaddr.lifr_addr)); in pcap_findalldevs_interfaces()
257 (char *)&ifrbroadaddr) < 0) { in pcap_findalldevs_interfaces()
266 (int)sizeof(ifrbroadaddr.lifr_name), in pcap_findalldevs_interfaces()
267 ifrbroadaddr.lifr_name, in pcap_findalldevs_interfaces()
273 broadaddr = (struct sockaddr *)&ifrbroadaddr.lifr_broadaddr; in pcap_findalldevs_interfaces()