Searched refs:broadaddr (Results 1 – 10 of 10) sorted by relevance
/external/libpcap/ |
D | fad-getad.c | 156 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()
|
D | fad-win32.c | 55 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()
|
D | fad-gifc.c | 153 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()
|
D | fad-glifc.c | 96 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()
|
D | inet.c | 410 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()
|
D | pcap-sita.c | 107 …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;
|
D | pcap1.h | 212 struct sockaddr *broadaddr; /* broadcast address for that address */ member
|
D | pcap-dos.c | 537 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/ |
D | findalldevstest.c | 79 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/ |
D | pcap.h | 233 struct sockaddr *broadaddr; /* broadcast address for that address */ member
|