[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-commits] [SCM] UNNAMED PROJECT branch, master, updated. b957a81ea5
From: |
Sylvain Rochet |
Subject: |
[lwip-commits] [SCM] UNNAMED PROJECT branch, master, updated. b957a81ea546c599d2dd1b0ad9ecb8a390949b16 |
Date: |
Tue, 17 Feb 2015 22:27:27 +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 "UNNAMED PROJECT".
The branch, master has been updated
via b957a81ea546c599d2dd1b0ad9ecb8a390949b16 (commit)
via 19fdeae4ba28302bbb0275823c6242bed9727d34 (commit)
via 50ecd2c12c12996ffc64e3278acccb7c1b574d1b (commit)
via 07f921279971eb9a365165618064633d7fcee4bf (commit)
via 8a8cba75a2ed1e384de7bb6361a34e6ddfd46d1f (commit)
via 1ae3808e13c3de88f42890f537996091dd185e6a (commit)
via ee2936ffbff7be254fe0473163ae2f1a4bf434e4 (commit)
via 5b29f1cdec29b00fbdd2a2c720615bfee00f536a (commit)
via bce29ac3530d178275ed40cc088616f516ef8867 (commit)
via f7584fa8830b2f1fed6723fb5b8b29807bae0c1b (commit)
via 18074ff98fd9109ebd035579ab44f381dfd7d2c8 (commit)
via 4ad60b477cbb6d015af09fbeaa4a51e38a21c238 (commit)
via 69469496e2adb4018d179ba7b0c07d27ec42145e (commit)
via baaa2592a6d94180a6ea810d3445df628410606d (commit)
via ecb8aa6fc17b6f847891b737fa8fa4ae999ac192 (commit)
via 34210901bffe70f239012ee02f9aa13420a2aa50 (commit)
via 7132893863c0c9d5e4e52fd94c7854621258d8a7 (commit)
via cfe04d4453df6a6937dc15661a703166ac55b71d (commit)
via f98f2890f32d079a551aab0551d7559d81c4c71f (commit)
via d93c21349f194cc7611d4f1e1af38e00e78afce6 (commit)
via 9358dbbd995b66285eebd991f66d4121110cc087 (commit)
via 2b9d3048167ed887a4e414bc3cc1107c0de5620d (commit)
via e6465a6f4473647c71499fb44796da05ccfca77d (commit)
via 4aa9244b92a4280ca5b1853c0e2e81f7e21dcc38 (commit)
via 1ac4d1b79386e550d0d7fa008495dc2861520e7f (commit)
via ea205f2fcd3d768e931e89a4af1a3d34d004adf1 (commit)
via 9c15ffbb74ce5a6d8e44218889e7c05f978c5dee (commit)
via 09b4485870c402ae3c88b8b5034f290bf0201d47 (commit)
via 19282d6d6cdd6f2150043bf9c2fa5b1c4fde6214 (commit)
via ee85aaccd219c2dd60bc0e1fa0a44d22f7b67142 (commit)
via 0afc34f6fc9671792cebcffa09064586fe3458de (commit)
via 45bfccfddcf05d1b0b180154b9171fa990e66cd8 (commit)
via f8501478f6c2b756fe3ff654a6e237da0e8a526e (commit)
via a5582e0960734ea73c4defbb8d3c13b71086af3a (commit)
via b4fe72c4a2a28b816341a7f46b0510400aa3846a (commit)
via 48f7678771ea2f7007f687ed9faa84d22287c530 (commit)
via 808098413cd36aa54605c519abddf2fbaf6b511b (commit)
via 74fd2dc9ade54c2176693f773ed91b793ef5de73 (commit)
via 443b2551c7cfe6970c88a6c32430749adbf149f0 (commit)
via 7b681bc94a2b2fd6f0587e8a152667cfce98a65d (commit)
via bd29f7168c7474a804196cf66444d8c7c44002f6 (commit)
via c8c0dc2f53d53d923da6b66fb9809c5bdaff0893 (commit)
via 17c6be6a9b14ab9d0aff8edbf5b1bbdf19a0e3a5 (commit)
via 318e752fd686a13684816cbff157270dc7fe1edd (commit)
via 3dcfd7ba41eb42da6e502fc6fac6e721e2908732 (commit)
from 604a92dc3d915f489f83aa4b48360c69f485d4d0 (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 b957a81ea546c599d2dd1b0ad9ecb8a390949b16
Author: Sylvain Rochet <address@hidden>
Date: Tue Feb 17 23:25:10 2015 +0100
PPP, modified CHANGELOG about the previous large PPP rework
Done!, this is way better than before, I had this rework in mind
for a couple of years and I finally found the time to do it :-)
commit 19fdeae4ba28302bbb0275823c6242bed9727d34
Author: Sylvain Rochet <address@hidden>
Date: Tue Feb 17 23:09:18 2015 +0100
PPP, chained returns up to ppp_free()
ppp_free() now returns lower level protocol return value if something
failed.
commit 50ecd2c12c12996ffc64e3278acccb7c1b574d1b
Author: Sylvain Rochet <address@hidden>
Date: Tue Feb 17 23:07:38 2015 +0100
PPP, CORE, removed useless st variable in ppp_close()
Code cleaning.
commit 07f921279971eb9a365165618064633d7fcee4bf
Author: Sylvain Rochet <address@hidden>
Date: Tue Feb 17 23:06:18 2015 +0100
PPP, chained returns up to ppp_open()
ppp_open() now returns lower level protocol return value if something
failed.
commit 8a8cba75a2ed1e384de7bb6361a34e6ddfd46d1f
Author: Sylvain Rochet <address@hidden>
Date: Tue Feb 17 23:02:18 2015 +0100
PPP, lower protocols, chained returns from local functions to callback
caller
PPPoS,PPPoE,PPPoL2TP functions using non-void returns are now propagated
to callback caller (PPP core).
commit 1ae3808e13c3de88f42890f537996091dd185e6a
Author: Sylvain Rochet <address@hidden>
Date: Tue Feb 17 22:57:42 2015 +0100
PPP, CORE, prepared for lower protocols callbacks returning state
Until now, callbacks used void return, preparing callbacks to return
PPPERR_ status.
commit ee2936ffbff7be254fe0473163ae2f1a4bf434e4
Author: Sylvain Rochet <address@hidden>
Date: Tue Feb 17 22:51:35 2015 +0100
PPP, all protocols, uniformised naming
Uniformised fonction naming between and inside PPPoS, PPPoE, PPPoL2TP.
commit 5b29f1cdec29b00fbdd2a2c720615bfee00f536a
Author: Sylvain Rochet <address@hidden>
Date: Tue Feb 17 22:43:07 2015 +0100
PPP, CORE, Fixed warning with PPP_PROTOCOLNAME enabled
lwip/src/netif/ppp/ppp.c: In function âppp_inputâ:
lwip/src/netif/ppp/ppp.c:769:5: warning: ISO C90 forbids mixed declarations
and code [-Wpedantic]
const char *pname = protocol_name(protocol);
^
commit bce29ac3530d178275ed40cc088616f516ef8867
Author: Sylvain Rochet <address@hidden>
Date: Tue Feb 17 22:35:03 2015 +0100
PPP, CORE, code cleaning
Reordered functions in the order they are declared in headers.
Removed useless ppp_link_down() function.
Merged ppp_stop() and ppp_close().
Merged ppp_hup() and ppp_sighup().
commit f7584fa8830b2f1fed6723fb5b8b29807bae0c1b
Author: Sylvain Rochet <address@hidden>
Date: Tue Feb 17 22:14:19 2015 +0100
PPP, CORE, fixed callbacks return value
Fixed return value in case of abnormal termination.
Set pcb->err_code in case of failed setup link.
commit 18074ff98fd9109ebd035579ab44f381dfd7d2c8
Author: Sylvain Rochet <address@hidden>
Date: Tue Feb 17 21:32:24 2015 +0100
PPP, PPPoE, improved removal from linked list
Replaced naive link list removal code to a more clever one.
commit 4ad60b477cbb6d015af09fbeaa4a51e38a21c238
Author: Sylvain Rochet <address@hidden>
Date: Tue Feb 17 21:01:52 2015 +0100
PPP, PPPoS, structure size optimisation
Reordered PPPoS structure so there is no alignment hole for 32 and 64 bits
systems. Reduced types which were too large.
commit 69469496e2adb4018d179ba7b0c07d27ec42145e
Author: Sylvain Rochet <address@hidden>
Date: Tue Feb 17 00:48:33 2015 +0100
PPP, PPPoS, moved out_accm from PPP core to PPPoS
Last PPPoS variable in PPP core moved to PPPoS.
commit baaa2592a6d94180a6ea810d3445df628410606d
Author: Sylvain Rochet <address@hidden>
Date: Tue Feb 17 00:36:17 2015 +0100
PPP, PPPoS, removed xmit_accm, almost duplicate of out_accm
xmit_accm was meant to be a user configurable asyncmap, it was actually
broken since the introduction of ppp_new by the way we now reset the PPP
initial state, looks like no one until now is needing it anymore. If
necessary we will reintroduce this feature later properly instead of a
dirty and ugly hack into the PPP code.
commit ecb8aa6fc17b6f847891b737fa8fa4ae999ac192
Author: Sylvain Rochet <address@hidden>
Date: Tue Feb 17 00:16:10 2015 +0100
PPP, PPPoS, merged ppp(os)_pcb_rx to pppos_pcb
Merged ppp(os)_pcb_rx to pppos_pcb, saved 8 bytes of pointers
and unecessary init steps.
commit 34210901bffe70f239012ee02f9aa13420a2aa50
Author: Sylvain Rochet <address@hidden>
Date: Tue Feb 17 00:05:45 2015 +0100
PPP, PPPoS, moved ppp.rx to pppos.rx
PPP rx control block moved to PPPoS
commit 7132893863c0c9d5e4e52fd94c7854621258d8a7
Author: Sylvain Rochet <address@hidden>
Date: Mon Feb 16 23:22:00 2015 +0100
PPP, PPPoS, re-enabled PPPCTLG_FD
Found a fine way to get PPP fd without making this call crash for for PPPoE
or PPPoL2TP.
commit cfe04d4453df6a6937dc15661a703166ac55b71d
Author: Sylvain Rochet <address@hidden>
Date: Mon Feb 16 23:14:42 2015 +0100
PPP, PPPoS, using PPPoS PCB pointer on VJ and pppos_ configuration functions
Slightly more consistent this way, and prevent using link_ctx_cb pointer
from PPPoS protocol file.
commit f98f2890f32d079a551aab0551d7559d81c4c71f
Author: Sylvain Rochet <address@hidden>
Date: Mon Feb 16 22:44:23 2015 +0100
PPP, PPPoS, check if PPPoS configuration functions are used on PPPoS
We don't have callbacks which can be set or cleared for PPPoS
configuration, there is too much callbacks to create and PPPoS must be
kept light, therefore PPPoS functions can be called when PPP core
configure a PPPoE or PPPoL2TP interface, this is very unlikely to
happens because protocols not supported by PPPoE or PPPoL2TP are
disabled at LCP/IPCP negotiation but being safe is still better.
Check if passed PPP pointer to PPPoS configuration functions is a PPPoS
interface by using a linked list of exiting PPPoS interfaces.
commit d93c21349f194cc7611d4f1e1af38e00e78afce6
Author: Sylvain Rochet <address@hidden>
Date: Mon Feb 16 22:20:56 2015 +0100
PPP, PPPoS, fixed build with PPP_FCS_TABLE=1
Oops, I managed to break builds with PPP_FCS_TABLE=1, fixed.
commit 9358dbbd995b66285eebd991f66d4121110cc087
Author: Sylvain Rochet <address@hidden>
Date: Mon Feb 16 22:14:09 2015 +0100
PPP, PPPoS, various static and const added
ppp_get_fcs() is now static, const modifier added on ppp_accm_mask
commit 2b9d3048167ed887a4e414bc3cc1107c0de5620d
Author: Sylvain Rochet <address@hidden>
Date: Mon Feb 16 22:03:02 2015 +0100
PPP, PPPoS, renamed *sc pointer to *pppos, renamed *pcb pointers to *pppos
and *ppp
It was a bit confusing and error prone having *pcb pointers for both
ppp_pcb* and pppos_pcb*, fixed confusion with a strict naming for both.
commit e6465a6f4473647c71499fb44796da05ccfca77d
Author: Sylvain Rochet <address@hidden>
Date: Mon Feb 16 00:24:17 2015 +0100
PPP, PPPoS, moved VJ from PPP core to PPPoS
VJ is only available for PPPoS, moved VJ from PPP CORE to PPPoS.
commit 4aa9244b92a4280ca5b1853c0e2e81f7e21dcc38
Author: Sylvain Rochet <address@hidden>
Date: Sun Feb 15 22:56:28 2015 +0100
PPP, PPPoS moved fd from ppp_pcb to pppos_pcb
Moved fd from ppp_pcb to pppos_pcb.
However PPP ioctl PPPCTLG_FD is temporarily disabled until I found a
better solution.
commit 1ac4d1b79386e550d0d7fa008495dc2861520e7f
Author: Sylvain Rochet <address@hidden>
Date: Sun Feb 15 22:48:07 2015 +0100
PPP, PPPoS needs vj.h
commit ea205f2fcd3d768e931e89a4af1a3d34d004adf1
Author: Sylvain Rochet <address@hidden>
Date: Sun Feb 15 22:44:57 2015 +0100
PPP, add PPPoS CB for PPPoS private data
Created a new PPPoS CB going to have PPPoS private data, so allocating a
PPPoE or a PPPoL2TP interface does not allocate as well PPPoS variables.
commit 9c15ffbb74ce5a6d8e44218889e7c05f978c5dee
Author: Sylvain Rochet <address@hidden>
Date: Sun Feb 15 22:12:39 2015 +0100
PPP: Moved PPPoS from ppp.c to pppos.c
Started removing from PPP core most of low level protocol PPPoS
handling to separate files, using the new low level PPP callbacks.
commit 09b4485870c402ae3c88b8b5034f290bf0201d47
Author: Sylvain Rochet <address@hidden>
Date: Sun Feb 15 11:44:01 2015 +0100
PPP, generalized callbacks calls from PPP core, removed all PPPoE and
PPPoL2TP references
Almost there, removed all PPPoE and PPPoL2TP references from PPP core,
using the generic callbacks interface everywhere.
commit 19282d6d6cdd6f2150043bf9c2fa5b1c4fde6214
Author: Sylvain Rochet <address@hidden>
Date: Sun Feb 15 11:25:37 2015 +0100
PPP, moved low level protocol connect init to low level protocol files
Low level protocol init machine state does not belong to PPP core,
moved those init to respective low level protocol files.
commit ee85aaccd219c2dd60bc0e1fa0a44d22f7b67142
Author: Sylvain Rochet <address@hidden>
Date: Sun Feb 15 11:15:07 2015 +0100
PPP, removed low level create functions from PPP core
ppp_over_ethernet_create() moved from ppp.c to pppoe.c
ppp_over_l2tp_create() moved from ppp.c to pppol2tp.c
commit 0afc34f6fc9671792cebcffa09064586fe3458de
Author: Sylvain Rochet <address@hidden>
Date: Sun Feb 15 11:04:09 2015 +0100
PPP, moved ppp_write and ppp_netif_output low level protocols functions to
respective low level protocol files
Moved ppp_write_over_ethernet() and ppp_netif_output_over_ethernet() to
pppoe.c
Moved ppp_write_over_l2tp() and ppp_netif_output_over_l2tp() to pppol2tp.c
commit 45bfccfddcf05d1b0b180154b9171fa990e66cd8
Author: Sylvain Rochet <address@hidden>
Date: Sun Feb 15 10:35:59 2015 +0100
PPP, prepare new callbacks for low level protocols
New callbacks: write and netif_output
commit f8501478f6c2b756fe3ff654a6e237da0e8a526e
Author: Sylvain Rochet <address@hidden>
Date: Sun Feb 15 10:18:02 2015 +0100
PPP: prepared callbacks from PPP core to low level protocols
New PPP callback from PPP core to low level protocols, first
step about removing named calls to low level protocols from PPP core.
commit a5582e0960734ea73c4defbb8d3c13b71086af3a
Author: Sylvain Rochet <address@hidden>
Date: Sun Feb 15 10:15:41 2015 +0100
PPP: re-order functions in the common sense API order
Re-order ppp.[ch] functions in the order functions should be called from
user application. Moved create functions, which actually return a PPP
control block before functions needing a PPP control block.
commit b4fe72c4a2a28b816341a7f46b0510400aa3846a
Author: Sylvain Rochet <address@hidden>
Date: Sun Feb 15 00:48:37 2015 +0100
PPP: removed duplicated code in ppp_close()
Looks like previous refactoring and cleaning made ppp_close()
consistent for all our low level protocol backends, cleaned
up duplicated code.
commit 48f7678771ea2f7007f687ed9faa84d22287c530
Author: Sylvain Rochet <address@hidden>
Date: Sun Feb 15 00:38:55 2015 +0100
PPP: re-order prototypes, ppp_init before ppp_new
Cosmetic only.
commit 808098413cd36aa54605c519abddf2fbaf6b511b
Author: Sylvain Rochet <address@hidden>
Date: Sun Feb 15 00:35:45 2015 +0100
PPP: removed PPPoE and PPPoL2TP callback status notifier
Added necessary PPP core functions for PPPoE and PPPoL2TP status
notificaton (ppp_link_failed and ppp_link_end), removed callback,
low level protocol are now calling PPP core "link" functions.
commit 74fd2dc9ade54c2176693f773ed91b793ef5de73
Author: Sylvain Rochet <address@hidden>
Date: Sat Feb 14 23:50:38 2015 +0100
PPP: moved ppp_new() to low level protocol init for PPPoE and PPPoL2TP
First step of a rework of how low level protocols are using the
PPP core. Low level protocols are now going to use the core instead
of core using the low level protocols.
Final goal: separate PPP core code from low level protocols.
commit 443b2551c7cfe6970c88a6c32430749adbf149f0
Author: Sylvain Rochet <address@hidden>
Date: Sat Feb 14 22:47:38 2015 +0100
PPP: moved duplicated init code from ppp_over_X_create() to ppp_new()
Some init code were duplicated for all low-level PPP protocols, moved
uselessly duplicated code to ppp_new().
commit 7b681bc94a2b2fd6f0587e8a152667cfce98a65d
Author: Sylvain Rochet <address@hidden>
Date: Sat Feb 14 22:35:29 2015 +0100
PPP: re-order functions in the common sense API order
Re-order ppp.[ch] functions in the order functions should be called from
user application. Moved create functions, which actually return a PPP
control block before functions needing a PPP control block.
commit bd29f7168c7474a804196cf66444d8c7c44002f6
Author: Sylvain Rochet <address@hidden>
Date: Sat Feb 14 22:31:22 2015 +0100
PPP: ppp_init() is not a public function, moving it in private part
ppp_init() is not a public fonction anymore, move this function
in ppp.c "private" functions.
commit c8c0dc2f53d53d923da6b66fb9809c5bdaff0893
Author: Sylvain Rochet <address@hidden>
Date: Sat Feb 14 22:27:32 2015 +0100
PPP: using a macro for ppp_set_default() instead of a function
This function is only calling netif_set_default(), a macro
is adequate.
commit 17c6be6a9b14ab9d0aff8edbf5b1bbdf19a0e3a5
Author: Sylvain Rochet <address@hidden>
Date: Sat Feb 14 22:22:08 2015 +0100
PPP: removed ppp_delete(), merged with ppp_free()
The only benefit of ppp_delete() call was about having a persistent
netif interface. netif was moved out of PPP pcb so we don't need
ppp_delete() anymore, second step in simplifying the weird
new/open/free/delete PPP API.
commit 318e752fd686a13684816cbff157270dc7fe1edd
Author: Sylvain Rochet <address@hidden>
Date: Sat Feb 14 22:10:28 2015 +0100
PPP: removed ppp_new(), merged with ppp_over_X_create()
The only benefit of ppp_new() call was about having a persistent netif
interface. netif was moved out of PPP pcb so we don't need ppp_new()
anymore, first step in simplifying the weird new/open/free/delete PPP
API.
commit 3dcfd7ba41eb42da6e502fc6fac6e721e2908732
Author: Sylvain Rochet <address@hidden>
Date: Sat Feb 14 20:51:35 2015 +0100
PPP: moved netif out of PPP control block
Users might want to share a netif control block between an Ethernet
interface and a PPPoS interface (I want actually) in case PPP is just
used as redundancy if Ethernet is down (eg. PPPoS GPRS fail over).
Moved netif out of PPP control block in a similar way it is currently
done for Ethernet interfaces. Furthermore, this is a first step on
removing the "new/create/free/delete" API which is awful but currently
necessary to handle fail over from PPPoX to another PPPoX (eg. from PPoE
on xDSL to PPPoS on GPRS fail over) without free()ing the netif which
might be used on udp_sendto() or L2TP VPN links.
-----------------------------------------------------------------------
Summary of changes:
CHANGELOG | 4 +
src/api/pppapi.c | 93 +--
src/core/memp.c | 1 +
src/include/lwip/memp_std.h | 3 +
src/include/lwip/opt.h | 8 +
src/include/lwip/pppapi.h | 13 +-
src/include/netif/ppp/ppp.h | 164 +---
src/include/netif/ppp/ppp_impl.h | 47 +-
src/include/netif/ppp/pppoe.h | 16 +-
src/include/netif/ppp/pppol2tp.h | 24 +-
src/include/netif/ppp/pppos.h | 108 +++
src/netif/ppp/auth.c | 2 -
src/netif/ppp/lcp.c | 36 -
src/netif/ppp/ppp.c | 1945 ++++++++------------------------------
src/netif/ppp/pppoe.c | 223 ++++-
src/netif/ppp/pppol2tp.c | 182 ++++-
src/netif/ppp/pppos.c | 962 +++++++++++++++++++
17 files changed, 1910 insertions(+), 1921 deletions(-)
create mode 100644 src/include/netif/ppp/pppos.h
create mode 100644 src/netif/ppp/pppos.c
hooks/post-receive
--
UNNAMED PROJECT
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-commits] [SCM] UNNAMED PROJECT branch, master, updated. b957a81ea546c599d2dd1b0ad9ecb8a390949b16,
Sylvain Rochet <=