Home | History | Annotate | Download | only in ypbind

Lines Matching refs:rpcsock

126 static int rpcsock, pingsock;
989 if ((rpcsock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1)
994 (void)fcntl(rpcsock, F_SETFL, fcntl(rpcsock, F_GETFL, 0) | FNDELAY);
998 (void)setsockopt(rpcsock, SOL_SOCKET, SO_BROADCAST, &one,
1057 if (sendto(rpcsock, buf, outlen, 0,
1137 if (sendto(rpcsock, buf, outlen, 0,
1206 if (sendto(rpcsock, buf, outlen, 0,
1240 inlen = recvfrom(rpcsock, buf, sizeof buf, 0,
1410 if (sendto(rpcsock, buf, outlen, 0,
1738 if (rpcsock > width)
1739 width = rpcsock;
1744 FD_SET(rpcsock, &fdsr);
1771 if (FD_ISSET(rpcsock, &fdsr))