mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
feat(lwip): Added PPP config option to control VJ header compression
This commit is contained in:
parent
a9265db5f1
commit
501a25f0c7
@ -959,6 +959,16 @@ menu "LWIP"
|
||||
help
|
||||
Enable to use PPP server
|
||||
|
||||
config LWIP_PPP_VJ_HEADER_COMPRESSION
|
||||
bool "Enable VJ IP Header compression"
|
||||
depends on LWIP_PPP_SUPPORT
|
||||
default y
|
||||
help
|
||||
Enable support for VJ header compression.
|
||||
Please disable this if you're using NAPT on PPP interface,
|
||||
since the compressed IP header might not be correctly interpreted
|
||||
in NAT causing the compressed packet to be dropped.
|
||||
|
||||
config LWIP_ENABLE_LCP_ECHO
|
||||
bool "Enable LCP ECHO"
|
||||
depends on LWIP_PPP_SUPPORT
|
||||
|
@ -1110,6 +1110,11 @@ static inline uint32_t timeout_from_offered(uint32_t lease, uint32_t min)
|
||||
*/
|
||||
#define PPP_SERVER CONFIG_LWIP_PPP_SERVER_SUPPORT
|
||||
|
||||
/**
|
||||
* VJ_SUPPORT==1: Support VJ header compression.
|
||||
*/
|
||||
#define VJ_SUPPORT CONFIG_LWIP_PPP_VJ_HEADER_COMPRESSION
|
||||
|
||||
/**
|
||||
* PPP_MAXIDLEFLAG: Max Xmit idle time (in ms) before resend flag char.
|
||||
* TODO: If PPP_MAXIDLEFLAG > 0 and next package is send during PPP_MAXIDLEFLAG time,
|
||||
|
Loading…
Reference in New Issue
Block a user