Lines Matching refs:ipaddr
142 struct in_addr ipaddr; member
182 struct in_addr ipaddr; member
511 if (res->ipaddr.s_addr) { in fill_envp()
512 temp.s_addr = htonl(res->ipaddr.s_addr); in fill_envp()
876 static uint8_t *dhcpc_addreqipaddr(struct in_addr *ipaddr, uint8_t *optptr) in dhcpc_addreqipaddr() argument
880 memcpy(optptr, &ipaddr->s_addr, 4); in dhcpc_addreqipaddr()
1023 if (state->status == STATE_RENEWING) memcpy(&state->pdhcp.ciaddr, &state->ipaddr.s_addr, 4); in dhcpc_sendmsg()
1027 pend = dhcpc_addreqipaddr(&state->ipaddr, pend); in dhcpc_sendmsg()
1037 memcpy(&state->pdhcp.ciaddr, &state->ipaddr.s_addr, 4); in dhcpc_sendmsg()
1199 memcpy(&presult->ipaddr.s_addr, &state->pdhcp.yiaddr, 4); in dhcpc_parsemsg()
1200 presult->ipaddr.s_addr = ntohl(presult->ipaddr.s_addr); in dhcpc_parsemsg()
1241 temp_addr.s_addr = state->ipaddr.s_addr; in release()
1366 memcpy(&state->ipaddr.s_addr,&state->pdhcp.yiaddr, 4); in dhcp_main()
1369 …(result.ipaddr.s_addr >> 24) & 0xff, (result.ipaddr.s_addr >> 16) & 0xff, (result.ipaddr.s_addr >>… in dhcp_main()
1457 if (msgType != DHCPNAK && result.ipaddr.s_addr == 0 ) continue; // no ip for me ignore in dhcp_main()
1483 …(result.ipaddr.s_addr >> 24) & 0xff, (result.ipaddr.s_addr >> 16) & 0xff, (result.ipaddr.s_addr >>… in dhcp_main()
1505 state->ipaddr.s_addr = 0; in dhcp_main()