Lines Matching refs:ipaddr
88 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()
232 info->ipaddr = msg->yiaddr; in decode_dhcp_msg()
275 ALOGD("ciaddr = %s", ipaddr(msg->ciaddr)); in dump_dhcp_msg()
276 ALOGD("yiaddr = %s", ipaddr(msg->yiaddr)); in dump_dhcp_msg()
277 ALOGD("siaddr = %s", ipaddr(msg->siaddr)); in dump_dhcp_msg()
278 ALOGD("giaddr = %s", ipaddr(msg->giaddr)); in dump_dhcp_msg()
453 size = init_dhcp_request_msg(msg, hwaddr, xid, info.ipaddr, info.serveraddr); in dhcp_init_ifc()