mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-19 14:46:58 +08:00
ip4: Add IP4_MIN_MTU_LENGTH definition
See patch #10270 Signed-off-by: Samuel Martin <samuel.martin@netatmo.com> Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
committed by
Simon Goldschmidt
parent
afb07bb12f
commit
ad897db7ea
@@ -68,6 +68,9 @@ typedef struct ip4_addr_packed ip4_addr_p_t;
|
||||
/* Minimal fragment size in bytes (c.f. RFC 791) */
|
||||
#define IP_MIN_FRAG_LENGTH 8U
|
||||
|
||||
/* Minimal IPv4 MTU (c.f. RFC 791) */
|
||||
#define IP4_MIN_MTU_LENGTH (IP_HLEN_MAX + IP_MIN_FRAG_LENGTH)
|
||||
|
||||
#ifdef PACK_STRUCT_USE_INCLUDES
|
||||
# include "arch/bpstruct.h"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user