Searched refs:dhcp_option_given (Results 1 – 1 of 1) sorted by relevance
/third_party/lwip/src/core/ipv4/ |
D | dhcp.c | 186 #define dhcp_option_given(dhcp, idx) ((dhcp)->rx_options_given[idx] != 0) macro 345 if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_SERVER_ID)) { in dhcp_handle_offer() 624 if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_LEASE_TIME)) { in dhcp_handle_ack() 629 if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_T1)) { in dhcp_handle_ack() 638 if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_T2)) { in dhcp_handle_ack() 656 if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_SUBNET_MASK)) { in dhcp_handle_ack() 665 if (dhcp_option_given(dhcp, DHCP_OPTION_IDX_ROUTER)) { in dhcp_handle_ack() 671 …for (n = 0; (n < LWIP_DHCP_MAX_NTP_SERVERS) && dhcp_option_given(dhcp, DHCP_OPTION_IDX_NTP_SERVER … in dhcp_handle_ack() 679 …for (n = 0; (n < LWIP_DHCP_PROVIDE_DNS_SERVERS) && dhcp_option_given(dhcp, DHCP_OPTION_IDX_DNS_SER… in dhcp_handle_ack() 1642 …dhcp_option_given(dhcp, DHCP_OPTION_IDX_MSG_TYPE) ? (u8_t)dhcp_get_option_value(dhcp, DHCP_OPTION_… in dhcp_parse_reply() [all …]
|