Lines Matching full:hints
115 struct addrinfo hints);
151 struct addrinfo *ai_udp, *ai_tcp, *ai_udp6, *ai_tcp6, hints; in main() local
328 memset(&hints, 0, sizeof hints); in main()
329 hints.ai_flags = AI_PASSIVE; in main()
330 hints.ai_family = AF_INET; in main()
331 hints.ai_socktype = SOCK_DGRAM; in main()
332 hints.ai_protocol = IPPROTO_UDP; in main()
333 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp); in main()
352 memset(&hints, 0, sizeof hints); in main()
353 hints.ai_flags = AI_PASSIVE; in main()
354 hints.ai_family = AF_INET6; in main()
355 hints.ai_socktype = SOCK_DGRAM; in main()
356 hints.ai_protocol = IPPROTO_UDP; in main()
357 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp6); in main()
376 memset(&hints, 0, sizeof hints); in main()
377 hints.ai_flags = AI_PASSIVE; in main()
378 hints.ai_family = AF_INET; in main()
379 hints.ai_socktype = SOCK_STREAM; in main()
380 hints.ai_protocol = IPPROTO_TCP; in main()
381 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp); in main()
400 memset(&hints, 0, sizeof hints); in main()
401 hints.ai_flags = AI_PASSIVE; in main()
402 hints.ai_family = AF_INET6; in main()
403 hints.ai_socktype = SOCK_STREAM; in main()
404 hints.ai_protocol = IPPROTO_TCP; in main()
405 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp6); in main()
528 memset(&hints, 0, sizeof hints); in main()
529 hints.ai_flags = AI_PASSIVE; in main()
530 hints.ai_family = AF_INET; in main()
531 hints.ai_socktype = SOCK_DGRAM; in main()
532 hints.ai_protocol = IPPROTO_UDP; in main()
533 if (setbindhost(&ai_udp, bindhost[i], hints) == 0) { in main()
562 memset(&hints, 0, sizeof hints); in main()
563 hints.ai_flags = AI_PASSIVE; in main()
564 hints.ai_family = AF_INET; in main()
565 hints.ai_socktype = SOCK_DGRAM; in main()
566 hints.ai_protocol = IPPROTO_UDP; in main()
567 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp); in main()
600 memset(&hints, 0, sizeof hints); in main()
601 hints.ai_flags = AI_PASSIVE; in main()
602 hints.ai_family = AF_INET6; in main()
603 hints.ai_socktype = SOCK_DGRAM; in main()
604 hints.ai_protocol = IPPROTO_UDP; in main()
605 if (setbindhost(&ai_udp6, bindhost[i], hints) == 0) { in main()
642 memset(&hints, 0, sizeof hints); in main()
643 hints.ai_flags = AI_PASSIVE; in main()
644 hints.ai_family = AF_INET6; in main()
645 hints.ai_socktype = SOCK_DGRAM; in main()
646 hints.ai_protocol = IPPROTO_UDP; in main()
647 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp6); in main()
682 memset(&hints, 0, sizeof hints); in main()
683 hints.ai_flags = AI_PASSIVE; in main()
684 hints.ai_family = AF_INET; in main()
685 hints.ai_socktype = SOCK_STREAM; in main()
686 hints.ai_protocol = IPPROTO_TCP; in main()
687 if (setbindhost(&ai_tcp, bindhost[i], hints) == 0) { in main()
719 memset(&hints, 0, sizeof hints); in main()
720 hints.ai_flags = AI_PASSIVE; in main()
721 hints.ai_family = AF_INET; in main()
722 hints.ai_socktype = SOCK_STREAM; in main()
723 hints.ai_protocol = IPPROTO_TCP; in main()
724 ecode = getaddrinfo(NULL, "nfs", &hints, in main()
758 memset(&hints, 0, sizeof hints); in main()
759 hints.ai_flags = AI_PASSIVE; in main()
760 hints.ai_family = AF_INET6; in main()
761 hints.ai_socktype = SOCK_STREAM; in main()
762 hints.ai_protocol = IPPROTO_TCP; in main()
763 if (setbindhost(&ai_tcp6, bindhost[i], hints) == 0) { in main()
804 memset(&hints, 0, sizeof hints); in main()
805 hints.ai_flags = AI_PASSIVE; in main()
806 hints.ai_family = AF_INET6; in main()
807 hints.ai_socktype = SOCK_STREAM; in main()
808 hints.ai_protocol = IPPROTO_TCP; in main()
809 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp6); in main()
902 setbindhost(struct addrinfo **ai, const char *bindhost, struct addrinfo hints) in setbindhost() argument
914 switch (hints.ai_family) { in setbindhost()
917 hints.ai_flags = AI_NUMERICHOST; in setbindhost()
926 hints.ai_flags = AI_NUMERICHOST; in setbindhost()
938 ecode = getaddrinfo(hostptr, "nfs", &hints, ai); in setbindhost()
1061 struct addrinfo *aip, hints; in start_server() local
1072 memset((void *)&hints, 0, sizeof (hints)); in start_server()
1073 hints.ai_flags = AI_CANONNAME; in start_server()
1074 error = getaddrinfo(hostname, NULL, &hints, &aip); in start_server()
1225 struct addrinfo hints, *ai_tcp, *res; in parse_dsserver() local
1315 memset(&hints, 0, sizeof(hints)); in parse_dsserver()
1316 hints.ai_flags = AI_CANONNAME | AI_ADDRCONFIG; in parse_dsserver()
1317 hints.ai_family = PF_UNSPEC; in parse_dsserver()
1318 hints.ai_socktype = SOCK_STREAM; in parse_dsserver()
1319 hints.ai_protocol = IPPROTO_TCP; in parse_dsserver()
1320 ecode = getaddrinfo(cp, NULL, &hints, &ai_tcp); in parse_dsserver()