Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-rpcap.c2531 struct rpcap_findalldevs_if findalldevs_if; in pcap_findalldevs_ex_remote() local
2538 if (rpcap_recv(sockctrl, ssl, (char *)&findalldevs_if, in pcap_findalldevs_ex_remote()
2542 findalldevs_if.namelen = ntohs(findalldevs_if.namelen); in pcap_findalldevs_ex_remote()
2543 findalldevs_if.desclen = ntohs(findalldevs_if.desclen); in pcap_findalldevs_ex_remote()
2544 findalldevs_if.naddr = ntohs(findalldevs_if.naddr); in pcap_findalldevs_ex_remote()
2577 if (findalldevs_if.namelen) in pcap_findalldevs_ex_remote()
2580 if (findalldevs_if.namelen >= sizeof(tmpstring)) in pcap_findalldevs_ex_remote()
2588 findalldevs_if.namelen, &plen, errbuf) == -1) in pcap_findalldevs_ex_remote()
2591 tmpstring[findalldevs_if.namelen] = 0; in pcap_findalldevs_ex_remote()
2607 if (findalldevs_if.desclen) in pcap_findalldevs_ex_remote()
[all …]
/external/libpcap/rpcapd/
Ddaemon.c1605 …struct rpcap_findalldevs_if *findalldevs_if;// rpcap structure that packet all the data of an inte… in daemon_msg_findallif_req() local
1706 findalldevs_if = (struct rpcap_findalldevs_if *) &sendbuf[sendbufidx]; in daemon_msg_findallif_req()
1712 memset(findalldevs_if, 0, sizeof(struct rpcap_findalldevs_if)); in daemon_msg_findallif_req()
1727 findalldevs_if->desclen = htons(ldescr); in daemon_msg_findallif_req()
1728 findalldevs_if->namelen = htons(lname); in daemon_msg_findallif_req()
1729 findalldevs_if->flags = htonl(d->flags); in daemon_msg_findallif_req()
1742 findalldevs_if->naddr++; in daemon_msg_findallif_req()
1749 findalldevs_if->naddr = htons(findalldevs_if->naddr); in daemon_msg_findallif_req()