Lines Matching defs:hints

112 		    struct addrinfo hints);
148 struct addrinfo *ai_udp, *ai_tcp, *ai_udp6, *ai_tcp6, hints;
321 memset(&hints, 0, sizeof hints);
322 hints.ai_flags = AI_PASSIVE;
323 hints.ai_family = AF_INET;
324 hints.ai_socktype = SOCK_DGRAM;
325 hints.ai_protocol = IPPROTO_UDP;
326 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
345 memset(&hints, 0, sizeof hints);
346 hints.ai_flags = AI_PASSIVE;
347 hints.ai_family = AF_INET6;
348 hints.ai_socktype = SOCK_DGRAM;
349 hints.ai_protocol = IPPROTO_UDP;
350 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp6);
369 memset(&hints, 0, sizeof hints);
370 hints.ai_flags = AI_PASSIVE;
371 hints.ai_family = AF_INET;
372 hints.ai_socktype = SOCK_STREAM;
373 hints.ai_protocol = IPPROTO_TCP;
374 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp);
393 memset(&hints, 0, sizeof hints);
394 hints.ai_flags = AI_PASSIVE;
395 hints.ai_family = AF_INET6;
396 hints.ai_socktype = SOCK_STREAM;
397 hints.ai_protocol = IPPROTO_TCP;
398 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp6);
507 memset(&hints, 0, sizeof hints);
508 hints.ai_flags = AI_PASSIVE;
509 hints.ai_family = AF_INET;
510 hints.ai_socktype = SOCK_DGRAM;
511 hints.ai_protocol = IPPROTO_UDP;
512 if (setbindhost(&ai_udp, bindhost[i], hints) == 0) {
541 memset(&hints, 0, sizeof hints);
542 hints.ai_flags = AI_PASSIVE;
543 hints.ai_family = AF_INET;
544 hints.ai_socktype = SOCK_DGRAM;
545 hints.ai_protocol = IPPROTO_UDP;
546 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp);
579 memset(&hints, 0, sizeof hints);
580 hints.ai_flags = AI_PASSIVE;
581 hints.ai_family = AF_INET6;
582 hints.ai_socktype = SOCK_DGRAM;
583 hints.ai_protocol = IPPROTO_UDP;
584 if (setbindhost(&ai_udp6, bindhost[i], hints) == 0) {
621 memset(&hints, 0, sizeof hints);
622 hints.ai_flags = AI_PASSIVE;
623 hints.ai_family = AF_INET6;
624 hints.ai_socktype = SOCK_DGRAM;
625 hints.ai_protocol = IPPROTO_UDP;
626 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_udp6);
661 memset(&hints, 0, sizeof hints);
662 hints.ai_flags = AI_PASSIVE;
663 hints.ai_family = AF_INET;
664 hints.ai_socktype = SOCK_STREAM;
665 hints.ai_protocol = IPPROTO_TCP;
666 if (setbindhost(&ai_tcp, bindhost[i], hints) == 0) {
698 memset(&hints, 0, sizeof hints);
699 hints.ai_flags = AI_PASSIVE;
700 hints.ai_family = AF_INET;
701 hints.ai_socktype = SOCK_STREAM;
702 hints.ai_protocol = IPPROTO_TCP;
703 ecode = getaddrinfo(NULL, "nfs", &hints,
737 memset(&hints, 0, sizeof hints);
738 hints.ai_flags = AI_PASSIVE;
739 hints.ai_family = AF_INET6;
740 hints.ai_socktype = SOCK_STREAM;
741 hints.ai_protocol = IPPROTO_TCP;
742 if (setbindhost(&ai_tcp6, bindhost[i], hints) == 0) {
783 memset(&hints, 0, sizeof hints);
784 hints.ai_flags = AI_PASSIVE;
785 hints.ai_family = AF_INET6;
786 hints.ai_socktype = SOCK_STREAM;
787 hints.ai_protocol = IPPROTO_TCP;
788 ecode = getaddrinfo(NULL, "nfs", &hints, &ai_tcp6);
881 setbindhost(struct addrinfo **ai, const char *bindhost, struct addrinfo hints)
893 switch (hints.ai_family) {
896 hints.ai_flags = AI_NUMERICHOST;
905 hints.ai_flags = AI_NUMERICHOST;
917 ecode = getaddrinfo(hostptr, "nfs", &hints, ai);
1038 struct addrinfo *aip, hints;
1049 memset((void *)&hints, 0, sizeof (hints));
1050 hints.ai_flags = AI_CANONNAME;
1051 error = getaddrinfo(hostname, NULL, &hints, &aip);
1202 struct addrinfo hints, *ai_tcp, *res;
1292 memset(&hints, 0, sizeof(hints));
1293 hints.ai_flags = AI_CANONNAME | AI_ADDRCONFIG;
1294 hints.ai_family = PF_UNSPEC;
1295 hints.ai_socktype = SOCK_STREAM;
1296 hints.ai_protocol = IPPROTO_TCP;
1297 ecode = getaddrinfo(cp, NULL, &hints, &ai_tcp);