Merge branch 'feat/lwip_ppp_more_opts' into 'master'

lwip: PPP configs to enable/disable: Server side, IP header compression

See merge request espressif/esp-idf!27799
This commit is contained in:
David Čermák
2024-01-30 20:17:50 +08:00
6 changed files with 64 additions and 8 deletions

View File

@@ -1090,6 +1090,16 @@ static inline uint32_t timeout_from_offered(uint32_t lease, uint32_t min)
*/
#define MPPE_SUPPORT CONFIG_LWIP_PPP_MPPE_SUPPORT
/**
* PPP_SERVER==1: Enable PPP server support (waiting for incoming PPP session).
*/
#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,