Home
last modified time | relevance | path

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

/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Disakmp_ident.c209 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1);
212 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0);
387 iph1->sendbuf = ident_ir2mx(iph1);
388 if (iph1->sendbuf == NULL)
392 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0);
400 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) {
630 iph1->sendbuf = ident_ir3mx(iph1);
631 if (iph1->sendbuf == NULL)
639 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg0) == -1) {
1053 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1);
[all …]
H A Disakmp_base.c246 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1);
250 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0);
543 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1);
546 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0);
554 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) {
1002 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1);
1005 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0);
1015 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) {
1354 iph1->sendbuf = isakmp_plist_set_all(&plist, iph1);
1357 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0);
[all …]
H A Disakmp_agg.c273 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1);
276 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0);
715 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1);
718 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0);
722 if (isakmp_send(iph1, iph1->sendbuf) < 0)
726 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) {
1221 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1);
1224 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 1);
1232 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) {
H A Disakmp_cfg.c1241 iph2->sendbuf = vmalloc(tlen);
1242 if (iph2->sendbuf == NULL) {
1249 isakmp = (struct isakmp *)iph2->sendbuf->v;
1275 isakmp_printpacket(iph2->sendbuf, iph1->local, iph1->remote, 1);
1279 plogdump(LLV_DEBUG, iph2->sendbuf->v, iph2->sendbuf->l);
1285 tmp = oakley_do_encrypt(iph2->ph1, iph2->sendbuf,
1287 VPTRINIT(iph2->sendbuf);
1290 iph2->sendbuf = tmp;
1294 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0) {
1295 VPTRINIT(iph2->sendbuf);
[all …]
H A Dhandler.h152 vchar_t *sendbuf; /* buffer for re-sending */ member
298 vchar_t *sendbuf; /* buffer for re-sending */ member
381 vchar_t *sendbuf; /* buffer for the response */ member
H A Disakmp_inf.c940 iph2->sendbuf = vmalloc(tlen);
941 if (iph2->sendbuf == NULL) {
948 isakmp = (struct isakmp *)iph2->sendbuf->v;
974 isakmp_printpacket(iph2->sendbuf, iph1->local, iph1->remote, 1);
981 tmp = oakley_do_encrypt(iph2->ph1, iph2->sendbuf, iph2->ivm->ive,
983 VPTRINIT(iph2->sendbuf);
986 iph2->sendbuf = tmp;
990 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0) {
991 VPTRINIT(iph2->sendbuf);
1005 VPTRINIT(iph2->sendbuf);
H A Dhandler.c423 VPTRINIT(iph1->sendbuf);
727 VPTRINIT(iph2->sendbuf);
1073 len = sendfromto(s, r->sendbuf->v, r->sendbuf->l,
1137 new->sendbuf = vdup(sbuf);
1138 if (new->sendbuf == NULL) {
1163 if (r->sendbuf)
1164 vfree(r->sendbuf);
H A Disakmp_quick.c365 iph2->sendbuf = quick_ir1mx(iph2, body, hash);
366 if (iph2->sendbuf == NULL)
846 iph2->sendbuf = oakley_do_encrypt(iph2->ph1, buf, iph2->ivm->ive, iph2->ivm->iv);
847 if (iph2->sendbuf == NULL)
857 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0)
863 iph2->sendbuf, msg0) == -1) {
1681 iph2->sendbuf = quick_ir1mx(iph2, body, hash);
1682 if (iph2->sendbuf == NULL)
1690 if (add_recvdpkt(iph2->ph1->remote, iph2->ph1->local, iph2->sendbuf, iph2->msg1) == -1) {
1913 iph2->sendbuf = oakley_do_encrypt(iph2->ph1, buf, iph2->ivm->ive, iph2->ivm->iv);
[all …]
H A Disakmp.c822 if (iph1->sendbuf == NULL) {
829 VPTRINIT(iph1->sendbuf);
1008 if (iph2->sendbuf == NULL) {
1013 VPTRINIT(iph2->sendbuf);
1857 if (isakmp_send(iph1, iph1->sendbuf) < 0){
1919 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0){
/netbsd-src/sys/arch/playstation2/playstation2/
H A Dsifbios.c375 u_int32_t rpc_mode, void *sendbuf, size_t sendbuf_sz, void *recvbuf, in sifrpc_call() argument
382 void *sendbuf; in sifrpc_call() member
392 sendbuf: sendbuf, in sifrpc_call()
/netbsd-src/usr.sbin/btpand/
H A Dchannel.c83 chan->sendbuf = malloc(chan->mtu); in channel_open()
84 if (chan->sendbuf == NULL) { in channel_open()
150 free(chan->sendbuf); in channel_free()
H A Dbnep.c665 p = chan->sendbuf; in bnep_send()
697 if (p + eh->len > chan->sendbuf + chan->mtu) in bnep_send()
709 iov[0].iov_base = chan->sendbuf; in bnep_send()
710 iov[0].iov_len = (p - chan->sendbuf); in bnep_send()
H A Dbtpand.h86 uint8_t * sendbuf; member
/netbsd-src/external/mpl/bind/dist/lib/ns/
H A Dclient.c434 data = client->sendbuf; in ns_client_sendraw()
497 * 'sendbuf', there is no need for a new buffer. in ns_client_send()
499 memmove(client->sendbuf, buffer->base, used); in ns_client_send()
506 r.base = client->sendbuf; in ns_client_send()
2366 unsigned char *sendbuf = client->sendbuf; ns__client_setup() local
/netbsd-src/external/mpl/bind/dist/lib/ns/include/ns/
H A Dclient.h105 * Its "query" struct and sendbuf are initialized.
238 uint8_t sendbuf[NS_CLIENT_SEND_BUFFER_SIZE];
192 unsigned char *sendbuf; global() member
/netbsd-src/external/mpl/bind/dist/lib/isc/netmgr/
H A Dtlsdns.c
H A Dnetmgr-int.h237 char *sendbuf; global() member
H A Dnetmgr.c
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/netmgr/
H A Dnetmgr-int.h219 char *sendbuf; member
H A Dnetmgr.c353 worker->sendbuf = isc_mem_get(mctx, ISC_NETMGR_SENDBUF_SIZE); in isc__netmgr_create()
411 isc_mem_put(mgr->mctx, worker->sendbuf, in nm_destroy()