Lines Matching refs:hints

102 	    struct addrinfo hints);
134 struct addrinfo *ai_udp, *ai_tcp, *ai_udp6, *ai_tcp6, hints;
265 memset(&hints, 0, sizeof hints);
266 hints.ai_flags = AI_PASSIVE;
267 hints.ai_family = AF_INET;
268 hints.ai_socktype = SOCK_DGRAM;
269 hints.ai_protocol = IPPROTO_UDP;
270 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
284 memset(&hints, 0, sizeof hints);
285 hints.ai_flags = AI_PASSIVE;
286 hints.ai_family = AF_INET6;
287 hints.ai_socktype = SOCK_DGRAM;
288 hints.ai_protocol = IPPROTO_UDP;
289 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp6);
303 memset(&hints, 0, sizeof hints);
304 hints.ai_flags = AI_PASSIVE;
305 hints.ai_family = AF_INET;
306 hints.ai_socktype = SOCK_STREAM;
307 hints.ai_protocol = IPPROTO_TCP;
308 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp);
322 memset(&hints, 0, sizeof hints);
323 hints.ai_flags = AI_PASSIVE;
324 hints.ai_family = AF_INET6;
325 hints.ai_socktype = SOCK_STREAM;
326 hints.ai_protocol = IPPROTO_TCP;
327 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp6);
452 memset(&hints, 0, sizeof hints);
453 hints.ai_flags = AI_PASSIVE;
454 hints.ai_family = AF_INET;
455 hints.ai_socktype = SOCK_DGRAM;
456 hints.ai_protocol = IPPROTO_UDP;
457 if (setbindhost(&ai_udp, bindhost[i], hints) == 0) {
486 memset(&hints, 0, sizeof hints);
487 hints.ai_flags = AI_PASSIVE;
488 hints.ai_family = AF_INET;
489 hints.ai_socktype = SOCK_DGRAM;
490 hints.ai_protocol = IPPROTO_UDP;
491 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
513 memset(&hints, 0, sizeof hints);
514 hints.ai_flags = AI_PASSIVE;
515 hints.ai_family = AF_INET6;
516 hints.ai_socktype = SOCK_DGRAM;
517 hints.ai_protocol = IPPROTO_UDP;
518 if (setbindhost(&ai_udp6, bindhost[i], hints) == 0) {
555 memset(&hints, 0, sizeof hints);
556 hints.ai_flags = AI_PASSIVE;
557 hints.ai_family = AF_INET6;
558 hints.ai_socktype = SOCK_DGRAM;
559 hints.ai_protocol = IPPROTO_UDP;
560 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp6);
582 memset(&hints, 0, sizeof hints);
583 hints.ai_flags = AI_PASSIVE;
584 hints.ai_family = AF_INET;
585 hints.ai_socktype = SOCK_STREAM;
586 hints.ai_protocol = IPPROTO_TCP;
587 if (setbindhost(&ai_tcp, bindhost[i], hints) == 0) {
620 memset(&hints, 0, sizeof hints);
621 hints.ai_flags = AI_PASSIVE;
622 hints.ai_family = AF_INET;
623 hints.ai_socktype = SOCK_STREAM;
624 hints.ai_protocol = IPPROTO_TCP;
625 ecode = getaddrinfo(NULL, "nfs", &hints,
649 memset(&hints, 0, sizeof hints);
650 hints.ai_flags = AI_PASSIVE;
651 hints.ai_family = AF_INET6;
652 hints.ai_socktype = SOCK_STREAM;
653 hints.ai_protocol = IPPROTO_TCP;
654 if (setbindhost(&ai_tcp6, bindhost[i], hints) == 0) {
696 memset(&hints, 0, sizeof hints);
697 hints.ai_flags = AI_PASSIVE;
698 hints.ai_family = AF_INET6;
699 hints.ai_socktype = SOCK_STREAM;
700 hints.ai_protocol = IPPROTO_TCP;
701 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp6);
810 setbindhost(struct addrinfo **ai, const char *bindhost, struct addrinfo hints)
822 switch (hints.ai_family) {
825 hints.ai_flags = AI_NUMERICHOST;
834 hints.ai_flags = AI_NUMERICHOST;
846 ecode = getaddrinfo(hostptr, "nfs", &hints, ai);
933 struct addrinfo *aip, hints;
942 memset((void *)&hints, 0, sizeof (hints));
943 hints.ai_flags = AI_CANONNAME;
944 error = getaddrinfo(hostname, NULL, &hints, &aip);