Lines Matching refs:hints

111 		    struct addrinfo hints);
147 struct addrinfo *ai_udp, *ai_tcp, *ai_udp6, *ai_tcp6, hints;
317 memset(&hints, 0, sizeof hints);
318 hints.ai_flags = AI_PASSIVE;
319 hints.ai_family = AF_INET;
320 hints.ai_socktype = SOCK_DGRAM;
321 hints.ai_protocol = IPPROTO_UDP;
322 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
341 memset(&hints, 0, sizeof hints);
342 hints.ai_flags = AI_PASSIVE;
343 hints.ai_family = AF_INET6;
344 hints.ai_socktype = SOCK_DGRAM;
345 hints.ai_protocol = IPPROTO_UDP;
346 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp6);
365 memset(&hints, 0, sizeof hints);
366 hints.ai_flags = AI_PASSIVE;
367 hints.ai_family = AF_INET;
368 hints.ai_socktype = SOCK_STREAM;
369 hints.ai_protocol = IPPROTO_TCP;
370 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp);
389 memset(&hints, 0, sizeof hints);
390 hints.ai_flags = AI_PASSIVE;
391 hints.ai_family = AF_INET6;
392 hints.ai_socktype = SOCK_STREAM;
393 hints.ai_protocol = IPPROTO_TCP;
394 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp6);
503 memset(&hints, 0, sizeof hints);
504 hints.ai_flags = AI_PASSIVE;
505 hints.ai_family = AF_INET;
506 hints.ai_socktype = SOCK_DGRAM;
507 hints.ai_protocol = IPPROTO_UDP;
508 if (setbindhost(&ai_udp, bindhost[i], hints) == 0) {
537 memset(&hints, 0, sizeof hints);
538 hints.ai_flags = AI_PASSIVE;
539 hints.ai_family = AF_INET;
540 hints.ai_socktype = SOCK_DGRAM;
541 hints.ai_protocol = IPPROTO_UDP;
542 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
569 memset(&hints, 0, sizeof hints);
570 hints.ai_flags = AI_PASSIVE;
571 hints.ai_family = AF_INET6;
572 hints.ai_socktype = SOCK_DGRAM;
573 hints.ai_protocol = IPPROTO_UDP;
574 if (setbindhost(&ai_udp6, bindhost[i], hints) == 0) {
611 memset(&hints, 0, sizeof hints);
612 hints.ai_flags = AI_PASSIVE;
613 hints.ai_family = AF_INET6;
614 hints.ai_socktype = SOCK_DGRAM;
615 hints.ai_protocol = IPPROTO_UDP;
616 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp6);
645 memset(&hints, 0, sizeof hints);
646 hints.ai_flags = AI_PASSIVE;
647 hints.ai_family = AF_INET;
648 hints.ai_socktype = SOCK_STREAM;
649 hints.ai_protocol = IPPROTO_TCP;
650 if (setbindhost(&ai_tcp, bindhost[i], hints) == 0) {
682 memset(&hints, 0, sizeof hints);
683 hints.ai_flags = AI_PASSIVE;
684 hints.ai_family = AF_INET;
685 hints.ai_socktype = SOCK_STREAM;
686 hints.ai_protocol = IPPROTO_TCP;
687 ecode = getaddrinfo(NULL, "nfs", &hints,
715 memset(&hints, 0, sizeof hints);
716 hints.ai_flags = AI_PASSIVE;
717 hints.ai_family = AF_INET6;
718 hints.ai_socktype = SOCK_STREAM;
719 hints.ai_protocol = IPPROTO_TCP;
720 if (setbindhost(&ai_tcp6, bindhost[i], hints) == 0) {
761 memset(&hints, 0, sizeof hints);
762 hints.ai_flags = AI_PASSIVE;
763 hints.ai_family = AF_INET6;
764 hints.ai_socktype = SOCK_STREAM;
765 hints.ai_protocol = IPPROTO_TCP;
766 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp6);
853 setbindhost(struct addrinfo **ai, const char *bindhost, struct addrinfo hints)
865 switch (hints.ai_family) {
868 hints.ai_flags = AI_NUMERICHOST;
877 hints.ai_flags = AI_NUMERICHOST;
889 ecode = getaddrinfo(hostptr, "nfs", &hints, ai);
1010 struct addrinfo *aip, hints;
1021 memset((void *)&hints, 0, sizeof (hints));
1022 hints.ai_flags = AI_CANONNAME;
1023 error = getaddrinfo(hostname, NULL, &hints, &aip);
1174 struct addrinfo hints, *ai_tcp, *res;
1264 memset(&hints, 0, sizeof(hints));
1265 hints.ai_flags = AI_CANONNAME | AI_ADDRCONFIG;
1266 hints.ai_family = PF_UNSPEC;
1267 hints.ai_socktype = SOCK_STREAM;
1268 hints.ai_protocol = IPPROTO_TCP;
1269 ecode = getaddrinfo(cp, NULL, &hints, &ai_tcp);