Searched refs:rpcsock (Results 1 – 1 of 1) sorted by relevance
/openbsd/usr.sbin/ypbind/ |
H A D | ypbind.c | 99 int rpcsock, pingsock; variable 450 if ((rpcsock = socket(AF_INET, SOCK_DGRAM | SOCK_NONBLOCK, 0)) == -1) { in main() 458 bindresvport(rpcsock, &sin); in main() 470 setsockopt(rpcsock, SOL_SOCKET, SO_BROADCAST, &one, in main() 511 pfd[0].fd = rpcsock; in main() 710 if (sendto(rpcsock, buf, outlen, 0, (struct sockaddr *)&bindsin, in pings() 758 if (sendto(rpcsock, buf, outlen, 0, (struct sockaddr *)&bindsin, in broadcast() 814 if (sendto(rpcsock, buf, outlen, 0, in direct() 845 inlen = recvfrom(rpcsock, buf, sizeof buf, 0, in handle_replies()
|