Searched refs:dns2 (Results 1 – 7 of 7) sorted by relevance
/system/core/libnetutils/ |
D | dhcpclient.c | 106 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()
|
D | ifc_utils.c | 692 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/ |
D | PppController.cpp | 53 struct in_addr dns2) { in attachPppd() argument 83 char *d2 = strdup(inet_ntoa(dns2)); in attachPppd()
|
D | PppController.h | 36 struct in_addr dns2);
|
D | CommandListener.cpp | 569 struct in_addr l, r, dns1, dns2; in runCommand() local 572 memset(&dns2, 0, sizeof(struct in_addr)); in runCommand() 586 if ((argc > 4) && (!inet_aton(argv[6], &dns2))) { in runCommand() 590 rc = gCtls->pppCtrl.attachPppd(argv[2], l, r, dns1, dns2); in runCommand()
|
/system/netd/tests/ |
D | netd_test.cpp | 386 test::DNSResponder dns2(listen_addr2, listen_srv, 250, in TEST_F() local 388 dns2.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 389 dns2.addMapping(host_name, ns_type::ns_t_aaaa, "::1.2.3.4"); in TEST_F() 390 ASSERT_TRUE(dns2.startServer()); in TEST_F() 396 dns2.clearQueries(); in TEST_F() 429 dns2.clearQueries(); in TEST_F() 433 size_t found2 = GetNumQueries(dns2, host_name); in TEST_F() 447 dns2.stopServer(); in TEST_F() 606 test::DNSResponder dns2(listen_addr2, listen_srv, 250, in TEST_F() local 610 dns2.addMapping(host_name, ns_type::ns_t_aaaa, "2001:db8::7"); in TEST_F() [all …]
|
/system/core/libnetutils/include/netutils/ |
D | ifc.h | 60 in_addr_t dns1, in_addr_t dns2);
|