Searched refs:ifrbroadaddr (Results 1 – 2 of 2) sorted by relevance
/external/libpcap/ |
D | fad-gifc.c | 152 struct ifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; in pcap_findalldevs_interfaces() local 297 strncpy(ifrbroadaddr.ifr_name, ifrp->ifr_name, in pcap_findalldevs_interfaces() 298 sizeof(ifrbroadaddr.ifr_name)); in pcap_findalldevs_interfaces() 299 memcpy(&ifrbroadaddr.ifr_addr, &ifrp->ifr_addr, in pcap_findalldevs_interfaces() 300 sizeof(ifrbroadaddr.ifr_addr)); in pcap_findalldevs_interfaces() 302 (char *)&ifrbroadaddr) < 0) { in pcap_findalldevs_interfaces() 312 (int)sizeof(ifrbroadaddr.ifr_name), in pcap_findalldevs_interfaces() 313 ifrbroadaddr.ifr_name, in pcap_findalldevs_interfaces() 319 broadaddr = &ifrbroadaddr.ifr_broadaddr; in pcap_findalldevs_interfaces()
|
D | fad-glifc.c | 95 struct lifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; in pcap_findalldevs_interfaces() local 260 strncpy(ifrbroadaddr.lifr_name, ifrp->lifr_name, in pcap_findalldevs_interfaces() 261 sizeof(ifrbroadaddr.lifr_name)); in pcap_findalldevs_interfaces() 262 memcpy(&ifrbroadaddr.lifr_addr, &ifrp->lifr_addr, in pcap_findalldevs_interfaces() 263 sizeof(ifrbroadaddr.lifr_addr)); in pcap_findalldevs_interfaces() 265 (char *)&ifrbroadaddr) < 0) { in pcap_findalldevs_interfaces() 274 (int)sizeof(ifrbroadaddr.lifr_name), in pcap_findalldevs_interfaces() 275 ifrbroadaddr.lifr_name, in pcap_findalldevs_interfaces() 281 broadaddr = (struct sockaddr *)&ifrbroadaddr.lifr_broadaddr; in pcap_findalldevs_interfaces()
|