lwip/src
Sylvain Rochet e31902dc4c PPP, prepare for chained compressors (e.g. VJ+MPPE) requiring packet copy
lwIP TCP stack requires that we don't change the packet payload in netif
output functions in order to resend the pbuf if we don't receive a TCP
ACK in time, therefore we copy the whole packet before compression or
encryption.

It gets tricky because we should keep track of whether we previously
copied the buffer in PPP output netif function in order to free the
previous pbuf if necessary, BUT the first pbuf passed to the netif
output function must not be freed.

The worst case is VJ compression followed by MPPE encryption, in this
case we should free the packet allocated by VJ compressor after MPPE
encryption and we should free the packet allocated by MPPE encrypter
after calling the PPP low level output function.

Signed-off-by: Sylvain Rochet <gradator@gradator.net>
2016-01-24 17:48:57 +01:00
..
api Fix blocking close with LWIP_SO_SNDTIMEO 2016-01-13 22:20:52 +01:00
apps SNMP: Add missing closing braces in #ifdef __cplusplus case 2016-01-22 13:28:11 +01:00
core IPv4: fix some meaningless debug messages 2016-01-18 21:34:13 +01:00
include PPP, VJ, code cleaning 2016-01-24 01:38:26 +01:00
netif PPP, prepare for chained compressors (e.g. VJ+MPPE) requiring packet copy 2016-01-24 17:48:57 +01:00
Filelists.mk SNMP agent rewrite 2015-12-26 11:43:29 +01:00
FILES