mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-28 09:19:53 +00:00
e31902dc4c
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> |
||
---|---|---|
.. | ||
api | ||
apps | ||
core | ||
include | ||
netif | ||
Filelists.mk | ||
FILES |