Home
last modified time | relevance | path

Searched refs:dns2 (Results 1 – 6 of 6) sorted by relevance

/system/core/libnetutils/
Ddhcpclient.c106 uint32_t dns2; member
115 uint32_t *dns1, uint32_t *dns2, uint32_t *server, in get_dhcp_info() argument
122 *dns2 = last_good_info.dns2; in get_dhcp_info()
131 info->dns1, info->dns2); in dhcp_configure()
158 if (info->dns2) ALOGD("dns2: %s", ipaddr(info->dns2)); in dump_dhcp_info()
209 if (optlen >= 8) memcpy(&info->dns2, x + 4, 4); in decode_dhcp_msg()
Difc_utils.c692 in_addr_t dns2) { in ifc_configure() argument
724 property_set(dns_prop_name, dns2 ? ipaddr_to_string(dns2) : ""); in ifc_configure()
/system/netd/server/
DPppController.cpp53 struct in_addr dns2) { in attachPppd() argument
83 char *d2 = strdup(inet_ntoa(dns2)); in attachPppd()
DPppController.h36 struct in_addr dns2);
/system/core/libnetutils/include/netutils/
Difc.h60 in_addr_t dns1, in_addr_t dns2);
/system/netd/resolv/
Dresolver_test.cpp577 test::DNSResponder dns2(listen_addr2); in TEST_F() local
579 StartDns(dns2, records); in TEST_F()
583 dns2.clearQueries(); in TEST_F()
608 dns2.clearQueries(); in TEST_F()
613 size_t found2 = GetNumQueries(dns2, host_name); in TEST_F()
674 test::DNSResponder dns2(listen_addr2, listen_srv, 250, ns_rcode::ns_r_servfail); in TEST_F() local
677 dns2.addMapping(host_name_deferred, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
680 ASSERT_TRUE(dns2.startServer()); in TEST_F()
708 EXPECT_EQ(0U, GetNumQueries(dns2, host_name_deferred)); in TEST_F()
730 EXPECT_EQ(0U, GetNumQueries(dns2, host_name_deferred)); in TEST_F()
[all …]