Lines Matching refs:presult
945 static uint32_t get_option_serverid (uint8_t *opt, dhcpc_result_t *presult) in get_option_serverid() argument
954 presult->serverid.s_addr = state->serverid.s_addr; in get_option_serverid()
955 presult->serverid.s_addr = ntohl(presult->serverid.s_addr); in get_option_serverid()
970 static uint8_t get_option_lease(uint8_t *opt, dhcpc_result_t *presult) in get_option_lease() argument
979 presult->lease_time = var; in get_option_lease()
1056 static uint8_t dhcpc_parseoptions(dhcpc_result_t *presult, uint8_t *optptr) in dhcpc_parseoptions() argument
1190 if ((overloaded == 1) || (overloaded == 3)) dhcpc_parseoptions(presult, optptr); in dhcpc_parseoptions()
1191 if ((overloaded == 2) || (overloaded == 3)) dhcpc_parseoptions(presult, optptr); in dhcpc_parseoptions()
1196 static uint8_t dhcpc_parsemsg(dhcpc_result_t *presult) in dhcpc_parsemsg() argument
1201 memcpy(&presult->ipaddr.s_addr, &state->pdhcp.yiaddr, 4); in dhcpc_parsemsg()
1202 presult->ipaddr.s_addr = ntohl(presult->ipaddr.s_addr); in dhcpc_parsemsg()