Home
last modified time | relevance | path

Searched refs:broadaddr (Results 1 – 10 of 10) sorted by relevance

/external/libpcap/
Dfad-getad.c156 struct sockaddr *addr, *netmask, *broadaddr, *dstaddr; in pcap_findalldevs_interfaces() local
222 broadaddr = ifa->ifa_broadaddr; in pcap_findalldevs_interfaces()
223 broadaddr_size = SA_LEN(broadaddr); in pcap_findalldevs_interfaces()
225 broadaddr = NULL; in pcap_findalldevs_interfaces()
271 broadaddr, broadaddr_size, dstaddr, dstaddr_size, in pcap_findalldevs_interfaces()
Dfad-win32.c55 struct sockaddr *netmask, struct sockaddr *broadaddr, in add_addr_to_list() argument
93 if (broadaddr != NULL) { in add_addr_to_list()
94 curaddr->broadaddr = (struct sockaddr*)dup_sockaddr(broadaddr, sizeof(struct sockaddr_storage)); in add_addr_to_list()
95 if (curaddr->broadaddr == NULL) { in add_addr_to_list()
102 curaddr->broadaddr = NULL; in add_addr_to_list()
Dfad-gifc.c153 struct sockaddr *netmask, *broadaddr, *dstaddr; in pcap_findalldevs_interfaces() local
307 broadaddr = NULL; in pcap_findalldevs_interfaces()
319 broadaddr = &ifrbroadaddr.ifr_broadaddr; in pcap_findalldevs_interfaces()
320 broadaddr_size = SA_LEN(broadaddr); in pcap_findalldevs_interfaces()
327 broadaddr = NULL; in pcap_findalldevs_interfaces()
404 broadaddr, broadaddr_size, dstaddr, dstaddr_size, in pcap_findalldevs_interfaces()
Dfad-glifc.c96 struct sockaddr *netmask, *broadaddr, *dstaddr; in pcap_findalldevs_interfaces() local
270 broadaddr = NULL; in pcap_findalldevs_interfaces()
281 broadaddr = (struct sockaddr *)&ifrbroadaddr.lifr_broadaddr; in pcap_findalldevs_interfaces()
287 broadaddr = NULL; in pcap_findalldevs_interfaces()
355 broadaddr, sizeof (struct sockaddr_storage), in pcap_findalldevs_interfaces()
Dinet.c410 struct sockaddr *broadaddr, size_t broadaddr_size, in add_addr_to_iflist() argument
545 if (broadaddr != NULL) { in add_addr_to_iflist()
546 curaddr->broadaddr = dup_sockaddr(broadaddr, broadaddr_size); in add_addr_to_iflist()
547 if (curaddr->broadaddr == NULL) { in add_addr_to_iflist()
558 curaddr->broadaddr = NULL; in add_addr_to_iflist()
565 if (curaddr->broadaddr != NULL) in add_addr_to_iflist()
566 free(curaddr->broadaddr); in add_addr_to_iflist()
638 if (curaddr->broadaddr) in pcap_freealldevs()
639 free(curaddr->broadaddr); in pcap_freealldevs()
Dpcap-sita.c107 …printf("%15s ", (addr->broadaddr) ? inet_ntoa(((struct sockaddr_in *)addr->broadaddr)->sin_addr) … in dump_interface_list()
136 …printf(" %p %p %p %p, next: %p\n", addr->addr, addr->netmask, addr->broadaddr, addr->dsta… in dump_interface_list_p()
395 if (addr->broadaddr) free(addr->broadaddr);
662 addr->broadaddr = (struct sockaddr *)s;
Dpcap1.h212 struct sockaddr *broadaddr; /* broadcast address for that address */ member
Dpcap-dos.c537 struct sockaddr *addr, *netmask, *broadaddr, *dstaddr; in pcap_findalldevs() local
561 broadaddr = (struct sockaddr*) &sa_ll_2; in pcap_findalldevs()
571 netmask, addr_size, broadaddr, addr_size, in pcap_findalldevs()
/external/libpcap/tests/
Dfindalldevstest.c79 if (a->broadaddr) in ifprint()
81 inet_ntoa(((struct sockaddr_in *)(a->broadaddr))->sin_addr)); in ifprint()
99 if (a->broadaddr) in ifprint()
102 ((struct sockaddr_in6 *)(a->broadaddr))->sin6_addr.s6_addr, in ifprint()
/external/libpcap/pcap/
Dpcap.h233 struct sockaddr *broadaddr; /* broadcast address for that address */ member