Searched refs:dns2 (Results 1 - 9 of 9) sorted by relevance

/system/core/include/netutils/
H A Ddhcp.h31 char *dns2,
H A Difc.h70 in_addr_t dns1, in_addr_t dns2);
/system/core/rootdir/etc/
H A Dinit.goldfish.sh42 2) setprop net.eth0.dns2 10.0.2.4
44 3) setprop net.eth0.dns2 10.0.2.4
47 4) setprop net.eth0.dns2 10.0.2.4
/system/netd/
H A DPppController.h36 struct in_addr dns2);
H A DPppController.cpp53 struct in_addr dns2) {
83 char *d2 = strdup(inet_ntoa(dns2));
51 attachPppd(const char *tty, struct in_addr local, struct in_addr remote, struct in_addr dns1, struct in_addr dns2) argument
H A DCommandListener.cpp782 struct in_addr l, r, dns1, dns2; local
785 memset(&dns2, sizeof(struct in_addr), 0);
799 if ((argc > 4) && (!inet_aton(argv[6], &dns2))) {
800 cli->sendMsg(ResponseCode::CommandParameterError, "Invalid dns2 address", false);
803 rc = sPppCtrl->attachPppd(argv[2], l, r, dns1, dns2);
890 } else if (!strcmp(argv[1], "setifdns")) { // "resolver setifdns <iface> <dns1> <dns2> ..."
/system/core/libnetutils/
H A Ddhcp_utils.c92 char *dns2,
144 snprintf(prop_name, sizeof(prop_name), "%s.%s.dns2", DHCP_PROP_NAME_PREFIX, p2p_interface);
145 property_get(prop_name, dns2, NULL);
181 char *dns2,
236 dns1, dns2, server, lease, vendorInfo) == -1) {
244 snprintf(dns_prop_name, sizeof(dns_prop_name), "net.%s.dns2", interface);
245 property_set(dns_prop_name, *dns2 ? ipaddr_to_string(*dns2) : "");
331 char *dns2,
371 dns1, dns2, serve
87 fill_ip_info(const char *interface, char *ipaddr, char *gateway, uint32_t *prefixLength, char *dns1, char *dns2, char *server, uint32_t *lease, char *vendorInfo) argument
176 dhcp_do_request(const char *interface, char *ipaddr, char *gateway, uint32_t *prefixLength, char *dns1, char *dns2, char *server, uint32_t *lease, char *vendorInfo) argument
326 dhcp_do_request_renew(const char *interface, char *ipaddr, char *gateway, uint32_t *prefixLength, char *dns1, char *dns2, char *server, uint32_t *lease, char *vendorInfo) argument
[all...]
H A Ddhcpclient.c108 uint32_t dns2; member in struct:dhcp_info
117 uint32_t *dns1, uint32_t *dns2, uint32_t *server,
124 *dns2 = last_good_info.dns2;
133 info->dns1, info->dns2);
160 if (info->dns2) ALOGD("dns2: %s", ipaddr(info->dns2));
211 if (optlen >= 8) memcpy(&info->dns2, x + 4, 4);
116 get_dhcp_info(uint32_t *ipaddr, uint32_t *gateway, uint32_t *prefixLength, uint32_t *dns1, uint32_t *dns2, uint32_t *server, uint32_t *lease) argument
H A Difc_utils.c783 in_addr_t dns2) {
814 snprintf(dns_prop_name, sizeof(dns_prop_name), "net.%s.dns2", ifname);
815 property_set(dns_prop_name, dns2 ? ipaddr_to_string(dns2) : "");
778 ifc_configure(const char *ifname, in_addr_t address, uint32_t prefixLength, in_addr_t gateway, in_addr_t dns1, in_addr_t dns2) argument

Completed in 112 milliseconds