HomeSort by relevance Sort by last modified time
    Searched refs:sendbuf (Results 1 - 13 of 13) sorted by null

  /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 206 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...]
handler.h 147 vchar_t *sendbuf; /* buffer for re-sending */ member in struct:ph1handle
265 vchar_t *sendbuf; /* buffer for re-sending */ member in struct:ph2handle
340 vchar_t *sendbuf; /* buffer for the response */ member in struct:recvdpkt
isakmp_base.c 245 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) {
    [all...]
isakmp_agg.c 285 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) {
    [all...]
handler.c 333 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);
isakmp_cfg.c 1211 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)
    [all...]
isakmp_inf.c 965 iph2->sendbuf = vmalloc(tlen);
966 if (iph2->sendbuf == NULL) {
973 isakmp = (struct isakmp *)iph2->sendbuf->v;
999 isakmp_printpacket(iph2->sendbuf, iph1->local, iph1->remote, 1);
1006 tmp = oakley_do_encrypt(iph2->ph1, iph2->sendbuf, iph2->ivm->ive,
1008 VPTRINIT(iph2->sendbuf);
1011 iph2->sendbuf = tmp;
1015 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0) {
1016 VPTRINIT(iph2->sendbuf);
1030 VPTRINIT(iph2->sendbuf);
    [all...]
isakmp_quick.c 283 iph2->sendbuf = quick_ir1mx(iph2, body, hash);
284 if (iph2->sendbuf == NULL)
616 iph2->sendbuf = oakley_do_encrypt(iph2->ph1, buf, iph2->ivm->ive, iph2->ivm->iv);
617 if (iph2->sendbuf == NULL)
628 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0)
634 iph2->sendbuf, msg0) == -1) {
1349 iph2->sendbuf = quick_ir1mx(iph2, body, hash);
1350 if (iph2->sendbuf == NULL)
1359 if (add_recvdpkt(iph2->ph1->remote, iph2->ph1->local, iph2->sendbuf, iph2->msg1) == -1) {
    [all...]
racoonctl.c 336 vchar_t *sendbuf; local
338 if ((sendbuf = f_getevt(0, NULL)) == NULL)
346 if (com_send(sendbuf) != 0)
359 vfree(sendbuf);
    [all...]
isakmp.c 826 if (iph1->sendbuf == NULL) {
828 "no buffer found as sendbuf\n");
833 VPTRINIT(iph1->sendbuf);
989 if (iph2->sendbuf == NULL) {
991 "no buffer found as sendbuf\n");
994 VPTRINIT(iph2->sendbuf);
    [all...]
  /external/valgrind/main/mpi/
libmpiwrap.c     [all...]

Completed in 151 milliseconds