Home
last modified time | relevance | path

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

/system/core/libnetutils/
Ddhcpclient.c86 const char *ipaddr(in_addr_t addr) in ipaddr() function
101 uint32_t ipaddr; member
114 void get_dhcp_info(uint32_t *ipaddr, uint32_t *gateway, uint32_t *prefixLength, in get_dhcp_info() argument
118 *ipaddr = last_good_info.ipaddr; in get_dhcp_info()
130 return ifc_configure(ifname, info->ipaddr, info->prefixLength, info->gateway, in dhcp_configure()
154 strcpy(addr, ipaddr(info->ipaddr)); in dump_dhcp_info()
155 strcpy(gway, ipaddr(info->gateway)); in dump_dhcp_info()
157 if (info->dns1) ALOGD("dns1: %s", ipaddr(info->dns1)); in dump_dhcp_info()
158 if (info->dns2) ALOGD("dns2: %s", ipaddr(info->dns2)); in dump_dhcp_info()
160 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);