Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dresolv_private.h120 typedef ResState* res_state; typedef
139 int res_nquery(res_state, const char*, int, int, uint8_t*, int, int*);
140 int res_nsearch(res_state, const char*, int, int, uint8_t*, int, int*);
141 int res_nquerydomain(res_state, const char*, const char*, int, int, uint8_t*, int, int*);
144 int res_nsend(res_state statp, const uint8_t* buf, int buflen, uint8_t* ans, int anssiz, int* rcode,
146 int res_nopt(res_state, int, uint8_t*, int, int);
Dres_send.cpp149 static int send_vc(res_state statp, res_params* params, const uint8_t* buf, int buflen,
152 static int send_dg(res_state statp, res_params* params, const uint8_t* buf, int buflen,
162 static int res_tls_send(res_state, const Slice query, const Slice answer, int* rcode,
298 static int res_ourserver_p(res_state statp, const sockaddr* sa) { in res_ourserver_p()
423 int res_nsend(res_state statp, const uint8_t* buf, int buflen, uint8_t* ans, int anssiz, int* rcode, in res_nsend()
628 static struct timespec get_timeout(res_state statp, const res_params* params, const int ns) { in get_timeout()
649 static int send_vc(res_state statp, res_params* params, const uint8_t* buf, int buflen, in send_vc()
923 static std::vector<pollfd> extractUdpFdset(res_state statp, const short events = POLLIN) { in extractUdpFdset()
931 static Result<std::vector<int>> udpRetryingPoll(res_state statp, const timespec* finish) { in udpRetryingPoll()
957 static Result<std::vector<int>> udpRetryingPollWrapper(res_state statp, int ns, in udpRetryingPollWrapper()
[all …]
Dres_query.cpp102 int res_nquery(res_state statp, const char* name, // domain name in res_nquery()
204 int res_nsearch(res_state statp, const char* name, /* domain name */ in res_nsearch()
328 int res_nquerydomain(res_state statp, const char* name, const char* domain, int cl, in res_nquerydomain()
Dgetaddrinfo.cpp155 static int res_queryN(const char* name, res_target* target, res_state res, int* herrno);
156 static int res_searchN(const char* name, res_target* target, res_state res, int* herrno);
157 static int res_querydomainN(const char* name, const char* domain, res_target* target, res_state res,
1611 QueryResult doQuery(const char* name, res_target* t, res_state res, in doQuery()
1673 static int res_queryN_parallel(const char* name, res_target* target, res_state res, int* herrno) { in res_queryN_parallel()
1711 static int res_queryN_wrapper(const char* name, res_target* target, res_state res, int* herrno) { in res_queryN_wrapper()
1729 static int res_queryN(const char* name, res_target* target, res_state res, int* herrno) { in res_queryN()
1805 static int res_searchN(const char* name, res_target* target, res_state res, int* herrno) { in res_searchN()
1921 static int res_querydomainN(const char* name, const char* domain, res_target* target, res_state res, in res_querydomainN()
DDnsTlsDispatcher.h53 res_state _Nonnull statp, const netdutils::Slice query,
Dres_mkquery.cpp194 int res_nopt(res_state statp, int n0, /* current offset in buffer */ in res_nopt()
DDnsTlsDispatcher.cpp93 res_state statp, const Slice query, in query()