Searched refs:startcapreq (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/libpcap/rpcapd/ |
H A D | daemon.c | 1975 struct rpcap_startcapreq startcapreq; // start capture request message in daemon_msg_startcap_req() local 1981 status = rpcapd_recv(pars->sockctrl, pars->ssl, (char *) &startcapreq, in daemon_msg_startcap_req() 1992 startcapreq.flags = ntohs(startcapreq.flags); in daemon_msg_startcap_req() 1996 if (uses_ssl && (startcapreq.flags & RPCAP_STARTCAPREQ_FLAG_DGRAM)) in daemon_msg_startcap_req() 2032 ntohl(startcapreq.snaplen), in daemon_msg_startcap_req() 2033 …(startcapreq.flags & RPCAP_STARTCAPREQ_FLAG_PROMISC) ? 1 : 0 /* local device, other flags not need… in daemon_msg_startcap_req() 2034 ntohl(startcapreq.read_timeout), in daemon_msg_startcap_req() 2049 …serveropen_dp = (startcapreq.flags & RPCAP_STARTCAPREQ_FLAG_SERVEROPEN) || (startcapreq.flags & RP… in daemon_msg_startcap_req() 2069 hints.ai_socktype = (startcapreq.flags & RPCAP_STARTCAPREQ_FLAG_DGRAM) ? SOCK_DGRAM : SOCK_STREAM; in daemon_msg_startcap_req() 2075 snprintf(portdata, sizeof portdata, "%d", ntohs(startcapreq.portdata)); in daemon_msg_startcap_req()
|
/freebsd/contrib/libpcap/ |
H A D | pcap-rpcap.c | 1106 struct rpcap_startcapreq *startcapreq; /* start capture request message */ in pcap_startcapture_remote() local 1241 startcapreq = (struct rpcap_startcapreq *) &sendbuf[sendbufidx]; in pcap_startcapture_remote() 1247 memset(startcapreq, 0, sizeof(struct rpcap_startcapreq)); in pcap_startcapture_remote() 1251 startcapreq->read_timeout = htonl(fp->opt.timeout); in pcap_startcapture_remote() 1256 startcapreq->portdata = portdata; in pcap_startcapture_remote() 1259 startcapreq->snaplen = htonl(fp->snapshot); in pcap_startcapture_remote() 1260 startcapreq->flags = 0; in pcap_startcapture_remote() 1263 startcapreq->flags |= RPCAP_STARTCAPREQ_FLAG_PROMISC; in pcap_startcapture_remote() 1265 startcapreq->flags |= RPCAP_STARTCAPREQ_FLAG_DGRAM; in pcap_startcapture_remote() 1267 startcapreq->flags |= RPCAP_STARTCAPREQ_FLAG_SERVEROPEN; in pcap_startcapture_remote() [all …]
|