Lines Matching refs:hints

116 		    struct addrinfo hints);
149 struct addrinfo *ai_udp, *ai_tcp, *ai_udp6, *ai_tcp6, hints;
287 memset(&hints, 0, sizeof hints);
288 hints.ai_flags = AI_PASSIVE;
289 hints.ai_family = AF_INET;
290 hints.ai_socktype = SOCK_DGRAM;
291 hints.ai_protocol = IPPROTO_UDP;
292 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
311 memset(&hints, 0, sizeof hints);
312 hints.ai_flags = AI_PASSIVE;
313 hints.ai_family = AF_INET6;
314 hints.ai_socktype = SOCK_DGRAM;
315 hints.ai_protocol = IPPROTO_UDP;
316 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp6);
335 memset(&hints, 0, sizeof hints);
336 hints.ai_flags = AI_PASSIVE;
337 hints.ai_family = AF_INET;
338 hints.ai_socktype = SOCK_STREAM;
339 hints.ai_protocol = IPPROTO_TCP;
340 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp);
359 memset(&hints, 0, sizeof hints);
360 hints.ai_flags = AI_PASSIVE;
361 hints.ai_family = AF_INET6;
362 hints.ai_socktype = SOCK_STREAM;
363 hints.ai_protocol = IPPROTO_TCP;
364 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp6);
458 memset(&hints, 0, sizeof hints);
459 hints.ai_flags = AI_PASSIVE;
460 hints.ai_family = AF_INET;
461 hints.ai_socktype = SOCK_DGRAM;
462 hints.ai_protocol = IPPROTO_UDP;
463 if (setbindhost(&ai_udp, bindhost[i], hints) == 0) {
492 memset(&hints, 0, sizeof hints);
493 hints.ai_flags = AI_PASSIVE;
494 hints.ai_family = AF_INET;
495 hints.ai_socktype = SOCK_DGRAM;
496 hints.ai_protocol = IPPROTO_UDP;
497 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
524 memset(&hints, 0, sizeof hints);
525 hints.ai_flags = AI_PASSIVE;
526 hints.ai_family = AF_INET6;
527 hints.ai_socktype = SOCK_DGRAM;
528 hints.ai_protocol = IPPROTO_UDP;
529 if (setbindhost(&ai_udp6, bindhost[i], hints) == 0) {
566 memset(&hints, 0, sizeof hints);
567 hints.ai_flags = AI_PASSIVE;
568 hints.ai_family = AF_INET6;
569 hints.ai_socktype = SOCK_DGRAM;
570 hints.ai_protocol = IPPROTO_UDP;
571 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp6);
600 memset(&hints, 0, sizeof hints);
601 hints.ai_flags = AI_PASSIVE;
602 hints.ai_family = AF_INET;
603 hints.ai_socktype = SOCK_STREAM;
604 hints.ai_protocol = IPPROTO_TCP;
605 if (setbindhost(&ai_tcp, bindhost[i], hints) == 0) {
637 memset(&hints, 0, sizeof hints);
638 hints.ai_flags = AI_PASSIVE;
639 hints.ai_family = AF_INET;
640 hints.ai_socktype = SOCK_STREAM;
641 hints.ai_protocol = IPPROTO_TCP;
642 ecode = getaddrinfo(NULL, "nfs", &hints,
670 memset(&hints, 0, sizeof hints);
671 hints.ai_flags = AI_PASSIVE;
672 hints.ai_family = AF_INET6;
673 hints.ai_socktype = SOCK_STREAM;
674 hints.ai_protocol = IPPROTO_TCP;
675 if (setbindhost(&ai_tcp6, bindhost[i], hints) == 0) {
716 memset(&hints, 0, sizeof hints);
717 hints.ai_flags = AI_PASSIVE;
718 hints.ai_family = AF_INET6;
719 hints.ai_socktype = SOCK_STREAM;
720 hints.ai_protocol = IPPROTO_TCP;
721 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp6);
808 setbindhost(struct addrinfo **ai, const char *bindhost, struct addrinfo hints)
820 switch (hints.ai_family) {
823 hints.ai_flags = AI_NUMERICHOST;
832 hints.ai_flags = AI_NUMERICHOST;
844 ecode = getaddrinfo(hostptr, "nfs", &hints, ai);
966 struct addrinfo *aip, hints;
974 memset((void *)&hints, 0, sizeof (hints));
975 hints.ai_flags = AI_CANONNAME;
976 error = getaddrinfo(hostname, NULL, &hints, &aip);