Home
last modified time | relevance | path

Searched refs:ai_socktype (Results 1 – 6 of 6) 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.c437 hints == NULL ? -1 : hints->ai_socktype, in android_getaddrinfo_proxy()
496 readBE32(proxy, &ai->ai_socktype) && in android_getaddrinfo_proxy()
608 pai->ai_socktype = ANY; in android_getaddrinfofornetcontext()
640 if (pai->ai_socktype != ANY && pai->ai_protocol != ANY) { in android_getaddrinfofornetcontext()
648 if (pai->ai_socktype == ex->e_socktype in android_getaddrinfofornetcontext()
694 if (!MATCH(pai->ai_socktype, ex->e_socktype, WILD_SOCKTYPE(ex))) in android_getaddrinfofornetcontext()
701 if (pai->ai_socktype == ANY && ex->e_socktype != ANY) in android_getaddrinfofornetcontext()
702 pai->ai_socktype = ex->e_socktype; in android_getaddrinfofornetcontext()
752 if (!MATCH(pai->ai_socktype, ex->e_socktype, in android_getaddrinfofornetcontext()
761 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/tests/headers/posix/
Dnetdb_h.c66 STRUCT_MEMBER(struct addrinfo, int, ai_socktype); in netdb_h()
/bionic/libc/dns/resolv/
Dres_init.c366 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __res_vinit()
Dres_cache.c2019 .ai_socktype = SOCK_DGRAM, in _resolv_set_nameservers_for_net()