/freebsd/contrib/ofed/librdmacm/ |
H A D | addrinfo.c | 52 if (rai->ai_flags & RAI_PASSIVE) in ucma_convert_to_ai() 53 ai->ai_flags = AI_PASSIVE; in ucma_convert_to_ai() 54 if (rai->ai_flags & RAI_NUMERICHOST) in ucma_convert_to_ai() 55 ai->ai_flags |= AI_NUMERICHOST; in ucma_convert_to_ai() 87 if (rai->ai_flags & RAI_PASSIVE) { in ucma_convert_to_ai() 176 if (ai->ai_flags & AI_PASSIVE) { in ucma_convert_to_rai() 177 rai->ai_flags = RAI_PASSIVE; in ucma_convert_to_rai() 181 if ((hints->ai_flags & RAI_FAMILY) && (hints->ai_family == AF_IB) && in ucma_convert_to_rai() 182 (hints->ai_flags & RAI_NUMERICHOST)) { in ucma_convert_to_rai() 198 if ((hints->ai_flags & RAI_FAMILY) && (hints->ai_family == AF_IB) && in ucma_convert_to_rai() [all …]
|
H A D | acm.c | 250 ib_rai->ai_flags = (*rai)->ai_flags; in ucma_resolve_af_ib() 392 if (hints->ai_flags & (RAI_NUMERICHOST | RAI_NOROUTE)) in ucma_ib_resolve() 441 if (af_ib_support && !(hints->ai_flags & RAI_ROUTEONLY) && (*rai)->ai_route_len) in ucma_ib_resolve()
|
/freebsd/usr.bin/getaddrinfo/ |
H A D | getaddrinfo.c | 73 hints.ai_flags = 0; in main() 78 hints.ai_flags |= AI_CANONNAME; in main() 89 hints.ai_flags |= AI_NUMERICHOST; in main() 93 hints.ai_flags |= AI_NUMERICSERV; in main() 108 hints.ai_flags |= AI_PASSIVE; in main() 127 if (!((argc == 1) || ((argc == 0) && (hints.ai_flags & AI_PASSIVE)))) in main() 154 if ((hints.ai_flags & AI_CANONNAME) && (addrinfo != NULL)) { in main()
|
/freebsd/contrib/ntp/libntp/ |
H A D | socktohost.c | 61 hints.ai_flags = 0; in socktohost() 70 hints.ai_flags = AI_CANONNAME; in socktohost() 72 hints.ai_flags |= AI_ADDRCONFIG; in socktohost() 79 hints.ai_flags &= ~AI_ADDRCONFIG; in socktohost()
|
H A D | ntp_rfc2553.c | 306 ai->ai_flags = hints->ai_flags; in getaddrinfo() 314 flags = hints->ai_flags; in getaddrinfo() 538 if (hints != NULL && (hints->ai_flags & AI_NUMERICHOST)) in do_nodename() 573 if (hints != NULL && (hints->ai_flags & AI_CANONNAME)) in do_nodename()
|
/freebsd/lib/libc/net/ |
H A D | getaddrinfo.c | 415 pai->ai_flags = 0; in getaddrinfo() 431 if (hints->ai_flags & ~AI_MASK) in getaddrinfo() 476 switch (pai->ai_flags & (AI_ALL | AI_V4MAPPED)) { in getaddrinfo() 481 pai->ai_flags &= ~(AI_ALL | AI_V4MAPPED); in getaddrinfo() 485 pai->ai_flags &= ~(AI_ALL | AI_V4MAPPED); in getaddrinfo() 563 if (pai->ai_flags & AI_NUMERICHOST) in getaddrinfo() 566 if ((pai->ai_flags & AI_ADDRCONFIG) != 0 && !addrconfig(&ai0)) in getaddrinfo() 638 if (hints == NULL || !(hints->ai_flags & AI_PASSIVE)) { in getaddrinfo() 1220 if (pai->ai_flags & AI_PASSIVE) { in explore_null() 1285 (pai->ai_flags & AI_V4MAPPED) != AI_V4MAPPED) in explore_numeric() [all …]
|
/freebsd/usr.sbin/nfsd/ |
H A D | nfsd.c | 322 hints.ai_flags = AI_PASSIVE; in main() 346 hints.ai_flags = AI_PASSIVE; in main() 370 hints.ai_flags = AI_PASSIVE; in main() 394 hints.ai_flags = AI_PASSIVE; in main() 508 hints.ai_flags = AI_PASSIVE; in main() 542 hints.ai_flags = AI_PASSIVE; in main() 580 hints.ai_flags = AI_PASSIVE; in main() 622 hints.ai_flags = AI_PASSIVE; in main() 662 hints.ai_flags = AI_PASSIVE; in main() 699 hints.ai_flags = AI_PASSIVE; in main() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Host/common/ |
H A D | SocketAddress.cpp | 212 int ai_flags) { in getaddrinfo() 216 ai_protocol, ai_flags); in getaddrinfo() 225 int ai_flags) { in GetAddressInfo() 233 hints.ai_flags = ai_flags; in GetAddressInfo() 210 getaddrinfo(const char * host,const char * service,int ai_family,int ai_socktype,int ai_protocol,int ai_flags) getaddrinfo() argument 223 GetAddressInfo(const char * hostname,const char * servname,int ai_family,int ai_socktype,int ai_protocol,int ai_flags) GetAddressInfo() argument
|
/freebsd/contrib/ofed/librdmacm/examples/ |
H A D | common.c | 54 if (hints->ai_flags & RAI_PASSIVE) in get_rdma_addr() 59 rai_hints.ai_flags |= RAI_PASSIVE; in get_rdma_addr() 66 rai_hints.ai_flags &= ~RAI_PASSIVE; in get_rdma_addr()
|
H A D | rstream.c | 323 rai_hints.ai_flags |= RAI_PASSIVE; in server_listen() 326 ai_hints.ai_flags |= AI_PASSIVE; in server_listen() 421 rai_hints.ai_flags |= RAI_PASSIVE; in client_connect() 424 ai_hints.ai_flags |= AI_PASSIVE; in client_connect() 635 ai_hints.ai_flags = AI_NUMERICHOST; in main() 637 rai_hints.ai_flags = RAI_NUMERICHOST | RAI_FAMILY; in main()
|
H A D | riostream.c | 359 rai_hints.ai_flags |= RAI_PASSIVE; in server_listen() 362 ai_hints.ai_flags |= AI_PASSIVE; in server_listen() 609 ai_hints.ai_flags = AI_NUMERICHOST; in main() 611 rai_hints.ai_flags = RAI_NUMERICHOST | RAI_FAMILY; in main()
|
/freebsd/contrib/netbsd-tests/lib/libc/net/getaddrinfo/ |
H A D | h_gai.c | 85 printf("%sflags 0x%x%s", start, res->ai_flags, end); in print1() 118 ai.ai_flags |= AI_CANONNAME; in main() 131 ai.ai_flags |= AI_PASSIVE; in main()
|
/freebsd/lib/libc/tests/nss/ |
H A D | getaddrinfo_test.c | 99 if (ai1->ai_flags != ai2->ai_flags || in compare_addrinfo_() 162 ai->ai_flags, ai->ai_family, ai->ai_socktype, ai->ai_protocol, in sdump_addrinfo() 258 pi = &ai->ai_flags + i; in addrinfo_read_snapshot_ai() 364 if ((ai->ai_flags & ~(AI_CANONNAME | AI_NUMERICHOST | AI_PASSIVE)) != 0) in addrinfo_test_correctness() 425 hints.ai_flags = AI_CANONNAME; in run_tests()
|
/freebsd/usr.sbin/rpc.statd/ |
H A D | statd.c | 370 hints.ai_flags = AI_PASSIVE; in create_service() 384 hints.ai_flags |= AI_NUMERICHOST; in create_service() 399 hints.ai_flags |= AI_NUMERICHOST; in create_service() 424 res->ai_flags = hints.ai_flags; in create_service() 582 hints.ai_flags = AI_PASSIVE; in complete_service()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/ |
H A D | SocketAddress.h | 39 int ai_socktype, int ai_protocol, int ai_flags = 0); 100 int ai_protocol = 0, int ai_flags = 0);
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | getaddrinfo.c | 117 a->ai_flags = 0; in add_one() 196 if (hints && hints->ai_flags & AI_PASSIVE) { in get_null() 327 flags = hints->ai_flags; in get_nodes() 404 if(hints && hints->ai_flags & AI_NUMERICHOST) in getaddrinfo()
|
/freebsd/usr.sbin/rpc.lockd/ |
H A D | lockd.c | 539 hints.ai_flags = AI_PASSIVE; in create_service() 561 hints.ai_flags |= AI_NUMERICHOST; in create_service() 577 hints.ai_flags |= AI_NUMERICHOST; in create_service() 602 res->ai_flags = hints.ai_flags; in create_service() 796 hints.ai_flags = AI_PASSIVE; in complete_service()
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | expand_hostname.c | 78 hints.ai_flags = AI_CANONNAME; in krb5_expand_hostname() 158 hints.ai_flags = AI_CANONNAME; in krb5_expand_hostname_realms()
|
/freebsd/contrib/bsnmp/lib/ |
H A D | support.c | 146 (*res)->ai_flags = hints->ai_flags; in getaddrinfo()
|
/freebsd/crypto/openssl/crypto/bio/ |
H A D | bio_addr.c | 701 hints.ai_flags |= AI_ADDRCONFIG; in BIO_lookup_ex() 705 hints.ai_flags |= AI_PASSIVE; in BIO_lookup_ex() 731 if (hints.ai_flags & AI_ADDRCONFIG) { in BIO_lookup_ex() 732 hints.ai_flags &= ~AI_ADDRCONFIG; in BIO_lookup_ex() 733 hints.ai_flags |= AI_NUMERICHOST; in BIO_lookup_ex()
|
/freebsd/tests/sys/netinet/ |
H A D | ip6_v4mapped_test.c | 257 ai_hint.ai_flags = AI_NUMERICHOST | AI_V4MAPPED; in ATF_TC_BODY() 343 ai_hint.ai_flags = AI_NUMERICHOST; in ATF_TC_BODY() 363 ai_hint.ai_flags = AI_NUMERICHOST | AI_V4MAPPED; in ATF_TC_BODY()
|
/freebsd/contrib/unbound/compat/ |
H A D | fake-rfc2553.c | 171 if (hints && hints->ai_flags & AI_PASSIVE) { in getaddrinfo() 196 if (hints && hints->ai_flags & AI_NUMERICHOST) in getaddrinfo()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | fake-rfc2553.c | 181 if (hints && hints->ai_flags & AI_PASSIVE) { in getaddrinfo() 206 if (hints && hints->ai_flags & AI_NUMERICHOST) in getaddrinfo()
|
/freebsd/contrib/ldns/compat/ |
H A D | fake-rfc2553.c | 175 if (hints && hints->ai_flags & AI_PASSIVE) { in getaddrinfo() 200 if (hints && hints->ai_flags & AI_NUMERICHOST) in getaddrinfo()
|
/freebsd/contrib/tcp_wrappers/ |
H A D | scaffold.c | 89 hints.ai_flags = AI_PASSIVE | AI_NUMERICHOST; in find_inet_addr() 96 hints.ai_flags = AI_PASSIVE | AI_CANONNAME; in find_inet_addr()
|