Home
last modified time | relevance | path

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

/freebsd/contrib/libpcap/
H A Dpcap-rpcap.c2669 struct rpcap_findalldevs_if findalldevs_if; in pcap_findalldevs_ex_remote() local
2676 if (rpcap_recv(sockctrl, ssl, (char *)&findalldevs_if, in pcap_findalldevs_ex_remote()
2680 findalldevs_if.namelen = ntohs(findalldevs_if.namelen); in pcap_findalldevs_ex_remote()
2681 findalldevs_if.desclen = ntohs(findalldevs_if.desclen); in pcap_findalldevs_ex_remote()
2682 findalldevs_if.naddr = ntohs(findalldevs_if.naddr); in pcap_findalldevs_ex_remote()
2715 if (findalldevs_if.namelen) in pcap_findalldevs_ex_remote()
2718 if (findalldevs_if.namelen >= sizeof(tmpstring)) in pcap_findalldevs_ex_remote()
2726 findalldevs_if.namelen, &plen, errbuf) == -1) in pcap_findalldevs_ex_remote()
2729 tmpstring[findalldevs_if.namelen] = 0; in pcap_findalldevs_ex_remote()
2745 if (findalldevs_if.desclen) in pcap_findalldevs_ex_remote()
[all …]
/freebsd/contrib/libpcap/rpcapd/
H A Ddaemon.c1721 struct rpcap_findalldevs_if findalldevs_if; in daemon_msg_findallif_req() local
1736 findalldevs_if.desclen = htons(ldescr); in daemon_msg_findallif_req()
1737 findalldevs_if.namelen = htons(lname); in daemon_msg_findallif_req()
1738 findalldevs_if.flags = htonl(d->flags); in daemon_msg_findallif_req()
1759 findalldevs_if.naddr = htons(naddrs); in daemon_msg_findallif_req()
1760 findalldevs_if.dummy = 0; in daemon_msg_findallif_req()
1762 if (sock_bufferize(&findalldevs_if, sizeof(struct rpcap_findalldevs_if), sendbuf, in daemon_msg_findallif_req()