Home
last modified time | relevance | path

Searched refs:ai_socktype (Results 1 – 5 of 5) sorted by relevance

/bionic/tests/
Dnetdb_test.cpp57 if (p->ai_socktype == SOCK_STREAM) { in TEST()
60 } else if (p->ai_socktype == SOCK_DGRAM) { in TEST()
74 ASSERT_EQ(SOCK_STREAM, ai->ai_socktype); in TEST()
84 hints.ai_socktype = SOCK_STREAM; in TEST()
95 ASSERT_EQ(SOCK_STREAM, tai->ai_socktype); in TEST()
/bionic/libc/dns/net/
Dgetaddrinfo.c436 hints == NULL ? -1 : hints->ai_socktype, in android_getaddrinfo_proxy()
495 readBE32(proxy, &ai->ai_socktype) && in android_getaddrinfo_proxy()
603 pai->ai_socktype = ANY; in android_getaddrinfofornetcontext()
635 if (pai->ai_socktype != ANY && pai->ai_protocol != ANY) { in android_getaddrinfofornetcontext()
643 if (pai->ai_socktype == ex->e_socktype in android_getaddrinfofornetcontext()
689 if (!MATCH(pai->ai_socktype, ex->e_socktype, WILD_SOCKTYPE(ex))) in android_getaddrinfofornetcontext()
696 if (pai->ai_socktype == ANY && ex->e_socktype != ANY) in android_getaddrinfofornetcontext()
697 pai->ai_socktype = ex->e_socktype; in android_getaddrinfofornetcontext()
747 if (!MATCH(pai->ai_socktype, ex->e_socktype, in android_getaddrinfofornetcontext()
756 if (pai->ai_socktype == ANY && ex->e_socktype != ANY) in android_getaddrinfofornetcontext()
[all …]
/bionic/libc/include/
Dnetdb.h113 int ai_socktype; /* SOCK_xxx */ member
/bionic/libc/dns/resolv/
Dres_init.c365 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __res_vinit()
Dres_cache.c1955 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in _resolv_set_nameservers_for_net()