mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'feature/add_ip_frag_option' into 'master'
lwip: add ip frag and reassembly option in menuconfig add ip frag and reassembly option in menuconfig See merge request !348
This commit is contained in:
commit
0b79a108b8
@ -49,6 +49,19 @@ config LWIP_DHCP_MAX_NTP_SERVERS
|
|||||||
First argument of sntp_setserver/sntp_setservername functions
|
First argument of sntp_setserver/sntp_setservername functions
|
||||||
is limited to this value.
|
is limited to this value.
|
||||||
|
|
||||||
|
config LWIP_IP_FRAG
|
||||||
|
bool "Enable fragment outgoing IP packets"
|
||||||
|
default 0
|
||||||
|
help
|
||||||
|
Enabling this option allows fragmenting outgoing IP packets if their size
|
||||||
|
exceeds MTU.
|
||||||
|
|
||||||
|
config LWIP_IP_REASSEMBLY
|
||||||
|
bool "Enable reassembly incoming fragmented IP packets"
|
||||||
|
default 0
|
||||||
|
help
|
||||||
|
Enabling this option allows reassemblying incoming fragmented IP packets.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
||||||
|
@ -154,14 +154,14 @@
|
|||||||
* this option does not affect outgoing packet sizes, which can be controlled
|
* this option does not affect outgoing packet sizes, which can be controlled
|
||||||
* via IP_FRAG.
|
* via IP_FRAG.
|
||||||
*/
|
*/
|
||||||
#define IP_REASSEMBLY 0
|
#define IP_REASSEMBLY CONFIG_LWIP_IP_REASSEMBLY
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* IP_FRAG==1: Fragment outgoing IP packets if their size exceeds MTU. Note
|
* IP_FRAG==1: Fragment outgoing IP packets if their size exceeds MTU. Note
|
||||||
* that this option does not affect incoming packet sizes, which can be
|
* that this option does not affect incoming packet sizes, which can be
|
||||||
* controlled via IP_REASSEMBLY.
|
* controlled via IP_REASSEMBLY.
|
||||||
*/
|
*/
|
||||||
#define IP_FRAG 0
|
#define IP_FRAG CONFIG_LWIP_IP_FRAG
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* IP_REASS_MAXAGE: Maximum time (in multiples of IP_TMR_INTERVAL - so seconds, normally)
|
* IP_REASS_MAXAGE: Maximum time (in multiples of IP_TMR_INTERVAL - so seconds, normally)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user