Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dresolv_private.h152 typedef ResState* res_state; typedef
171 int res_nquery(res_state, const char*, int, int, uint8_t*, int, int*);
172 int res_nsearch(res_state, const char*, int, int, uint8_t*, int, int*);
173 int res_nquerydomain(res_state, const char*, const char*, int, int, uint8_t*, int, int*);
176 int res_nsend(res_state statp, const uint8_t* buf, int buflen, uint8_t* ans, int anssiz, int* rcode,
178 int res_nopt(res_state, int, uint8_t*, int, int);
Dres_send.cpp146 static int send_vc(res_state statp, res_params* params, const uint8_t* buf, int buflen,
149 static int send_dg(res_state statp, res_params* params, const uint8_t* buf, int buflen,
159 static int res_tls_send(res_state, const Slice query, const Slice answer, int* rcode,
295 static int res_ourserver_p(res_state statp, const sockaddr* sa) { in res_ourserver_p()
420 int res_nsend(res_state statp, const uint8_t* buf, int buflen, uint8_t* ans, int anssiz, int* rcode, in res_nsend()
634 static struct timespec get_timeout(res_state statp, const res_params* params, const int ns) { in get_timeout()
655 static int send_vc(res_state statp, res_params* params, const uint8_t* buf, int buflen, in send_vc()
932 static std::vector<pollfd> extractUdpFdset(res_state statp, const short events = POLLIN) { in extractUdpFdset()
940 static Result<std::vector<int>> udpRetryingPoll(res_state statp, const timespec* finish) { in udpRetryingPoll()
966 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.cpp154 static int res_queryN(const char* name, res_target* target, res_state res, int* herrno);
155 static int res_searchN(const char* name, res_target* target, res_state res, int* herrno);
156 static int res_querydomainN(const char* name, const char* domain, res_target* target, res_state res,
1610 QueryResult doQuery(const char* name, res_target* t, res_state res, in doQuery()
1675 static int res_queryN_parallel(const char* name, res_target* target, res_state res, int* herrno) { in res_queryN_parallel()
1714 static int res_queryN_wrapper(const char* name, res_target* target, res_state res, int* herrno) { in res_queryN_wrapper()
1732 static int res_queryN(const char* name, res_target* target, res_state res, int* herrno) { in res_queryN()
1808 static int res_searchN(const char* name, res_target* target, res_state res, int* herrno) { in res_searchN()
1924 static int res_querydomainN(const char* name, const char* domain, res_target* target, res_state res, in res_querydomainN()
DDnsTlsDispatcher.h54 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.cpp109 res_state statp, const Slice query, in query()