Home
last modified time | relevance | path

Searched refs:ai_flags (Results 1 – 25 of 195) sorted by relevance

12345678

/freebsd/contrib/ofed/librdmacm/
H A Daddrinfo.c52 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 Dacm.c250 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 Dgetaddrinfo.c73 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 Dsocktohost.c61 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 Dntp_rfc2553.c306 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 Dgetaddrinfo.c415 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 Dnfsd.c322 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 DSocketAddress.cpp212 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 Dcommon.c54 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 Drstream.c323 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 Driostream.c359 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 Dh_gai.c85 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 Dgetaddrinfo_test.c99 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 Dstatd.c370 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 DSocketAddress.h39 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 Dgetaddrinfo.c117 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 Dlockd.c539 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 Dexpand_hostname.c78 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 Dsupport.c146 (*res)->ai_flags = hints->ai_flags; in getaddrinfo()
/freebsd/crypto/openssl/crypto/bio/
H A Dbio_addr.c701 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 Dip6_v4mapped_test.c257 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 Dfake-rfc2553.c171 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 Dfake-rfc2553.c181 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 Dfake-rfc2553.c175 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 Dscaffold.c89 hints.ai_flags = AI_PASSIVE | AI_NUMERICHOST; in find_inet_addr()
96 hints.ai_flags = AI_PASSIVE | AI_CANONNAME; in find_inet_addr()

12345678