Searched refs:dhcp_get_option_value (Results 1 – 1 of 1) sorted by relevance
/external/syslinux/core/lwip/src/core/ |
D | dhcp.c | 133 #define dhcp_get_option_value(dhcp, idx) (dhcp_rx_options_val[idx]) macro 245 …ip4_addr_set_u32(&dhcp->server_ip_addr, htonl(dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_SERVER_I… in dhcp_handle_offer() 521 dhcp->offered_t0_lease = dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_LEASE_TIME); in dhcp_handle_ack() 526 dhcp->offered_t1_renew = dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_T1); in dhcp_handle_ack() 535 dhcp->offered_t2_rebind = dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_T2); in dhcp_handle_ack() 553 …ip4_addr_set_u32(&dhcp->offered_sn_mask, htonl(dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_SUBNET_… in dhcp_handle_ack() 561 …ip4_addr_set_u32(&dhcp->offered_gw_addr, htonl(dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_ROUTER)… in dhcp_handle_ack() 569 ip4_addr_set_u32(&dns_addr, htonl(dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_DNS_SERVER + n))); in dhcp_handle_ack() 1471 u32_t overload = dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_OVERLOAD); in dhcp_parse_reply() 1490 (dhcp_get_option_value(dhcp, DHCP_OPTION_IDX_MSG_TYPE) == DHCP_ACK)) in dhcp_parse_reply() [all …]
|