Home
last modified time | relevance | path

Searched refs:ipaddr (Results 1 – 4 of 4) sorted by relevance

/system/core/libnetutils/
Ddhcpclient.c88 const char *ipaddr(in_addr_t addr) in ipaddr() function
103 uint32_t ipaddr; member
116 void get_dhcp_info(uint32_t *ipaddr, uint32_t *gateway, uint32_t *prefixLength, in get_dhcp_info() argument
120 *ipaddr = last_good_info.ipaddr; in get_dhcp_info()
132 return ifc_configure(ifname, info->ipaddr, info->prefixLength, info->gateway, in dhcp_configure()
156 strcpy(addr, ipaddr(info->ipaddr)); in dump_dhcp_info()
157 strcpy(gway, ipaddr(info->gateway)); in dump_dhcp_info()
159 if (info->dns1) ALOGD("dns1: %s", ipaddr(info->dns1)); in dump_dhcp_info()
160 if (info->dns2) ALOGD("dns2: %s", ipaddr(info->dns2)); in dump_dhcp_info()
162 ipaddr(info->serveraddr), info->lease); in dump_dhcp_info()
[all …]
Ddhcpmsg.c74 uint32_t ipaddr, uint32_t serveraddr) in init_dhcp_request_msg() argument
89 memcpy(x, &ipaddr, 4); in init_dhcp_request_msg()
Ddhcpmsg.h104 uint32_t ipaddr, uint32_t serveraddr);
/system/connectivity/shill/
Ddns_client_unittest.cc187 IPAddress ipaddr(dns_client_->address_.family()); in TestValidCompletion() local
188 ASSERT_TRUE(ipaddr.SetAddressFromString(kResult)); in TestValidCompletion()
189 EXPECT_TRUE(ipaddr.Equals(dns_client_->address_)); in TestValidCompletion()
198 EXPECT_TRUE(ipaddr.Equals(address_result_)); in TestValidCompletion()