| /src/external/bsd/libpcap/dist/ |
| rpcap-protocol.c | 84 char sendbuf[RPCAP_NETBUF_SIZE]; /* temporary buffer in which data to be sent is buffered */ local 93 rpcap_createhdr((struct rpcap_header *) sendbuf, ver, RPCAP_MSG_ERROR, errcode, length); 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); 1086 char sendbuf[RPCAP_NETBUF_SIZE]; /* temporary buffer in which data to be sent is buffered */ local 1236 rpcap_createhdr((struct rpcap_header *) sendbuf, 1241 startcapreq = (struct rpcap_startcapreq *) &sendbuf[sendbufidx]; 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, 1544 * This function serializes the filter into the sending buffer ('sendbuf', 1550 * \param sendbuf: the buffer on which the serialized data has to copied. 1559 static int pcap_pack_bpffilter(pcap_t *fp, char *sendbuf, int *sendbufidx, struct bpf_program *prog) 1575 filter = (struct rpcap_filter *) sendbuf; 1633 char sendbuf[RPCAP_NETBUF_SIZE]; \/* temporary buffer in which data to be sent is buffered *\/ local 1869 char sendbuf[RPCAP_NETBUF_SIZE];\/* temporary buffer in which data to be sent is buffered *\/ local 1977 char sendbuf[RPCAP_NETBUF_SIZE]; \/* temporary buffer in which data that has to be sent is buffered *\/ local 2454 char sendbuf[RPCAP_NETBUF_SIZE]; \/* temporary buffer in which data to be sent is buffered *\/ local [all...] |
| /src/external/bsd/libpcap/dist/rpcapd/ |
| daemon.c | 1224 char sendbuf[RPCAP_NETBUF_SIZE]; // temporary buffer in which data to be sent is buffered local 1362 rpcap_createhdr((struct rpcap_header *) sendbuf, 0, 1365 authreply = (struct rpcap_authreply *) &sendbuf[sendbufidx]; 1384 if (sock_send(pars->sockctrl, pars->ssl, sendbuf, sendbufidx, errbuf, PCAP_ERRBUF_SIZE) == -1) 1606 char sendbuf[RPCAP_NETBUF_SIZE]; // temporary buffer in which data to be sent is buffered local 1703 rpcap_createhdr((struct rpcap_header *) sendbuf, ver, 1762 if (sock_bufferize(&findalldevs_if, sizeof(struct rpcap_findalldevs_if), sendbuf, 1767 if (sock_bufferize(d->name, lname, sendbuf, &sendbufidx, 1772 if (sock_bufferize(d->description, ldescr, sendbuf, &sendbufidx, 1791 sockaddr = (struct rpcap_sockaddr *) &sendbuf[sendbufidx] 1859 char sendbuf[RPCAP_NETBUF_SIZE]; \/\/ temporary buffer in which data to be sent is buffered local 1964 char sendbuf[RPCAP_NETBUF_SIZE]; \/\/ temporary buffer in which data to be sent is buffered local 2538 char sendbuf[RPCAP_NETBUF_SIZE]; \/\/ temporary buffer in which data to be sent is buffered local 2615 char *sendbuf; \/\/ temporary buffer in which data to be sent is buffered local [all...] |
| /src/crypto/dist/ipsec-tools/src/racoon/ |
| isakmp_ident.c | 207 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1); 210 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0); 381 iph1->sendbuf = ident_ir2mx(iph1); 382 if (iph1->sendbuf == NULL) 386 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0); 394 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) { 620 iph1->sendbuf = ident_ir3mx(iph1); 621 if (iph1->sendbuf == NULL) 629 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg0) == -1) { 1036 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1) [all...] |
| handler.h | 152 vchar_t *sendbuf; /* buffer for re-sending */ member in struct:ph1handle 298 vchar_t *sendbuf; /* buffer for re-sending */ member in struct:ph2handle 381 vchar_t *sendbuf; /* buffer for the response */ member in struct:recvdpkt
|
| isakmp_base.c | 244 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1); 248 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0); 537 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1); 540 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0); 548 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) { 989 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1); 992 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0); 1002 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) { 1337 iph1->sendbuf = isakmp_plist_set_all(&plist, iph1); 1340 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0) [all...] |
| isakmp_agg.c | 271 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1); 274 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0); 709 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1); 712 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0); 716 if (isakmp_send(iph1, iph1->sendbuf) < 0) 720 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) { 1211 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1); 1214 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 1); 1222 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) {
|
| isakmp_cfg.c | 1197 iph2->sendbuf = vmalloc(tlen); 1198 if (iph2->sendbuf == NULL) { 1205 isakmp = (struct isakmp *)iph2->sendbuf->v; 1231 isakmp_printpacket(iph2->sendbuf, iph1->local, iph1->remote, 1); 1235 plogdump(LLV_DEBUG, iph2->sendbuf->v, iph2->sendbuf->l); 1241 tmp = oakley_do_encrypt(iph2->ph1, iph2->sendbuf, 1243 VPTRINIT(iph2->sendbuf); 1246 iph2->sendbuf = tmp; 1250 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0) [all...] |
| isakmp_inf.c | 918 iph2->sendbuf = vmalloc(tlen); 919 if (iph2->sendbuf == NULL) { 926 isakmp = (struct isakmp *)iph2->sendbuf->v; 952 isakmp_printpacket(iph2->sendbuf, iph1->local, iph1->remote, 1); 959 tmp = oakley_do_encrypt(iph2->ph1, iph2->sendbuf, iph2->ivm->ive, 961 VPTRINIT(iph2->sendbuf); 964 iph2->sendbuf = tmp; 968 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0) { 969 VPTRINIT(iph2->sendbuf); 983 VPTRINIT(iph2->sendbuf); [all...] |
| handler.c | 412 VPTRINIT(iph1->sendbuf); 703 VPTRINIT(iph2->sendbuf); 1039 len = sendfromto(s, r->sendbuf->v, r->sendbuf->l, 1102 new->sendbuf = vdup(sbuf); 1103 if (new->sendbuf == NULL) { 1127 if (r->sendbuf) 1128 vfree(r->sendbuf);
|
| isakmp_quick.c | 361 iph2->sendbuf = quick_ir1mx(iph2, body, hash); 362 if (iph2->sendbuf == NULL) 838 iph2->sendbuf = oakley_do_encrypt(iph2->ph1, buf, iph2->ivm->ive, iph2->ivm->iv); 839 if (iph2->sendbuf == NULL) 849 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0) 855 iph2->sendbuf, msg0) == -1) { 1666 iph2->sendbuf = quick_ir1mx(iph2, body, hash); 1667 if (iph2->sendbuf == NULL) 1675 if (add_recvdpkt(iph2->ph1->remote, iph2->ph1->local, iph2->sendbuf, iph2->msg1) == -1) { 1894 iph2->sendbuf = oakley_do_encrypt(iph2->ph1, buf, iph2->ivm->ive, iph2->ivm->iv) [all...] |
| isakmp.c | 817 if (iph1->sendbuf == NULL) { 819 "no buffer found as sendbuf\n"); 824 VPTRINIT(iph1->sendbuf); 1001 if (iph2->sendbuf == NULL) { 1003 "no buffer found as sendbuf\n"); 1006 VPTRINIT(iph2->sendbuf); 1834 if (isakmp_send(iph1, iph1->sendbuf) < 0){ 1894 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0){
|
| /src/sys/dev/usb/ |
| umcpmio_transport.c | 124 umcpmio_send_report(struct umcpmio_softc *sc, uint8_t *sendbuf, 147 err = uhidev_write(sc->sc_hdev, sendbuf, sendlen);
|
| /src/sys/arch/playstation2/playstation2/ |
| sifbios.c | 375 u_int32_t rpc_mode, void *sendbuf, size_t sendbuf_sz, void *recvbuf, 382 void *sendbuf; member in struct:__anon1744 392 sendbuf: sendbuf,
|
| /src/usr.sbin/btpand/ |
| channel.c | 83 chan->sendbuf = malloc(chan->mtu); 84 if (chan->sendbuf == NULL) { 85 log_err("Could not malloc channel sendbuf: %m"); 150 free(chan->sendbuf);
|
| bnep.c | 665 p = chan->sendbuf; 697 if (p + eh->len > chan->sendbuf + chan->mtu) 709 iov[0].iov_base = chan->sendbuf; 710 iov[0].iov_len = (p - chan->sendbuf);
|
| btpand.h | 86 uint8_t * sendbuf; member in struct:channel
|
| /src/external/mpl/bind/dist/lib/ns/include/ns/ |
| client.h | 105 * Its "query" struct and sendbuf are initialized. 238 uint8_t sendbuf[NS_CLIENT_SEND_BUFFER_SIZE]; member in struct:ns_client
|
| /src/external/mpl/bind/dist/bin/dig/ |
| dighost.h | 219 isc_buffer_t sendbuf; member in struct:dig_query
|
| dighost.c | 2151 *query = (dig_query_t){ .sendbuf = lookup->renderbuf, 3154 isc_buffer_usedregion(&query->sendbuf, &r); 3550 isc_buffer_usedregion(&query->sendbuf, &r);
|
| /src/external/mpl/bind/dist/lib/isc/netmgr/ |
| tlsstream.c | 617 uint8_t sendbuf[MAX_DNS_MESSAGE_SIZE + local 633 memmove(sendbuf, send_data->tcplen, 635 memmove(sendbuf + sizeof(uint16_t), 640 rv = SSL_write_ex(sock->tlsstream.tls, sendbuf,
|
| /src/external/mpl/bind/dist/lib/ns/ |
| client.c | 385 data = client->sendbuf; 448 * 'sendbuf', there is no need for a new buffer. 450 memmove(client->sendbuf, buffer->base, used); 457 r.base = client->sendbuf;
|
| /src/external/mpl/dhcp/bind/dist/lib/isc/netmgr/ |
| netmgr-int.h | 219 char *sendbuf; member in struct:isc__networker
|
| netmgr.c | 353 worker->sendbuf = isc_mem_get(mctx, ISC_NETMGR_SENDBUF_SIZE); 411 isc_mem_put(mgr->mctx, worker->sendbuf,
|