Searched refs:ai_socktype (Results 1 – 6 of 6) sorted by relevance
/bionic/tests/ |
D | netdb_test.cpp | 58 if (p->ai_socktype == SOCK_STREAM) { in TEST() 61 } else if (p->ai_socktype == SOCK_DGRAM) { in TEST() 75 ASSERT_EQ(SOCK_STREAM, ai->ai_socktype); in TEST() 85 hints.ai_socktype = SOCK_STREAM; in TEST() 96 ASSERT_EQ(SOCK_STREAM, tai->ai_socktype); in TEST()
|
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 437 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/tests/headers/posix/ |
D | netdb_h.c | 66 STRUCT_MEMBER(struct addrinfo, int, ai_socktype); in netdb_h()
|
/bionic/libc/include/ |
D | netdb.h | 115 int ai_socktype; /* SOCK_xxx */ member
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 366 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __res_vinit()
|
D | res_cache.c | 2015 .ai_socktype = SOCK_DGRAM, in _resolv_set_nameservers_for_net()
|