Lines Matching refs:lenp
2260 * - returns NULL and set *lenp to negative on fatal failures
2261 * - returns NULL and set *lenp to non-negative on non-fatal failures
2265 pk_recv(so, lenp)
2267 int *lenp;
2272 *lenp = recv(so, (caddr_t)&buf, sizeof(buf), MSG_PEEK);
2273 if (*lenp < 0)
2275 else if (*lenp < sizeof(buf))
2282 *lenp = recv(so, (caddr_t)newmsg, reallen, MSG_PEEK);
2283 if (*lenp < 0) {
2286 } else if (*lenp != reallen) {
2291 *lenp = recv(so, (caddr_t)newmsg, reallen, 0);
2292 if (*lenp < 0) {
2295 } else if (*lenp != reallen) {