Home
last modified time | relevance | path

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

/external/libpcap/
Dfad-getad.c151 struct sockaddr *addr, *netmask, *broadaddr, *dstaddr; in pcap_findalldevs_interfaces() local
249 broadaddr = ifa->ifa_broadaddr; in pcap_findalldevs_interfaces()
250 broadaddr_size = SA_LEN(broadaddr); in pcap_findalldevs_interfaces()
252 broadaddr = NULL; in pcap_findalldevs_interfaces()
270 broadaddr, broadaddr_size, dstaddr, dstaddr_size, in pcap_findalldevs_interfaces()
Dfad-gifc.c154 struct sockaddr *netmask, *broadaddr, *dstaddr; in pcap_findalldevs_interfaces() local
324 broadaddr = NULL; in pcap_findalldevs_interfaces()
336 broadaddr = &ifrbroadaddr.ifr_broadaddr; in pcap_findalldevs_interfaces()
337 broadaddr_size = SA_LEN(broadaddr); in pcap_findalldevs_interfaces()
344 broadaddr = NULL; in pcap_findalldevs_interfaces()
421 netmask, netmask_size, broadaddr, broadaddr_size, in pcap_findalldevs_interfaces()
Dfad-glifc.c91 struct sockaddr *netmask, *broadaddr, *dstaddr; in pcap_findalldevs_interfaces() local
249 broadaddr = NULL; in pcap_findalldevs_interfaces()
260 broadaddr = (struct sockaddr *)&ifrbroadaddr.lifr_broadaddr; in pcap_findalldevs_interfaces()
266 broadaddr = NULL; in pcap_findalldevs_interfaces()
335 broadaddr, sizeof (struct sockaddr_storage), in pcap_findalldevs_interfaces()
Dpcap-sita.c105 …printf("%15s ", (addr->broadaddr) ? inet_ntoa(((struct sockaddr_in *)addr->broadaddr)->sin_addr) … in dump_interface_list()
134 …printf(" %p %p %p %p, next: %p\n", addr->addr, addr->netmask, addr->broadaddr, addr->dsta… in dump_interface_list_p()
398 if (addr->broadaddr) free(addr->broadaddr); in acn_freealldevs()
679 addr->broadaddr = (struct sockaddr *)s; in process_client_data()
Dpcap.c842 struct sockaddr *broadaddr, size_t broadaddr_size,
874 netmask_size, broadaddr, broadaddr_size, dstaddr,
887 struct sockaddr *broadaddr, size_t broadaddr_size,
928 if (broadaddr != NULL && broadaddr_size != 0) {
929 curaddr->broadaddr = (struct sockaddr *)dup_sockaddr(broadaddr, broadaddr_size);
930 if (curaddr->broadaddr == NULL) {
941 curaddr->broadaddr = NULL;
948 if (curaddr->broadaddr != NULL)
949 free(curaddr->broadaddr);
1214 if (curaddr->broadaddr)
[all …]
Dpcap-dos.c564 struct sockaddr *addr, *netmask, *broadaddr, *dstaddr; in pcap_platform_finddevs()
602 broadaddr = (struct sockaddr*) &sa_ll_2; in pcap_platform_finddevs()
607 broadaddr, sizeof(*broadaddr), in pcap_platform_finddevs()
Drpcap-protocol.h290 struct rpcap_sockaddr broadaddr; /* Broadcast address for that address */ member
Dpcap-rpcap.c2338 free(addr->broadaddr); in freeaddr()
2595 addr->broadaddr = NULL; in pcap_findalldevs_ex_remote()
2610 if (rpcap_deseraddr(&ifaddr.broadaddr, in pcap_findalldevs_ex_remote()
2611 (struct sockaddr_storage **) &addr->broadaddr, errbuf) == -1) in pcap_findalldevs_ex_remote()
2624 (addr->broadaddr == NULL) && (addr->dstaddr == NULL)) in pcap_findalldevs_ex_remote()
/external/libpcap/testprogs/
Dfindalldevstest.c249 if (a->broadaddr) in ifprint()
252 &((struct sockaddr_in *)(a->broadaddr))->sin_addr, in ifprint()
273 if (a->broadaddr) in ifprint()
276 ((struct sockaddr_in6 *)(a->broadaddr))->sin6_addr.s6_addr, in ifprint()
/external/libpcap/pcap/
Dpcap.h280 struct sockaddr *broadaddr; /* broadcast address for that address */ member
/external/libpcap/rpcapd/
Ddaemon.c1411 daemon_seraddr((struct sockaddr_storage *) address->broadaddr, sockaddr); in daemon_msg_findallif_req()