Searched refs:ifrdstaddr (Results 1 – 2 of 2) sorted by relevance
/external/libpcap/ |
D | fad-glifc.c | 95 struct lifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; in pcap_findalldevs() local 295 strncpy(ifrdstaddr.lifr_name, ifrp->lifr_name, in pcap_findalldevs() 296 sizeof(ifrdstaddr.lifr_name)); in pcap_findalldevs() 297 memcpy(&ifrdstaddr.lifr_addr, &ifrp->lifr_addr, in pcap_findalldevs() 298 sizeof(ifrdstaddr.lifr_addr)); in pcap_findalldevs() 300 (char *)&ifrdstaddr) < 0) { in pcap_findalldevs() 309 (int)sizeof(ifrdstaddr.lifr_name), in pcap_findalldevs() 310 ifrdstaddr.lifr_name, in pcap_findalldevs() 316 dstaddr = (struct sockaddr *)&ifrdstaddr.lifr_dstaddr; in pcap_findalldevs()
|
D | fad-gifc.c | 282 struct ifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; in pcap_findalldevs() local 466 strncpy(ifrdstaddr.ifr_name, ifrp->ifr_name, in pcap_findalldevs() 467 sizeof(ifrdstaddr.ifr_name)); in pcap_findalldevs() 468 memcpy(&ifrdstaddr.ifr_addr, &ifrp->ifr_addr, in pcap_findalldevs() 469 sizeof(ifrdstaddr.ifr_addr)); in pcap_findalldevs() 471 (char *)&ifrdstaddr) < 0) { in pcap_findalldevs() 481 (int)sizeof(ifrdstaddr.ifr_name), in pcap_findalldevs() 482 ifrdstaddr.ifr_name, in pcap_findalldevs() 488 dstaddr = &ifrdstaddr.ifr_dstaddr; in pcap_findalldevs()
|