DHCP_OPTIONS_LEN is only used within LwIP.
 
Symbols
loading...
Files
loading...

DHCP_OPTIONS_LEN macro

allow this to be configured in lwipopts.h, but not too small

Syntax

# define DHCP_OPTIONS_LEN DHCP_MIN_OPTIONS_LEN

References

LocationText
dhcp.h:88
# define DHCP_OPTIONS_LEN DHCP_MIN_OPTIONS_LEN
dhcp.c:1434
LWIP_ASSERT("dhcp_option: options_out_len + 2 + option_len <= DHCP_OPTIONS_LEN", options_out_len + 2U + option_len <= DHCP_OPTIONS_LEN);
dhcp.c:1446
LWIP_ASSERT("dhcp_option_byte: options_out_len < DHCP_OPTIONS_LEN", options_out_len < DHCP_OPTIONS_LEN);
dhcp.c:1454
LWIP_ASSERT("dhcp_option_short: options_out_len + 2 <= DHCP_OPTIONS_LEN", options_out_len + 2U <= DHCP_OPTIONS_LEN);
dhcp.c:1463
LWIP_ASSERT("dhcp_option_long: options_out_len + 4 <= DHCP_OPTIONS_LEN", options_out_len + 4U <= DHCP_OPTIONS_LEN);
dhcp.c:1965
(options_out_len < DHCP_OPTIONS_LEN)) {
dhcp.c:1970
pbuf_realloc(p_out, (u16_t)(sizeof(struct dhcp_msg) - DHCP_OPTIONS_LEN + options_out_len));
dhcp.h:90
PACK_STRUCT_FLD_8(u8_t options[DHCP_OPTIONS_LEN]);