[Top][All Lists]

[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. 2040f4f0b18ebee9f4f4a06e642a91171fb2f029
Date: Sun, 19 Jun 2016 22:45:29 +0000 (UTC)

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  2040f4f0b18ebee9f4f4a06e642a91171fb2f029 (commit)
       via  7b4bd3343b09abf322afe982cf8bee94c4fa188a (commit)
       via  1d108b400fd27dd726471255853681f866c5c7a8 (commit)
       via  42d50eba4e3f49088b00988d911a674a022435d7 (commit)
       via  7df5496e7b3f45fc77aedeeb37b362df910f4159 (commit)
       via  c751802fad4b0eda89965f575035cee318df29e7 (commit)
      from  6d95a34971206c395890130f563161b3f22cd150 (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 2040f4f0b18ebee9f4f4a06e642a91171fb2f029
Author: Sylvain Rochet <address@hidden>
Date:   Mon Jun 20 00:42:17 2016 +0200

    PPP, trivial debug messages fixes/add
    This change only add one debug message to ppp_link_start function
    and fix the message debug string of ppp_link_failed and ppp_link_end.

commit 7b4bd3343b09abf322afe982cf8bee94c4fa188a
Author: Sylvain Rochet <address@hidden>
Date:   Mon Jun 20 00:32:54 2016 +0200

    PPP, rename ppp_clear function to ppp_link_start
    This function does not clear anything anymore. What it is now is an
    optional way to notify PPP that link layer is started, changing the
    PPP state from "dead" to "initialize". Rename it accordingly to what
    the function really is.

commit 1d108b400fd27dd726471255853681f866c5c7a8
Author: Sylvain Rochet <address@hidden>
Date:   Mon Jun 20 00:25:59 2016 +0200

    PPP, move various connect cleanup from ppp_clear to ppp_start
    What we really need here is to cleanup the PPP environment before
    starting LCP, we don't care about the PPP state before LCP is
    started. Move cleanups from ppp_clear to ppp_start to clean them
    just before we need them cleaned.

commit 42d50eba4e3f49088b00988d911a674a022435d7
Author: Sylvain Rochet <address@hidden>
Date:   Sun Jun 19 23:48:08 2016 +0200

    PPP, move protocols initialization from ppp_clear to ppp_new
    What protocols init functions are meant to is to be called once to set
    the default configuration before user specific configuration is set.
    Until now, we reset to the default configuration just before
    reconnecting, thus without allowing any time frame to let users change
    it. That was fine until one user asked to be able to do that.
    This change move protocols init functions calls from ppp_clear to
    ppp_new, meaning user configuration is not overwritten anymore.

commit 7df5496e7b3f45fc77aedeeb37b362df910f4159
Author: Sylvain Rochet <address@hidden>
Date:   Sun Jun 19 23:08:24 2016 +0200

    PPP, rework initial/reconnect cleanup
    Our previous way of doing it was to clear everything except a small part
    of the ppp_pcb structure and then populate the structure with default
    values using protocols init functions.
    But it means the user is currently not allowed to change the default
    configuration except the few flags and values that are currently
    available in the ppp_settings structure.
    Instead of adding more and more fields to the ppp_settings structure,
    actually making them duplicate of already existing structure members
    of ppp_pcb, but unfortunately cleaned, we carefully checked that
    everything is properly cleaned during protocol lowerdown/close and
    replaced our giant memset to selective memset of the few ppp_pcb
    members that are not properly cleaned.

commit c751802fad4b0eda89965f575035cee318df29e7
Author: Sylvain Rochet <address@hidden>
Date:   Sun Jun 19 19:49:46 2016 +0200

    PPP, CCP, move user configuration from ccp_init to ccp_resetci
    ccp_init() is meant to be called once, providing default configuration
    before user specific configuration is applied. In pppd user configuration
    is set just after all protocol init functions are called, in lwIP we
    use protocol reset functions to do that, which is more or less the same.
    Therefore, be consistent and move CCP user configuration from ccp_init
    to ccp_resetci.


Summary of changes:
 src/include/netif/ppp/ppp.h      |    8 -------
 src/include/netif/ppp/ppp_impl.h |    4 ++--
 src/netif/ppp/ccp.c              |   24 +++++++++----------
 src/netif/ppp/chap-new.c         |    2 +-
 src/netif/ppp/ecp.c              |    2 +-
 src/netif/ppp/ipcp.c             |    2 +-
 src/netif/ppp/ipv6cp.c           |    2 +-
 src/netif/ppp/ppp.c              |   49 +++++++++++++++++++++-----------------
 src/netif/ppp/pppoe.c            |    2 +-
 src/netif/ppp/pppol2tp.c         |    2 +-
 src/netif/ppp/pppos.c            |    4 ++--
 11 files changed, 49 insertions(+), 52 deletions(-)

lwIP - A Lightweight TCPIP stack

reply via email to

[Prev in Thread] Current Thread [Next in Thread]