Searched refs:sendbufidx (Results 1 – 3 of 3) sorted by relevance
| /freebsd-13.1/contrib/libpcap/rpcapd/ |
| H A D | daemon.c | 1111 authreply = (struct rpcap_authreply *) &sendbuf[sendbufidx]; in daemon_msg_auth_req() 1450 if (sock_bufferize(d->name, lname, sendbuf, &sendbufidx, in daemon_msg_findallif_req() 1474 sockaddr = (struct rpcap_sockaddr *) &sendbuf[sendbufidx]; in daemon_msg_findallif_req() 1480 sockaddr = (struct rpcap_sockaddr *) &sendbuf[sendbufidx]; in daemon_msg_findallif_req() 1486 sockaddr = (struct rpcap_sockaddr *) &sendbuf[sendbufidx]; in daemon_msg_findallif_req() 1587 openreply = (struct rpcap_openreply *) &sendbuf[sendbufidx]; in daemon_msg_open_req() 2192 netstats = (struct rpcap_stats *) &sendbuf[sendbufidx]; in daemon_msg_stats_req() 2334 sendbufidx = 0; in daemon_thrdatamain() 2338 &sendbufidx, sendbufsize, SOCKBUF_CHECKONLY, errbuf, in daemon_thrdatamain() 2355 &sendbufidx, sendbufsize, SOCKBUF_CHECKONLY, errbuf, in daemon_thrdatamain() [all …]
|
| /freebsd-13.1/contrib/libpcap/ |
| H A D | rpcap-protocol.c | 84 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 D | pcap-rpcap.c | 1146 startcapreq = (struct rpcap_startcapreq *) &sendbuf[sendbufidx]; in pcap_startcapture_remote() 1178 if (pcap_pack_bpffilter(fp, &sendbuf[sendbufidx], &sendbufidx, &fp->fcode)) in pcap_startcapture_remote() 1181 if (sock_send(pr->rmt_sockctrl, sendbuf, sendbufidx, fp->errbuf, in pcap_startcapture_remote() 1515 if (pcap_pack_bpffilter(fp, &sendbuf[sendbufidx], &sendbufidx, prog)) in pcap_updatefilter_remote() 1518 if (sock_send(pr->rmt_sockctrl, sendbuf, sendbufidx, fp->errbuf, in pcap_updatefilter_remote() 1767 sampling_pars = (struct rpcap_sampling *) &sendbuf[sendbufidx]; in pcap_setsampling_remote() 1778 if (sock_send(pr->rmt_sockctrl, sendbuf, sendbufidx, fp->errbuf, in pcap_setsampling_remote() 1899 rpauth = (struct rpcap_auth *) &sendbuf[sendbufidx]; in rpcap_doauth() 1933 if (sock_send(sockctrl, sendbuf, sendbufidx, errbuf, in rpcap_doauth() 2257 if (sock_bufferize(iface, (int) strlen(iface), sendbuf, &sendbufidx, in pcap_open_rpcap() [all …]
|