HomeSort by relevance Sort by last modified time
    Searched refs:DNSResponder (Results 1 - 3 of 3) sorted by null

  /system/netd/tests/
dns_responder.h 43 class DNSResponder {
45 DNSResponder(std::string listen_address, std::string listen_service,
48 ~DNSResponder();
netd_test.cpp 226 std::vector<std::unique_ptr<test::DNSResponder>>* dns,
236 d = std::make_unique<test::DNSResponder>(server, listen_srv, 250,
247 void ShutdownDNSServers(std::vector<std::unique_ptr<test::DNSResponder>>* dns) const {
343 size_t GetNumQueries(const test::DNSResponder& dns, const char* name) const {
354 size_t GetNumQueriesForType(const test::DNSResponder& dns, ns_type type,
369 std::vector<std::unique_ptr<test::DNSResponder>> dns;
425 test::DNSResponder dns(listen_addr, listen_srv, 250, ns_rcode::ns_r_servfail, 1.0);
462 std::vector<std::unique_ptr<test::DNSResponder>> dns;
514 test::DNSResponder dns(listen_addr, listen_srv, 250,
520 test::DNSResponder dns2(listen_addr2, listen_srv, 250
    [all...]
dns_responder.cpp 519 DNSResponder::DNSResponder(std::string listen_address,
527 DNSResponder::~DNSResponder() {
531 void DNSResponder::addMapping(const char* name, ns_type type,
547 void DNSResponder::removeMapping(const char* name, ns_type type) {
558 void DNSResponder::setResponseProbability(double response_probability) {
562 bool DNSResponder::running() const {
566 bool DNSResponder::startServer() {
637 handler_thread_ = std::thread(&DNSResponder::requestHandler, this)
    [all...]

Completed in 576 milliseconds