Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/libpcap/
H A Drpcap-protocol.c84 int sendbufidx = 0; /* index which keeps the number of bytes currently buffered */ in rpcap_senderror() local
94 if (sock_bufferize(NULL, sizeof(struct rpcap_header), NULL, &sendbufidx, in rpcap_senderror()
98 if (sock_bufferize(error, length, sendbuf, &sendbufidx, in rpcap_senderror()
102 if (sock_send(sock, sendbuf, sendbufidx, errbuf, PCAP_ERRBUF_SIZE) < 0) in rpcap_senderror()
H A Dpcap-rpcap.c1144 startcapreq = (struct rpcap_startcapreq *) &sendbuf[sendbufidx]; in pcap_startcapture_remote()
1176 if (pcap_pack_bpffilter(fp, &sendbuf[sendbufidx], &sendbufidx, &fp->fcode)) in pcap_startcapture_remote()
1179 if (sock_send(pr->rmt_sockctrl, sendbuf, sendbufidx, fp->errbuf, in pcap_startcapture_remote()
1445 if (sock_bufferize(NULL, sizeof(struct rpcap_filter), NULL, sendbufidx, in pcap_pack_bpffilter()
1513 if (pcap_pack_bpffilter(fp, &sendbuf[sendbufidx], &sendbufidx, prog)) in pcap_updatefilter_remote()
1516 if (sock_send(pr->rmt_sockctrl, sendbuf, sendbufidx, fp->errbuf, in pcap_updatefilter_remote()
1750 sampling_pars = (struct rpcap_sampling *) &sendbuf[sendbufidx]; in pcap_setsampling_remote()
1761 if (sock_send(pr->rmt_sockctrl, sendbuf, sendbufidx, fp->errbuf, in pcap_setsampling_remote()
1953 rpauth = (struct rpcap_auth *) &sendbuf[sendbufidx]; in rpcap_sendauth()
2259 if (sock_bufferize(iface, (int) strlen(iface), sendbuf, &sendbufidx, in pcap_open_rpcap()
[all …]