Searched refs:dns1 (Results 1 – 7 of 7) 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,
|
D | CommandListener.cpp | 569 struct in_addr l, r, dns1, dns2; in runCommand() local 571 memset(&dns1, 0, sizeof(struct in_addr)); in runCommand() 582 if ((argc > 3) && (!inet_aton(argv[5], &dns1))) { in runCommand() 590 rc = gCtls->pppCtrl.attachPppd(argv[2], l, r, dns1, dns2); in runCommand()
|
/system/core/libnetutils/include/netutils/ |
D | ifc.h | 60 in_addr_t dns1, in_addr_t dns2);
|
/system/netd/tests/ |
D | netd_test.cpp | 556 test::DNSResponder dns1(listen_addr1, listen_srv, 250, in TEST_F() local 559 dns1.addMapping(host_name, ns_type::ns_t_aaaa, "2001:db8::6"); in TEST_F() 561 ASSERT_TRUE(dns1.startServer()); in TEST_F() 586 dns1.clearQueries(); in TEST_F() 589 EXPECT_EQ(1U, GetNumQueries(dns1, host_name)); in TEST_F() 604 test::DNSResponder dns1(listen_addr1, listen_srv, 250, in TEST_F() local 609 dns1.addMapping(host_name, ns_type::ns_t_aaaa, "2001:db8::6"); in TEST_F() 612 ASSERT_TRUE(dns1.startServer()); in TEST_F() 1042 test::DNSResponder dns1(listen_addr1, listen_udp, 250, ns_rcode::ns_r_servfail, 1.0); in TEST_F() local 1044 dns1.addMapping(host_name1, ns_type::ns_t_a, "1.2.3.1"); in TEST_F() [all …]
|