feat(lwip): Add support for PPP server

Added support PPP_SERVER option in LWIP
Added support for configuring preferred addresses of PPP endpoints.
This commit is contained in:
David Cermak
2023-10-04 17:35:57 +02:00
parent c143e68c9f
commit a9265db5f1
4 changed files with 46 additions and 1 deletions

View File

@@ -1105,6 +1105,11 @@ 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
/**
* 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,