Home
last modified time | relevance | path

Searched refs:backend_socket_ (Results 1 – 2 of 2) sorted by relevance

/system/netd/resolv/dns_responder/
Ddns_tls_frontend.cpp244 backend_socket_.reset(socket(backend_ai_res->ai_family, backend_ai_res->ai_socktype, in startServer()
246 if (backend_socket_.get() < 0) { in startServer()
247 APLOGI("backend socket %d creation failed", backend_socket_.get()); in startServer()
253 connect(backend_socket_.get(), backend_ai_res->ai_addr, backend_ai_res->ai_addrlen); in startServer()
340 int sent = send(backend_socket_.get(), query, qlen, 0); in handleOneRequest()
347 int rlen = recv(backend_socket_.get(), recv_buffer, max_size, 0); in handleOneRequest()
379 backend_socket_.reset(); in stopServer()
Ddns_tls_frontend.h87 android::base::unique_fd backend_socket_; variable