Home
last modified time | relevance | path

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

/system/netd/resolv/
Dlibnetd_resolv_test.cpp214 for (const auto& socktype : socktypes) { in TEST_F() local
217 socktype, protocol)); in TEST_F()
220 if (!socktype || !protocol) continue; in TEST_F()
224 if ((family == AF_INET6 && socktype == SOCK_DGRAM && protocol == IPPROTO_UDP) || in TEST_F()
225 (family == AF_INET6 && socktype == SOCK_STREAM && protocol == IPPROTO_TCP) || in TEST_F()
226 (family == AF_INET && socktype == SOCK_DGRAM && protocol == IPPROTO_UDP) || in TEST_F()
227 (family == AF_INET && socktype == SOCK_STREAM && protocol == IPPROTO_TCP) || in TEST_F()
228 (family == AF_UNSPEC && socktype == SOCK_DGRAM && protocol == IPPROTO_UDP) || in TEST_F()
229 (family == AF_UNSPEC && socktype == SOCK_STREAM && protocol == IPPROTO_TCP)) { in TEST_F()
237 .ai_socktype = socktype, in TEST_F()