Home
last modified time | relevance | path

Searched refs:reallen (Results 1 – 5 of 5) sorted by relevance

/external/ipsec-tools/src/racoon/
Dpfkey.c3673 int reallen; local
3691 reallen = PFKEY_UNUNIT64(buf.sadb_msg_len);
3692 if (reallen < sizeof(buf)) {
3697 if ((newmsg = racoon_calloc(1, reallen)) == NULL)
3700 *lenp = recv(so, (caddr_t)newmsg, reallen, MSG_PEEK);
3704 } else if (*lenp != reallen) {
3709 *lenp = recv(so, (caddr_t)newmsg, reallen, 0);
3713 } else if (*lenp != reallen) {
/external/ipsec-tools/src/libipsec/
Dpfkey.c1873 int len, reallen; in pfkey_recv() local
1889 reallen = PFKEY_UNUNIT64(buf.sadb_msg_len); in pfkey_recv()
1890 if ((newmsg = CALLOC((size_t)reallen, struct sadb_msg *)) == 0) { in pfkey_recv()
1895 while ((len = recv(so, (void *)newmsg, (socklen_t)reallen, 0)) < 0) { in pfkey_recv()
1903 if (len != reallen) { in pfkey_recv()
/external/wpa_supplicant/
Ddriver_ndis.c489 size_t buflen, reallen; in ndis_set_oid() local
497 reallen = buflen - sizeof(o->Data); in ndis_set_oid()
508 o, reallen, NULL, 0, &written, NULL)) { in ndis_set_oid()
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Ddriver_ndis.c495 size_t buflen, reallen; in ndis_set_oid() local
503 reallen = buflen - sizeof(o->Data); in ndis_set_oid()
514 o, reallen, NULL, 0, &written, NULL)) { in ndis_set_oid()
/external/wpa_supplicant_8/src/drivers/
Ddriver_ndis.c536 size_t buflen, reallen; in ndis_set_oid() local
544 reallen = buflen - sizeof(o->Data); in ndis_set_oid()
555 o, reallen, NULL, 0, &written, NULL)) { in ndis_set_oid()