• Home
  • Raw
  • Download

Lines Matching refs:DNSResolver

38   auto resolv = static_cast<DNSResolver *>(data);  in sock_state_cb()
59 auto resolv = static_cast<DNSResolver *>(arg); in host_cb()
65 void process_result(DNSResolver *resolv) { in process_result()
86 auto resolv = static_cast<DNSResolver *>(w->data); in readcb()
94 auto resolv = static_cast<DNSResolver *>(w->data); in writecb()
102 auto resolv = static_cast<DNSResolver *>(w->data); in timeoutcb()
117 DNSResolver::DNSResolver(struct ev_loop *loop) in DNSResolver() function in shrpx::DNSResolver
127 DNSResolver::~DNSResolver() { in ~DNSResolver()
138 int DNSResolver::resolve(const StringRef &name, int family) { in resolve()
182 int DNSResolver::on_read(int fd) { return handle_event(fd, ARES_SOCKET_BAD); } in on_read()
184 int DNSResolver::on_write(int fd) { return handle_event(ARES_SOCKET_BAD, fd); } in on_write()
186 int DNSResolver::on_timeout() { in on_timeout()
190 int DNSResolver::handle_event(int rfd, int wfd) { in handle_event()
212 void DNSResolver::reset_timeout() { in reset_timeout()
227 DNSResolverStatus DNSResolver::get_status(Address *result) const { in get_status()
276 void DNSResolver::start_rev(int fd) { in start_rev()
280 void DNSResolver::stop_rev(int fd) { stop_ev(revs_, loop_, fd, EV_READ); } in stop_rev()
282 void DNSResolver::start_wev(int fd) { in start_wev()
286 void DNSResolver::stop_wev(int fd) { stop_ev(wevs_, loop_, fd, EV_WRITE); } in stop_wev()
288 void DNSResolver::on_result(int status, hostent *hostent) { in on_result()
347 void DNSResolver::set_complete_cb(CompleteCb cb) { in set_complete_cb()
351 CompleteCb DNSResolver::get_complete_cb() const { return completeCb_; } in get_complete_cb()