Searched refs:nrecv (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/netbsd-tests/lib/libc/net/ |
H A D | h_dns_server.c | 341 ssize_t nrecv, nsent; in main() local 346 nrecv = recvfrom(s, buf, sizeof buf, 0, &from.s, &fromlen); in main() 347 if (nrecv < 0) in main() 349 if (nrecv < 12) { in main() 350 DPRINTF("Too short %zd\n", nrecv); in main()
|
/freebsd/contrib/libpcap/rpcapd/ |
H A D | daemon.c | 223 int nrecv; in daemon_serviceloop() local 261 nrecv = sock_recv(sockctrl, NULL, (char *)&first_octet, 1, in daemon_serviceloop() 263 if (nrecv == -1) in daemon_serviceloop() 269 if (nrecv == 0) in daemon_serviceloop() 301 nrecv = rpcapd_recv_msg_header(sockctrl, NULL, &header); in daemon_serviceloop() 302 if (nrecv == -1) in daemon_serviceloop() 307 if (nrecv == -2) in daemon_serviceloop() 362 nrecv = sock_recv(sockctrl, ssl, (char *) &tls_header, in daemon_serviceloop() 365 if (nrecv == -1) in daemon_serviceloop() 371 if (nrecv == 0) in daemon_serviceloop() [all …]
|
/freebsd/contrib/libpcap/ |
H A D | pcap-rpcap.c | 3308 int nrecv; in rpcap_recv_msg_header() local 3310 nrecv = sock_recv(sock, ssl, (char *) header, sizeof(struct rpcap_header), in rpcap_recv_msg_header() 3313 if (nrecv == -1) in rpcap_recv_msg_header()
|