Home | History | Annotate | Download | only in racoon

Lines Matching refs:lenp

2822  * - returns NULL and set *lenp to negative on fatal failures
2823 * - returns NULL and set *lenp to non-negative on non-fatal failures
2827 pk_recv(so, lenp)
2829 int *lenp;
2835 *lenp = -1;
2839 *lenp = recv(so, (caddr_t)&buf, sizeof(buf), MSG_PEEK | MSG_DONTWAIT);
2842 while (*lenp < 0 && errno == EAGAIN && retry < 3);
2844 if (*lenp < 0)
2847 else if (*lenp < sizeof(buf))
2854 *lenp = recv(so, (caddr_t)newmsg, reallen, MSG_PEEK);
2855 if (*lenp < 0) {
2858 } else if (*lenp != reallen) {
2863 *lenp = recv(so, (caddr_t)newmsg, reallen, 0);
2864 if (*lenp < 0) {
2867 } else if (*lenp != reallen) {