Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-rpcap.c2454 struct rpcap_findalldevs_if findalldevs_if; in pcap_findalldevs_ex_remote() local
2462 if (rpcap_recv(sockctrl, (char *)&findalldevs_if, in pcap_findalldevs_ex_remote()
2466 findalldevs_if.namelen = ntohs(findalldevs_if.namelen); in pcap_findalldevs_ex_remote()
2467 findalldevs_if.desclen = ntohs(findalldevs_if.desclen); in pcap_findalldevs_ex_remote()
2468 findalldevs_if.naddr = ntohs(findalldevs_if.naddr); in pcap_findalldevs_ex_remote()
2501 if (findalldevs_if.namelen) in pcap_findalldevs_ex_remote()
2504 if (findalldevs_if.namelen >= sizeof(tmpstring)) in pcap_findalldevs_ex_remote()
2512 findalldevs_if.namelen, &plen, errbuf) == -1) in pcap_findalldevs_ex_remote()
2515 tmpstring[findalldevs_if.namelen] = 0; in pcap_findalldevs_ex_remote()
2535 if (findalldevs_if.desclen) in pcap_findalldevs_ex_remote()
[all …]
/external/libpcap/rpcapd/
Ddaemon.c1260 …struct rpcap_findalldevs_if *findalldevs_if;// rpcap structure that packet all the data of an inte… in daemon_msg_findallif_req() local
1334 findalldevs_if = (struct rpcap_findalldevs_if *) &sendbuf[sendbufidx]; in daemon_msg_findallif_req()
1340 memset(findalldevs_if, 0, sizeof(struct rpcap_findalldevs_if)); in daemon_msg_findallif_req()
1347 findalldevs_if->desclen = htons(ldescr); in daemon_msg_findallif_req()
1348 findalldevs_if->namelen = htons(lname); in daemon_msg_findallif_req()
1349 findalldevs_if->flags = htonl(d->flags); in daemon_msg_findallif_req()
1362 findalldevs_if->naddr++; in daemon_msg_findallif_req()
1369 findalldevs_if->naddr = htons(findalldevs_if->naddr); in daemon_msg_findallif_req()