-
Notifications
You must be signed in to change notification settings - Fork 3k
Refactor PPP library #13284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor PPP library #13284
Conversation
@LDong-Arm, thank you for your changes. |
astyle again... |
36282ab
to
c808531
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR cannot be merged due to conflicts. Please rebase to resolve them. |
This PR cannot be merged due to conflicts. Please rebase to resolve them. |
This file is the source for nsapi_ppp.h and is not implementation specific.
Rebased again |
CI started |
Test run: SUCCESSSummary: 6 of 6 test jobs passed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-approved
Summary of changes
Move the PPP library to connectivity/libraries/ppp and refactor it as per our new directory structure proposal:
Notes:
include
we putpolarssl
next toppp
instead of inside, becausepolarssl
is also used directly bylwip
without going throughppp
:mbed-os/features/lwipstack/lwip-sys/lwip_tcp_isn.c
Line 80 in 4a0aaf1
polarssl
a standalone library, because the version we include in mbed-os is intermingled with ourppp
implementation.ppp_nsapi.cpp
is moved intonetsocket
(where network APIs, includingnsapi_ppp.h
, sit) - its definition is generic and not tied to our PPP implementation.Impact of changes
Migration actions required
Documentation
None.
Pull request type
Test results
mbed-os-example-cellular
compiles. This change does not touch any unit or Greentea tests, but the CI will cover them anyway.Reviewers
@ARMmbed/mbed-os-core @ARMmbed/mbed-os-connectivity @evedon @0xc0170 @bulislaw