[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. c15b3578895ed39259771a943c337be40156b982 |
Date: |
Sun, 13 Sep 2015 16:50:17 +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 c15b3578895ed39259771a943c337be40156b982 (commit)
via 46204a9f86c22c93dca1944d0159d6850d2c3baf (commit)
via 5b07569eb9b689d7611a3424499005276332e0fa (commit)
via b55412a0c447d24adaae9c929e5098b381adf177 (commit)
from 81d3337681c917cb1ce81910671c1171bafe260d (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 c15b3578895ed39259771a943c337be40156b982
Author: Sylvain Rochet <address@hidden>
Date: Sun Sep 13 18:28:06 2015 +0200
PPP, merged ppp_link_set_callbacks() into ppp_new()
commit 46204a9f86c22c93dca1944d0159d6850d2c3baf
Author: Sylvain Rochet <address@hidden>
Date: Sun Sep 13 18:21:14 2015 +0200
PPP, reorder initialisation of low level protocols to call
ppp_link_set_callbacks() just after PPP control block allocation
commit 5b07569eb9b689d7611a3424499005276332e0fa
Author: Sylvain Rochet <address@hidden>
Date: Sun Sep 13 17:59:14 2015 +0200
PPP, remove now unused ioctl callback from link_callbacks structure
commit b55412a0c447d24adaae9c929e5098b381adf177
Author: Sylvain Rochet <address@hidden>
Date: Sun Sep 13 17:53:16 2015 +0200
PPP, PPPoS, replaced static sio_write() calls to a user defined callback
The overall lwIP design on data flows (netif,udp,tcp) is to use a user
defined callback to get data from stack and a static function to send
data to stack, which makes perfect sense. The SIO port was an exception,
the PPP stack never really used the SIO port by only using the
sio_send() function (and the ignominious sio_read_abort() function a
while back).
The way the SIO port is currently designed adds a tight coupling between
the lwIP port and the user code if the user need to do specific user
code if the current uart used is the PPPoS uart, which is not nice,
especially because all the lwIP stack is quite clean at this subject.
While we are at stabilizing the PPP API, change this behavior before
it's too late by replacing the static sio_write() calls to a user
defined callback.
-----------------------------------------------------------------------
Summary of changes:
doc/ppp.txt | 22 ++++++++++++++---
src/api/pppapi.c | 8 +++---
src/include/lwip/pppapi.h | 7 ++++-
src/include/netif/ppp/ppp_impl.h | 8 +-----
src/include/netif/ppp/pppos.h | 7 ++++-
src/netif/ppp/ppp.c | 13 +++-------
src/netif/ppp/pppoe.c | 17 +++++---------
src/netif/ppp/pppol2tp.c | 16 +++++-------
src/netif/ppp/pppos.c | 47 ++++++++-----------------------------
9 files changed, 61 insertions(+), 84 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. c15b3578895ed39259771a943c337be40156b982,
Sylvain Rochet <=