Searched refs:ai_protocol (Results 1 – 4 of 4) sorted by relevance
/bionic/tests/ |
D | netdb_test.cpp | 58 ASSERT_EQ(IPPROTO_TCP, p->ai_protocol); in TEST() 61 ASSERT_EQ(IPPROTO_UDP, p->ai_protocol); in TEST() 75 ASSERT_EQ(IPPROTO_TCP, ai->ai_protocol); in TEST() 85 hints.ai_protocol = IPPROTO_TCP; in TEST() 96 ASSERT_EQ(IPPROTO_TCP, tai->ai_protocol); in TEST()
|
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 438 hints == NULL ? -1 : hints->ai_protocol, in android_getaddrinfo_proxy() 497 readBE32(proxy, &ai->ai_protocol) && in android_getaddrinfo_proxy() 609 pai->ai_protocol = ANY; in android_getaddrinfofornetcontext() 640 if (pai->ai_socktype != ANY && pai->ai_protocol != ANY) { in android_getaddrinfofornetcontext() 649 && pai->ai_protocol != ex->e_protocol) { in android_getaddrinfofornetcontext() 696 if (!MATCH(pai->ai_protocol, ex->e_protocol, WILD_PROTOCOL(ex))) in android_getaddrinfofornetcontext() 703 if (pai->ai_protocol == ANY && ex->e_protocol != ANY) in android_getaddrinfofornetcontext() 704 pai->ai_protocol = ex->e_protocol; in android_getaddrinfofornetcontext() 756 if (!MATCH(pai->ai_protocol, ex->e_protocol, in android_getaddrinfofornetcontext() 763 if (pai->ai_protocol == ANY && ex->e_protocol != ANY) in android_getaddrinfofornetcontext() [all …]
|
/bionic/libc/include/ |
D | netdb.h | 114 int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ member
|
/bionic/tests/headers/posix/ |
D | netdb_h.c | 67 STRUCT_MEMBER(struct addrinfo, int, ai_protocol); in netdb_h()
|