[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, up
From: |
Sylvain Rochet |
Subject: |
[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. 4beacc4ca0b2dd166dd50b1b8614f87fe0b67516 |
Date: |
Sun, 24 Jan 2016 19:13:06 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwIP - A Lightweight TCPIP stack".
The branch, master has been updated
via 4beacc4ca0b2dd166dd50b1b8614f87fe0b67516 (commit)
via 9c7231ee754bbfcf19bff98ee13f6c82717acdb6 (commit)
via e31902dc4cb1ceec375b34d925be48a16983a485 (commit)
from 53853a25b0c879e8625c7cdd40b9e9f8d3d10930 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4beacc4ca0b2dd166dd50b1b8614f87fe0b67516
Author: Sylvain Rochet <address@hidden>
Date: Sun Jan 24 20:07:54 2016 +0100
PPP, VJ, fixed TCP retransmission
We used to modify in place the packet payload during compression but TCP
stack requires that we don't change the packet payload, therefore we now
copy the whole packet before compression.
Signed-off-by: Sylvain Rochet <address@hidden>
commit 9c7231ee754bbfcf19bff98ee13f6c82717acdb6
Author: Sylvain Rochet <address@hidden>
Date: Sun Jan 24 19:36:19 2016 +0100
PPP, VJ, move pbuf length check so all TYPE_IP return value are within the
same code block
Prepare for VJ packet copy, reorder a bit VJ compressor so all TYPE_IP
return value are within the same code block. We do that because we don't
need to copy the packet if we are not able to compress it.
Signed-off-by: Sylvain Rochet <address@hidden>
commit e31902dc4cb1ceec375b34d925be48a16983a485
Author: Sylvain Rochet <address@hidden>
Date: Sun Jan 24 17:48:57 2016 +0100
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 <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
src/include/netif/ppp/vj.h | 2 +-
src/netif/ppp/ppp.c | 40 ++++++++++++++++++++--------
src/netif/ppp/vj.c | 61 ++++++++++++++++++++++++++-----------------
3 files changed, 66 insertions(+), 37 deletions(-)
hooks/post-receive
--
lwIP - A Lightweight TCPIP stack
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. 4beacc4ca0b2dd166dd50b1b8614f87fe0b67516,
Sylvain Rochet <=