| /src/external/bsd/libpcap/dist/ |
| rpcap-protocol.c | 85 int sendbufidx = 0; /* index which keeps the number of bytes currently buffered */ local 95 if (sock_bufferize(NULL, sizeof(struct rpcap_header), NULL, &sendbufidx, 99 if (sock_bufferize(error, length, sendbuf, &sendbufidx, 103 if (sock_send(sock, ssl, sendbuf, sendbufidx, errbuf, PCAP_ERRBUF_SIZE) < 0)
|
| pcap-rpcap.c | 166 static int pcap_pack_bpffilter(pcap_t *fp, char *sendbuf, int *sendbufidx, struct bpf_program *prog); 1087 int sendbufidx = 0; /* index which keeps the number of bytes currently buffered */ local 1233 &sendbufidx, RPCAP_NETBUF_SIZE, SOCKBUF_CHECKONLY, fp->errbuf, PCAP_ERRBUF_SIZE)) 1241 startcapreq = (struct rpcap_startcapreq *) &sendbuf[sendbufidx]; 1244 &sendbufidx, RPCAP_NETBUF_SIZE, SOCKBUF_CHECKONLY, fp->errbuf, PCAP_ERRBUF_SIZE)) 1272 if (pcap_pack_bpffilter(fp, &sendbuf[sendbufidx], &sendbufidx, &fp->fcode)) 1275 if (sock_send(pr->rmt_sockctrl, pr->ctrl_ssl, sendbuf, sendbufidx, fp->errbuf, 1552 * \param sendbufidx: it is used to return the amount of bytes copied into the buffer. 1559 static int pcap_pack_bpffilter(pcap_t *fp, char *sendbuf, int *sendbufidx, struct bpf_program *prog 1634 int sendbufidx = 0; \/* index which keeps the number of bytes currently buffered *\/ local 1870 int sendbufidx = 0; \/* index which keeps the number of bytes currently buffered *\/ local 1978 int sendbufidx = 0; \/* index which keeps the number of bytes currently buffered *\/ local 2455 int sendbufidx = 0; \/* index which keeps the number of bytes currently buffered *\/ local [all...] |
| /src/external/bsd/libpcap/dist/rpcapd/ |
| daemon.c | 1225 int sendbufidx = 0; // index which keeps the number of bytes currently buffered local 1358 if (sock_bufferize(NULL, sizeof(struct rpcap_header), NULL, &sendbufidx, 1365 authreply = (struct rpcap_authreply *) &sendbuf[sendbufidx]; 1367 if (sock_bufferize(NULL, sizeof(struct rpcap_authreply), NULL, &sendbufidx, 1384 if (sock_send(pars->sockctrl, pars->ssl, sendbuf, sendbufidx, errbuf, PCAP_ERRBUF_SIZE) == -1) 1607 int sendbufidx = 0; // index which keeps the number of bytes currently buffered local 1699 &sendbufidx, RPCAP_NETBUF_SIZE, SOCKBUF_CHECKONLY, errmsgbuf, 1763 &sendbufidx, RPCAP_NETBUF_SIZE, SOCKBUF_BUFFERIZE, errmsgbuf, 1767 if (sock_bufferize(d->name, lname, sendbuf, &sendbufidx, 1772 if (sock_bufferize(d->description, ldescr, sendbuf, &sendbufidx, 1860 int sendbufidx = 0; \/\/ index which keeps the number of bytes currently buffered local 1965 int sendbufidx = 0; \/\/ index which keeps the number of bytes currently buffered local 2539 int sendbufidx = 0; \/\/ index which keeps the number of bytes currently buffered local 2616 int sendbufidx; \/\/ index which keeps the number of bytes currently buffered local [all...] |