Searched refs:tcpsock (Results 1 - 2 of 2) sorted by relevance

/freebsd-12-stable/usr.sbin/nfscbd/
H A Dnfscbd.c105 int nfssvc_flag, on, sock, tcpsock, ret, mustfreeai = 0; local
256 if ((tcpsock = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
260 if (setsockopt(tcpsock,
268 if (bind(tcpsock,
273 if (listen(tcpsock, 5) < 0) {
277 FD_SET(tcpsock, &sockbits);
278 maxsock = tcpsock;
296 if (FD_ISSET(tcpsock, &ready)) {
298 if ((msgsock = accept(tcpsock,
/freebsd-12-stable/usr.sbin/nfsd/
H A Dnfsd.c169 int tcp6sock, ip6flag, tcpflag, tcpsock; local
653 if ((tcpsock = socket(AF_INET, SOCK_STREAM,
659 if (setsockopt(tcpsock, SOL_SOCKET,
664 if (bind(tcpsock, ai_tcp->ai_addr,
671 if (listen(tcpsock, -1) < 0) {
676 FD_SET(tcpsock, &sockbits);
677 maxsock = tcpsock;
826 for (tcpsock = 0; tcpsock <= maxsock; tcpsock
[all...]

Completed in 39 milliseconds