Searched refs:reallen (Results 1 – 5 of 5) sorted by relevance
/external/ipsec-tools/src/racoon/ |
D | pfkey.c | 3673 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/ |
D | pfkey.c | 1873 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/ |
D | driver_ndis.c | 489 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/ |
D | driver_ndis.c | 495 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/ |
D | driver_ndis.c | 536 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()
|