Searched refs:dns1 (Results 1 – 6 of 6) sorted by relevance
/system/core/libnetutils/ |
D | dhcpclient.c | 105 uint32_t dns1; member 115 uint32_t *dns1, uint32_t *dns2, uint32_t *server, in get_dhcp_info() argument 121 *dns1 = last_good_info.dns1; in get_dhcp_info() 131 info->dns1, info->dns2); in dhcp_configure() 157 if (info->dns1) ALOGD("dns1: %s", ipaddr(info->dns1)); in dump_dhcp_info() 208 if (optlen >= 4) memcpy(&info->dns1, x + 0, 4); in decode_dhcp_msg()
|
D | ifc_utils.c | 691 in_addr_t dns1, in ifc_configure() argument 722 property_set(dns_prop_name, dns1 ? ipaddr_to_string(dns1) : ""); in ifc_configure()
|
/system/netd/server/ |
D | PppController.cpp | 52 struct in_addr remote, struct in_addr dns1, in attachPppd() argument 82 char *d1 = strdup(inet_ntoa(dns1)); in attachPppd()
|
D | PppController.h | 35 struct in_addr remote, struct in_addr dns1,
|
/system/core/libnetutils/include/netutils/ |
D | ifc.h | 60 in_addr_t dns1, in_addr_t dns2);
|
/system/netd/resolv/ |
D | resolver_test.cpp | 673 test::DNSResponder dns1(listen_addr1, listen_srv, 250, ns_rcode::ns_r_servfail); in TEST_F() local 676 dns1.addMapping(host_name_deferred, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 679 ASSERT_TRUE(dns1.startServer()); in TEST_F() 689 dns1.setDeferredResp(true); in TEST_F() 696 EXPECT_EQ(1U, GetNumQueries(dns1, host_name_deferred)); in TEST_F() 729 EXPECT_EQ(1U, GetNumQueries(dns1, host_name_deferred)); in TEST_F() 736 dns1.setDeferredResp(false); in TEST_F() 854 test::DNSResponder dns1(listen_addr1); in TEST_F() local 857 StartDns(dns1, {{host_name, ns_type::ns_t_aaaa, "2001:db8::6"}}); in TEST_F() 877 dns1.clearQueries(); in TEST_F() [all …]
|