Lines Matching refs:DNSClient
50 static string ObjectID(DNSClient* d) { return d->interface_name(); } in ObjectID()
53 const char DNSClient::kErrorNoData[] = "The query response contains no answers";
54 const char DNSClient::kErrorFormErr[] = "The server says the query is bad";
55 const char DNSClient::kErrorServerFail[] = "The server says it had a failure";
56 const char DNSClient::kErrorNotFound[] = "The queried-for domain was not found";
57 const char DNSClient::kErrorNotImp[] = "The server doesn't implement operation";
58 const char DNSClient::kErrorRefused[] = "The server replied, refused the query";
59 const char DNSClient::kErrorBadQuery[] = "Locally we could not format a query";
60 const char DNSClient::kErrorNetRefused[] = "The network connection was refused";
61 const char DNSClient::kErrorTimedOut[] = "The network connection was timed out";
62 const char DNSClient::kErrorUnknown[] = "DNS Resolver unknown internal error";
64 const int DNSClient::kDefaultDNSPort = 53;
76 DNSClient::DNSClient(IPAddress::Family family, in DNSClient() function in shill::DNSClient
93 DNSClient::~DNSClient() { in ~DNSClient()
97 bool DNSClient::Start(const string& hostname, Error* error) { in Start()
175 void DNSClient::Stop() { in Stop()
189 bool DNSClient::IsActive() const { in IsActive()
197 void DNSClient::HandleCompletion() { in HandleCompletion()
215 void DNSClient::HandleDNSRead(int fd) { in HandleDNSRead()
220 void DNSClient::HandleDNSWrite(int fd) { in HandleDNSWrite()
225 void DNSClient::HandleTimeout() { in HandleTimeout()
230 void DNSClient::ReceiveDNSReply(int status, struct hostent* hostent) { in ReceiveDNSReply()
238 dispatcher_->PostTask(Bind(&DNSClient::HandleCompletion, in ReceiveDNSReply()
295 void DNSClient::ReceiveDNSReplyCB(void* arg, int status, in ReceiveDNSReplyCB()
298 DNSClient* res = static_cast<DNSClient*>(arg); in ReceiveDNSReplyCB()
302 bool DNSClient::RefreshHandles() { in RefreshHandles()
316 Bind(&DNSClient::HandleDNSRead, weak_ptr_factory_.GetWeakPtr())); in RefreshHandles()
318 Bind(&DNSClient::HandleDNSWrite, weak_ptr_factory_.GetWeakPtr())); in RefreshHandles()
372 dispatcher_->PostTask(Bind(&DNSClient::HandleCompletion, in RefreshHandles()
381 Bind(&DNSClient::HandleTimeout, weak_ptr_factory_.GetWeakPtr())); in RefreshHandles()