Home
last modified time | relevance | path

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

/external/libpcap/
Dfad-gifc.c152 struct ifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; in pcap_findalldevs_interfaces() local
336 strncpy(ifrdstaddr.ifr_name, ifrp->ifr_name, in pcap_findalldevs_interfaces()
337 sizeof(ifrdstaddr.ifr_name)); in pcap_findalldevs_interfaces()
338 memcpy(&ifrdstaddr.ifr_addr, &ifrp->ifr_addr, in pcap_findalldevs_interfaces()
339 sizeof(ifrdstaddr.ifr_addr)); in pcap_findalldevs_interfaces()
341 (char *)&ifrdstaddr) < 0) { in pcap_findalldevs_interfaces()
351 (int)sizeof(ifrdstaddr.ifr_name), in pcap_findalldevs_interfaces()
352 ifrdstaddr.ifr_name, in pcap_findalldevs_interfaces()
358 dstaddr = &ifrdstaddr.ifr_dstaddr; in pcap_findalldevs_interfaces()
Dfad-glifc.c95 struct lifreq ifrflags, ifrnetmask, ifrbroadaddr, ifrdstaddr; in pcap_findalldevs_interfaces() local
295 strncpy(ifrdstaddr.lifr_name, ifrp->lifr_name, in pcap_findalldevs_interfaces()
296 sizeof(ifrdstaddr.lifr_name)); in pcap_findalldevs_interfaces()
297 memcpy(&ifrdstaddr.lifr_addr, &ifrp->lifr_addr, in pcap_findalldevs_interfaces()
298 sizeof(ifrdstaddr.lifr_addr)); in pcap_findalldevs_interfaces()
300 (char *)&ifrdstaddr) < 0) { in pcap_findalldevs_interfaces()
309 (int)sizeof(ifrdstaddr.lifr_name), in pcap_findalldevs_interfaces()
310 ifrdstaddr.lifr_name, in pcap_findalldevs_interfaces()
316 dstaddr = (struct sockaddr *)&ifrdstaddr.lifr_dstaddr; in pcap_findalldevs_interfaces()