Lines Matching refs:sendbuf

166 static int pcap_pack_bpffilter(pcap_t *fp, char *sendbuf, int *sendbufidx, struct bpf_program *prog…
1086 char sendbuf[RPCAP_NETBUF_SIZE]; /* temporary buffer in which data to be sent is buffered */ in pcap_startcapture_remote() local
1236 rpcap_createhdr((struct rpcap_header *) sendbuf, in pcap_startcapture_remote()
1241 startcapreq = (struct rpcap_startcapreq *) &sendbuf[sendbufidx]; in pcap_startcapture_remote()
1272 if (pcap_pack_bpffilter(fp, &sendbuf[sendbufidx], &sendbufidx, &fp->fcode)) in pcap_startcapture_remote()
1275 if (sock_send(pr->rmt_sockctrl, pr->ctrl_ssl, sendbuf, sendbufidx, fp->errbuf, in pcap_startcapture_remote()
1559 static int pcap_pack_bpffilter(pcap_t *fp, char *sendbuf, int *sendbufidx, struct bpf_program *prog) in pcap_pack_bpffilter() argument
1575 filter = (struct rpcap_filter *) sendbuf; in pcap_pack_bpffilter()
1633 char sendbuf[RPCAP_NETBUF_SIZE]; /* temporary buffer in which data to be sent is buffered */ in pcap_updatefilter_remote() local
1641 rpcap_createhdr((struct rpcap_header *) sendbuf, in pcap_updatefilter_remote()
1645 if (pcap_pack_bpffilter(fp, &sendbuf[sendbufidx], &sendbufidx, prog)) in pcap_updatefilter_remote()
1648 if (sock_send(pr->rmt_sockctrl, pr->ctrl_ssl, sendbuf, sendbufidx, fp->errbuf, in pcap_updatefilter_remote()
1869 char sendbuf[RPCAP_NETBUF_SIZE];/* temporary buffer in which data to be sent is buffered */ in pcap_setsampling_remote() local
1898 rpcap_createhdr((struct rpcap_header *) sendbuf, in pcap_setsampling_remote()
1903 sampling_pars = (struct rpcap_sampling *) &sendbuf[sendbufidx]; in pcap_setsampling_remote()
1914 if (sock_send(pr->rmt_sockctrl, pr->ctrl_ssl, sendbuf, sendbufidx, fp->errbuf, in pcap_setsampling_remote()
1977 …char sendbuf[RPCAP_NETBUF_SIZE]; /* temporary buffer in which data that has to be sent is buffered… in rpcap_doauth() local
2039 rpcap_createhdr((struct rpcap_header *) sendbuf, 0, in rpcap_doauth()
2042 rpauth = (struct rpcap_auth *) &sendbuf[sendbufidx]; in rpcap_doauth()
2059 if (sock_bufferize(auth->username, rpauth->slen1, sendbuf, in rpcap_doauth()
2068 if (sock_bufferize(auth->password, rpauth->slen2, sendbuf, in rpcap_doauth()
2076 if (sock_send(sockctrl, ssl, sendbuf, sendbufidx, errbuf, in rpcap_doauth()
2454 char sendbuf[RPCAP_NETBUF_SIZE]; /* temporary buffer in which data to be sent is buffered */ in pcap_open_rpcap() local
2516 rpcap_createhdr((struct rpcap_header *) sendbuf, protocol_version, in pcap_open_rpcap()
2519 if (sock_bufferize(iface, (int) strlen(iface), sendbuf, &sendbufidx, in pcap_open_rpcap()
2523 if (sock_send(sockctrl, ssl, sendbuf, sendbufidx, errbuf, in pcap_open_rpcap()