Searched refs:ai_udp (Results 1 – 1 of 1) sorted by relevance
| /src/usr.sbin/nfsd/ |
| H A D | nfsd.c | 151 struct addrinfo *ai_udp, *ai_tcp, *ai_udp6, *ai_tcp6, hints; in main() local 333 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp); in main() 339 nb_udp.buf = ai_udp->ai_addr; in main() 340 nb_udp.len = nb_udp.maxlen = ai_udp->ai_addrlen; in main() 349 freeaddrinfo(ai_udp); in main() 533 if (setbindhost(&ai_udp, bindhost[i], hints) == 0) { in main() 536 if ((sock = socket(ai_udp->ai_family, in main() 537 ai_udp->ai_socktype, in main() 538 ai_udp->ai_protocol)) < 0) { in main() 543 if (bind(sock, ai_udp->ai_addr, in main() [all …]
|