/packages/modules/DnsResolver/ |
D | DnsProxyListener.h | 53 const android_net_context& netcontext); 66 android_net_context mNetContext; 80 const android_net_context& netcontext); 93 android_net_context mNetContext; 107 const android_net_context& netcontext); 121 android_net_context mNetContext; 135 const android_net_context& netcontext); 145 android_net_context mNetContext;
|
D | DnsProxyListener.cpp | 147 void maybeFixupNetContext(android_net_context* ctx, pid_t pid) { in maybeFixupNetContext() 310 void initDnsEvent(NetworkDnsEventReported* event, const android_net_context& netContext) { in initDnsEvent() 333 void maybeLogQuery(int eventType, const android_net_context& netContext, in maybeLogQuery() 351 void reportDnsEvent(int eventType, const android_net_context& netContext, int latencyUs, in reportDnsEvent() 568 const android_net_context& netcontext) in GetAddrInfoHandler() 577 static bool evaluate_domain_name(const android_net_context &netcontext, in evaluate_domain_name() 828 android_net_context netcontext; in runCommand() 884 android_net_context netcontext; in runCommand() 898 const android_net_context& netcontext) in ResNSendHandler() 1038 android_net_context netcontext; in runCommand() [all …]
|
D | Dns64Configuration.h | 30 struct android_net_context; 64 using GetNetworkContextCallback = std::function<void(uint32_t, uint32_t, android_net_context*)>; 108 static bool doRfc7050PrefixDiscovery(const android_net_context& netcontext, Dns64Config* cfg);
|
D | resolv_callback_unit_test.cpp | 52 void getNetworkContextCallback(uint32_t, uint32_t, android_net_context*) { in getNetworkContextCallback() argument 70 bool evaluateDomainNameCallback(const android_net_context&, const char*) { in evaluateDomainNameCallback() argument 134 const android_net_context mNetcontext = {
|
D | getaddrinfo.h | 25 const addrinfo* hints, const android_net_context* netcontext, 30 const android_net_context* netcontext, addrinfo** res,
|
D | gethnamaddr.h | 32 const android_net_context* netcontext, hostent** result, 37 size_t buflen, const android_net_context* netcontext, hostent** result,
|
D | gethnamaddr.cpp | 113 const android_net_context* netcontext, getnamaddr* info, 389 const android_net_context* netcontext, hostent** result, in resolv_gethostbyname() 476 size_t buflen, const struct android_net_context* netcontext, in resolv_gethostbyaddr() 685 const android_net_context* netcontext, getnamaddr* info, in dns_gethtbyaddr()
|
D | Dns64Configuration.cpp | 82 android_net_context netcontext{}; in startPrefixDiscovery() 149 bool Dns64Configuration::doRfc7050PrefixDiscovery(const android_net_context& netcontext, in doRfc7050PrefixDiscovery()
|
D | getaddrinfo.cpp | 129 const struct android_net_context*, NetworkDnsEventReported* event); 145 const android_net_context* netcontext, addrinfo** rv, 265 const android_net_context netcontext = { in getaddrinfo_numeric() 324 const addrinfo* hints, const android_net_context* netcontext, in android_getaddrinfofornetcontext() 411 const android_net_context* _Nonnull netcontext, addrinfo** _Nonnull res, in resolv_getaddrinfo() 463 addrinfo** res, const android_net_context* netcontext, in explore_fqdn() 1395 const android_net_context* netcontext, addrinfo** rv, in dns_getaddrinfo()
|
D | res_send.h | 23 int resolv_res_nsend(const android_net_context* netContext, const uint8_t* msg, int msgLen,
|
D | res_init.h | 22 void res_init(ResState* res, const struct android_net_context* netcontext,
|
D | ResolverController.cpp | 177 [](uint32_t netId, uint32_t uid, android_net_context* netcontext) { in ResolverController() 205 android_net_context netcontext; in setResolverConfiguration()
|
D | res_init.cpp | 96 void res_init(ResState* statp, const struct android_net_context* _Nonnull netcontext, in res_init()
|
D | res_send.cpp | 1295 int resolv_res_nsend(const android_net_context* netContext, const uint8_t* msg, int msgLen, in resolv_res_nsend()
|
D | resolv_unit_test.cpp | 130 const android_net_context mNetcontext = {
|
/packages/modules/DnsResolver/include/netd_resolv/ |
D | resolv.h | 59 struct android_net_context { struct 78 android_net_context* netcontext); argument 103 const android_net_context &netcontext, const char *host);
|
/packages/modules/DnsResolver/tests/ |
D | resolv_gold_test.cpp | 168 android_net_context GetNetContext(const DnsProtocol protocol) { in GetNetContext() 199 const android_net_context netcontext = GetNetContext(protocol); in VerifyGetAddrInfo() 214 const android_net_context netcontext = GetNetContext(protocol); in VerifyGetHostByName() 259 static constexpr android_net_context kNetcontext = { 266 static constexpr android_net_context kNetcontextTls = {
|