• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/libpcap/

Lines Matching refs:sendbuf

151 static int pcap_pack_bpffilter(pcap_t *fp, char *sendbuf, int *sendbufidx, struct bpf_program *prog);
1015 char sendbuf[RPCAP_NETBUF_SIZE]; /* temporary buffer in which data to be sent is buffered */
1141 rpcap_createhdr((struct rpcap_header *) sendbuf,
1146 startcapreq = (struct rpcap_startcapreq *) &sendbuf[sendbufidx];
1178 if (pcap_pack_bpffilter(fp, &sendbuf[sendbufidx], &sendbufidx, &fp->fcode))
1181 if (sock_send(pr->rmt_sockctrl, sendbuf, sendbufidx, fp->errbuf,
1414 * This function serializes the filter into the sending buffer ('sendbuf',
1420 * \param sendbuf: the buffer on which the serialized data has to copied.
1429 static int pcap_pack_bpffilter(pcap_t *fp, char *sendbuf, int *sendbufidx, struct bpf_program *prog)
1445 filter = (struct rpcap_filter *) sendbuf;
1503 char sendbuf[RPCAP_NETBUF_SIZE]; /* temporary buffer in which data to be sent is buffered */
1511 rpcap_createhdr((struct rpcap_header *) sendbuf,
1515 if (pcap_pack_bpffilter(fp, &sendbuf[sendbufidx], &sendbufidx, prog))
1518 if (sock_send(pr->rmt_sockctrl, sendbuf, sendbufidx, fp->errbuf,
1733 char sendbuf[RPCAP_NETBUF_SIZE];/* temporary buffer in which data to be sent is buffered */
1762 rpcap_createhdr((struct rpcap_header *) sendbuf,
1767 sampling_pars = (struct rpcap_sampling *) &sendbuf[sendbufidx];
1778 if (sock_send(pr->rmt_sockctrl, sendbuf, sendbufidx, fp->errbuf,
1836 char sendbuf[RPCAP_NETBUF_SIZE]; /* temporary buffer in which data that has to be sent is buffered */
1896 rpcap_createhdr((struct rpcap_header *) sendbuf, 0,
1899 rpauth = (struct rpcap_auth *) &sendbuf[sendbufidx];
1916 if (sock_bufferize(auth->username, rpauth->slen1, sendbuf,
1925 if (sock_bufferize(auth->password, rpauth->slen2, sendbuf,
1933 if (sock_send(sockctrl, sendbuf, sendbufidx, errbuf,
2196 char sendbuf[RPCAP_NETBUF_SIZE]; /* temporary buffer in which data to be sent is buffered */
2254 rpcap_createhdr((struct rpcap_header *) sendbuf, protocol_version,
2257 if (sock_bufferize(iface, (int) strlen(iface), sendbuf, &sendbufidx,
2261 if (sock_send(sockctrl, sendbuf, sendbufidx, errbuf,