Home
last modified time | relevance | path

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

/external/ipsec-tools/src/racoon/
Dpfkey.c2832 int reallen; local
2850 reallen = PFKEY_UNUNIT64(buf.sadb_msg_len);
2851 if ((newmsg = racoon_calloc(1, reallen)) == NULL)
2854 *lenp = recv(so, (caddr_t)newmsg, reallen, MSG_PEEK);
2858 } else if (*lenp != reallen) {
2863 *lenp = recv(so, (caddr_t)newmsg, reallen, 0);
2867 } else if (*lenp != reallen) {
/external/ipsec-tools/src/libipsec/
Dpfkey.c1844 int len, reallen; local
1860 reallen = PFKEY_UNUNIT64(buf.sadb_msg_len);
1861 if ((newmsg = CALLOC((size_t)reallen, struct sadb_msg *)) == 0) {
1866 while ((len = recv(so, (void *)newmsg, (socklen_t)reallen, 0)) < 0) {
1874 if (len != reallen) {
/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()