Home
last modified time | relevance | path

Searched refs:DHCP_OPTIONS_LEN (Results 1 – 2 of 2) sorted by relevance

/third_party/lwip/src/include/lwip/prot/
Ddhcp.h82 #if ((defined(DHCP_OPTIONS_LEN)) && (DHCP_OPTIONS_LEN < DHCP_MIN_OPTIONS_LEN))
83 # undef DHCP_OPTIONS_LEN
86 #if (!defined(DHCP_OPTIONS_LEN))
88 # define DHCP_OPTIONS_LEN DHCP_MIN_OPTIONS_LEN macro
90 PACK_STRUCT_FLD_8(u8_t options[DHCP_OPTIONS_LEN]);
/third_party/lwip/src/core/ipv4/
Ddhcp.c1501 …_len + 2 + option_len <= DHCP_OPTIONS_LEN", options_out_len + 2U + option_len <= DHCP_OPTIONS_LEN);
1513 …ASSERT("dhcp_option_byte: options_out_len < DHCP_OPTIONS_LEN", options_out_len < DHCP_OPTIONS_LEN);
1521 …_option_short: options_out_len + 2 <= DHCP_OPTIONS_LEN", options_out_len + 2U <= DHCP_OPTIONS_LEN);
1530 …p_option_long: options_out_len + 4 <= DHCP_OPTIONS_LEN", options_out_len + 4U <= DHCP_OPTIONS_LEN);
1549 size_t available = DHCP_OPTIONS_LEN - options_out_len - 3;
2034 (options_out_len < DHCP_OPTIONS_LEN)) {
2039 pbuf_realloc(p_out, (u16_t)(sizeof(struct dhcp_msg) - DHCP_OPTIONS_LEN + options_out_len));