Home
last modified time | relevance | path

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

/haiku/src/tests/system/network/posixnet/
H A DGetAddrInfo.cpp33 hint.ai_flags = AI_PASSIVE; in EmptyTest()
50 hints.ai_flags = AI_ADDRCONFIG; in AddrConfigTest()
/haiku/src/kits/network/libnetapi/
H A DNetworkAddressResolver.cpp163 hint.ai_flags |= AI_NUMERICHOST; in SetTo()
165 hint.ai_flags |= AI_ADDRCONFIG; in SetTo()
169 hint.ai_flags |= AI_PASSIVE; in SetTo()
/haiku/src/system/libnetwork/netresolv/net/
H A Dgetaddrinfo.c475 pai->ai_flags = 0; in getaddrinfo()
491 if (hints->ai_flags & ~AI_MASK) in getaddrinfo()
525 if ((pai->ai_flags & AI_ADDRCONFIG) != 0 && addrconfig(&mask) == -1) in getaddrinfo()
607 if (pai->ai_flags & AI_NUMERICHOST) in getaddrinfo()
685 if (hints == NULL || !(hints->ai_flags & AI_PASSIVE)) { in getaddrinfo()
1278 if (pai->ai_flags & AI_PASSIVE) { in explore_null()
1357 if ((pai->ai_flags & AI_CANONNAME)) { in explore_numeric()
1377 if ((pai->ai_flags & AI_CANONNAME)) { in explore_numeric()
1484 if ((pai->ai_flags & AI_CANONNAME) != 0) { in get_canonname()
1598 if (ai->ai_flags & AI_NUMERICSERV) in get_port()
[all …]
/haiku/headers/posix/
H A Dnetdb.h47 int ai_flags; member
/haiku/src/tests/system/network/icmp/
H A Dbig_datagram.cpp51 hints.ai_flags = AI_CANONNAME; in host_serv()
/haiku/src/bin/network/ping/
H A Dmain.c159 hints.ai_flags = AI_ADDRCONFIG; in main()
H A Dping6.c514 hints.ai_flags = AI_NUMERICHOST; /* allow hostname? */ in ping6()
660 hints.ai_flags = AI_CANONNAME; in ping6()
/haiku/src/libs/util/
H A Drealhostname.c126 hints.ai_flags = AI_CANONNAME | AI_PASSIVE; in realhostname_sa()
/haiku/src/bin/network/telnet/
H A Dcommands.c2243 hints.ai_flags = 0; in tn()
2307 hints.ai_flags = AI_NUMERICHOST; in tn()
2312 hints.ai_flags = AI_CANONNAME; in tn()
2322 if (hints.ai_flags == AI_NUMERICHOST) { in tn()
2955 hints.ai_flags = AI_NUMERICHOST; in sourceroute()
2958 hints.ai_flags = 0; in sourceroute()
/haiku/src/bin/network/telnetd/
H A Dtelnetd.c336 hints.ai_flags = AI_PASSIVE; in main()
/haiku/src/bin/network/ftpd/
H A Dftpd.c703 hints.ai_flags = AI_PASSIVE; in inithosts()
775 hints.ai_flags = AI_PASSIVE; in inithosts()
3458 hints.ai_flags = AI_PASSIVE; in socksetup()
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_init.c406 hints.ai_flags = AI_NUMERICHOST; in __res_vinit()