/device/moto/stingray/whisper/ |
SHA_CommMarshalling.c | 37 uint8_t sendbuf[SENDBUF_SIZE]; variable 58 sendbuf[COUNT_IDX] = MAC_COUNT_SHORT; 59 sendbuf[CMD_ORDINAL_IDX] = MAC; 60 sendbuf[MAC_MODE_IDX] = Mode; 61 memcpy(&sendbuf[MAC_KEYID_IDX], &KeyID, 2); 64 memcpy(&sendbuf[MAC_CHALL_IDX], Challenge, 32); 65 sendbuf[COUNT_IDX] = MAC_COUNT_LARGE; 68 commparms.txBuffer = &sendbuf[0]; 90 sendbuf[COUNT_IDX] = READ_COUNT; 91 sendbuf[CMD_ORDINAL_IDX] = READ [all...] |
/system/core/libnl_2/genl/ |
genl.c | 94 char sendbuf[sizeof(struct nlmsghdr)+sizeof(struct genlmsghdr)]; local 108 nlmhdr.nlmsg_len = sizeof(sendbuf); 120 memcpy(&sendbuf[0], &nlmhdr, sizeof(nlmhdr)); 121 memcpy(&sendbuf[0]+sizeof(nlmhdr), &gmhhdr, sizeof(gmhhdr)); 124 sendmsg_iov.iov_base = &sendbuf; 125 sendmsg_iov.iov_len = sizeof(sendbuf);
|
/external/ipsec-tools/src/racoon/ |
isakmp_ident.c | 208 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1); 211 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); 399 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) { 629 iph1->sendbuf = ident_ir3mx(iph1); 630 if (iph1->sendbuf == NULL) 638 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg0) == -1) { 1052 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1) [all...] |
handler.h | 151 vchar_t *sendbuf; /* buffer for re-sending */ member in struct:ph1handle 297 vchar_t *sendbuf; /* buffer for re-sending */ member in struct:ph2handle 380 vchar_t *sendbuf; /* buffer for the response */ member in struct:recvdpkt
|
isakmp_base.c | 246 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1); 250 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0); 547 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1); 550 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0); 558 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) { 1006 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1); 1009 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0); 1019 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) { [all...] |
isakmp_agg.c | 273 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1); 276 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0); 719 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1); 722 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 0); 726 if (isakmp_send(iph1, iph1->sendbuf) < 0) 730 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) { 1225 iph1->sendbuf = isakmp_plist_set_all (&plist, iph1); 1228 isakmp_printpacket(iph1->sendbuf, iph1->local, iph1->remote, 1); 1236 if (add_recvdpkt(iph1->remote, iph1->local, iph1->sendbuf, msg) == -1) { [all...] |
isakmp_cfg.c | 1240 iph2->sendbuf = vmalloc(tlen); 1241 if (iph2->sendbuf == NULL) { 1248 isakmp = (struct isakmp *)iph2->sendbuf->v; 1274 isakmp_printpacket(iph2->sendbuf, iph1->local, iph1->remote, 1); 1278 plogdump(LLV_DEBUG, iph2->sendbuf->v, iph2->sendbuf->l); 1284 tmp = oakley_do_encrypt(iph2->ph1, iph2->sendbuf, 1286 VPTRINIT(iph2->sendbuf); 1289 iph2->sendbuf = tmp; 1293 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0) [all...] |
isakmp_inf.c | 945 iph2->sendbuf = vmalloc(tlen); 946 if (iph2->sendbuf == NULL) { 953 isakmp = (struct isakmp *)iph2->sendbuf->v; 979 isakmp_printpacket(iph2->sendbuf, iph1->local, iph1->remote, 1); 986 tmp = oakley_do_encrypt(iph2->ph1, iph2->sendbuf, iph2->ivm->ive, 988 VPTRINIT(iph2->sendbuf); 991 iph2->sendbuf = tmp; 995 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0) { 996 VPTRINIT(iph2->sendbuf); 1010 VPTRINIT(iph2->sendbuf); [all...] |
handler.c | 423 VPTRINIT(iph1->sendbuf); 725 VPTRINIT(iph2->sendbuf); 1069 len = sendfromto(s, r->sendbuf->v, r->sendbuf->l, 1133 new->sendbuf = vdup(sbuf); 1134 if (new->sendbuf == NULL) { 1159 if (r->sendbuf) 1160 vfree(r->sendbuf);
|
isakmp_quick.c | 366 iph2->sendbuf = quick_ir1mx(iph2, body, hash); 367 if (iph2->sendbuf == NULL) 849 iph2->sendbuf = oakley_do_encrypt(iph2->ph1, buf, iph2->ivm->ive, iph2->ivm->iv); 850 if (iph2->sendbuf == NULL) 860 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0) 866 iph2->sendbuf, msg0) == -1) { [all...] |
isakmp.c | 824 if (iph1->sendbuf == NULL) { 826 "no buffer found as sendbuf\n"); 831 VPTRINIT(iph1->sendbuf); 1002 if (iph2->sendbuf == NULL) { 1004 "no buffer found as sendbuf\n"); 1007 VPTRINIT(iph2->sendbuf); [all...] |
/external/valgrind/main/mpi/ |
libmpiwrap.c | [all...] |