Home
last modified time | relevance | path

Searched refs:sendbuf (Results 1 – 14 of 14) sorted by relevance

/external/libpcap/
Dpcap-rpcap.c91 static int pcap_pack_bpffilter(pcap_t *fp, char *sendbuf, int *sendbufidx, struct bpf_program *prog…
703 char sendbuf[RPCAP_NETBUF_SIZE]; /* temporary buffer in which data to be sent is buffered */ in pcap_opensource_remote() local
792 rpcap_createhdr((struct rpcap_header *) sendbuf, RPCAP_MSG_OPEN_REQ, 0, (uint32) strlen(iface)); in pcap_opensource_remote()
794 if (sock_bufferize(iface, (int) strlen(iface), sendbuf, &sendbufidx, in pcap_opensource_remote()
798 if (sock_send(sockctrl, sendbuf, sendbufidx, fp->errbuf, PCAP_ERRBUF_SIZE)) in pcap_opensource_remote()
907 char sendbuf[RPCAP_NETBUF_SIZE]; /* temporary buffer in which data to be sent is buffered */ in pcap_startcapture_remote() local
1038 rpcap_createhdr((struct rpcap_header *) sendbuf, RPCAP_MSG_STARTCAP_REQ, 0, in pcap_startcapture_remote()
1042 startcapreq = (struct rpcap_startcapreq *) &sendbuf[sendbufidx]; in pcap_startcapture_remote()
1074 if (pcap_pack_bpffilter(fp, &sendbuf[sendbufidx], &sendbufidx, &fp->fcode)) in pcap_startcapture_remote()
1077 if (sock_send(md->rmt_sockctrl, sendbuf, sendbufidx, fp->errbuf, PCAP_ERRBUF_SIZE)) in pcap_startcapture_remote()
[all …]
/external/ipsec-tools/src/racoon/
Disakmp_ident.c206 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1);
209 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0);
386 iph1->sendbuf = ident_ir2mx(iph1);
387 if (iph1->sendbuf == NULL)
391 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0);
400 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) {
631 iph1->sendbuf = ident_ir3mx(iph1);
632 if (iph1->sendbuf == NULL)
641 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg0) == -1) {
1059 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1);
[all …]
Disakmp_base.c245 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1);
249 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0);
548 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1);
551 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0);
560 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) {
1015 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1);
1018 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0);
1029 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) {
1371 iph1->sendbuf = isakmp_plist_set_all(&plist, iph1);
1374 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0);
[all …]
Dhandler.h147 vchar_t *sendbuf; /* buffer for re-sending */ member
265 vchar_t *sendbuf; /* buffer for re-sending */ member
340 vchar_t *sendbuf; /* buffer for the response */ member
Disakmp_cfg.c1211 iph2->sendbuf = vmalloc(tlen);
1212 if (iph2->sendbuf == NULL) {
1219 isakmp = (struct isakmp *)iph2->sendbuf->v;
1245 isakmp_printpacket(iph2->sendbuf, iph1->local, iph1->remote, 1);
1249 plogdump(LLV_DEBUG, iph2->sendbuf->v, iph2->sendbuf->l);
1255 tmp = oakley_do_encrypt(iph2->ph1, iph2->sendbuf,
1257 VPTRINIT(iph2->sendbuf);
1260 iph2->sendbuf = tmp;
1264 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0) {
1265 VPTRINIT(iph2->sendbuf);
[all …]
Disakmp_agg.c285 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1);
288 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0);
737 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1);
740 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0);
744 if (isakmp_send(iph1, iph1->sendbuf) < 0)
748 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) {
1257 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1);
1260 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 1);
1269 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) {
Disakmp_quick.c282 iph2->sendbuf = quick_ir1mx(iph2, body, hash);
283 if (iph2->sendbuf == NULL)
615 iph2->sendbuf = oakley_do_encrypt(iph2->ph1, buf, iph2->ivm->ive, iph2->ivm->iv);
616 if (iph2->sendbuf == NULL)
627 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0)
633 iph2->sendbuf, msg0) == -1) {
1348 iph2->sendbuf = quick_ir1mx(iph2, body, hash);
1349 if (iph2->sendbuf == NULL)
1358 if (add_recvdpkt(iph2->ph1->remote, iph2->ph1->local, iph2->sendbuf, iph2->msg1) == -1) {
1574 iph2->sendbuf = oakley_do_encrypt(iph2->ph1, buf, iph2->ivm->ive, iph2->ivm->iv);
[all …]
Dhandler.c333 VPTRINIT(iph1->sendbuf);
602 VPTRINIT(iph2->sendbuf);
907 len = sendfromto(s, r->sendbuf->v, r->sendbuf->l,
971 new->sendbuf = vdup(sbuf);
972 if (new->sendbuf == NULL) {
998 if (r->sendbuf)
999 vfree(r->sendbuf);
Disakmp_inf.c964 iph2->sendbuf = vmalloc(tlen);
965 if (iph2->sendbuf == NULL) {
972 isakmp = (struct isakmp *)iph2->sendbuf->v;
998 isakmp_printpacket(iph2->sendbuf, iph1->local, iph1->remote, 1);
1005 tmp = oakley_do_encrypt(iph2->ph1, iph2->sendbuf, iph2->ivm->ive,
1007 VPTRINIT(iph2->sendbuf);
1010 iph2->sendbuf = tmp;
1014 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0) {
1015 VPTRINIT(iph2->sendbuf);
1029 VPTRINIT(iph2->sendbuf);
Dracoonctl.c336 vchar_t *sendbuf; in evt_poll() local
338 if ((sendbuf = f_getevt(0, NULL)) == NULL) in evt_poll()
346 if (com_send(sendbuf) != 0) in evt_poll()
359 vfree(sendbuf); in evt_poll()
Disakmp.c830 if (iph1->sendbuf == NULL) {
837 VPTRINIT(iph1->sendbuf);
993 if (iph2->sendbuf == NULL) {
998 VPTRINIT(iph2->sendbuf);
1906 if (isakmp_send(iph1, iph1->sendbuf) < 0){
1965 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0){
/external/valgrind/mpi/
Dlibmpiwrap.c1710 void *sendbuf, int sendcount, MPI_Datatype sendtype, in WRAPPER_FOR()
1723 check_mem_is_defined(sendbuf, sendcount, sendtype); in WRAPPER_FOR()
1727 CALL_FN_W_12W(err, fn, sendbuf,sendcount,sendtype,dest,sendtag, in WRAPPER_FOR()
1954 void *sendbuf, int sendcount, MPI_Datatype sendtype, in WRAPPER_FOR()
1964 check_mem_is_defined(sendbuf, sendcount, sendtype); in WRAPPER_FOR()
1968 CALL_FN_W_8W(err, fn, sendbuf,sendcount,sendtype, in WRAPPER_FOR()
1990 void* sendbuf, int sendcount, MPI_Datatype sendtype, in WRAPPER_FOR()
2002 check_mem_is_defined(sendbuf, sendcount * sz, sendtype); in WRAPPER_FOR()
2004 CALL_FN_W_8W(err, fn, sendbuf,sendcount,sendtype, in WRAPPER_FOR()
2025 void* sendbuf, int sendcount, MPI_Datatype sendtype, in WRAPPER_FOR()
[all …]
/external/clang/test/Sema/
Dwarn-type-safety-mpi-hdf5.c34 int MPI_Gather(void *sendbuf, int sendcount, MPI_Datatype sendtype,
/external/syslinux/core/lwip/
DCHANGELOG1582 * api.h, api_lib.c, api_msg.c: Fixed bug #20021: Moved sendbuf-processing in