Home
last modified time | relevance | path

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

/system/core/libnetutils/
Ddhcpclient.c107 uint32_t dns1; member
117 uint32_t *dns1, uint32_t *dns2, uint32_t *server, in get_dhcp_info() argument
123 *dns1 = last_good_info.dns1; in get_dhcp_info()
133 info->dns1, info->dns2); in dhcp_configure()
159 if (info->dns1) ALOGD("dns1: %s", ipaddr(info->dns1)); in dump_dhcp_info()
210 if (optlen >= 4) memcpy(&info->dns1, x + 0, 4); in decode_dhcp_msg()
Difc_utils.c667 in_addr_t dns1, in ifc_configure() argument
698 property_set(dns_prop_name, dns1 ? ipaddr_to_string(dns1) : ""); in ifc_configure()
/system/netd/server/
DPppController.cpp52 struct in_addr remote, struct in_addr dns1, in attachPppd() argument
82 char *d1 = strdup(inet_ntoa(dns1)); in attachPppd()
DPppController.h35 struct in_addr remote, struct in_addr dns1,
DCommandListener.cpp730 struct in_addr l, r, dns1, dns2; in runCommand() local
732 memset(&dns1, 0, sizeof(struct in_addr)); in runCommand()
743 if ((argc > 3) && (!inet_aton(argv[5], &dns1))) { in runCommand()
751 rc = sPppCtrl->attachPppd(argv[2], l, r, dns1, dns2); in runCommand()
/system/core/include/netutils/
Difc.h60 in_addr_t dns1, in_addr_t dns2);