forked from deepin-community/kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
l2tp: Split pppol2tp patch into separate l2tp and ppp parts
This patch splits the pppol2tp driver into separate L2TP and PPP parts to prepare for L2TPv3 support. In L2TPv3, protocols other than PPP can be carried, so this split creates a common L2TP core that will handle the common L2TP bits which protocol support modules such as PPP will use. Note that the existing pppol2tp module is split into l2tp_core and l2tp_ppp by this change. There are no feature changes here. Internally, however, there are significant changes, mostly to handle the separation of PPP-specific data from the L2TP session and to provide hooks in the core for modules like PPP to access. Signed-off-by: James Chapman <jchapman@katalix.com> Reviewed-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Showing
10 changed files
with
3,175 additions
and
2,689 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# | ||
# Layer Two Tunneling Protocol (L2TP) | ||
# | ||
|
||
menuconfig L2TP | ||
tristate "Layer Two Tunneling Protocol (L2TP)" | ||
depends on INET | ||
---help--- | ||
Layer Two Tunneling Protocol | ||
|
||
From RFC 2661 <http://www.ietf.org/rfc/rfc2661.txt>. | ||
|
||
L2TP facilitates the tunneling of packets across an | ||
intervening network in a way that is as transparent as | ||
possible to both end-users and applications. | ||
|
||
L2TP is often used to tunnel PPP traffic over IP | ||
tunnels. One IP tunnel may carry thousands of individual PPP | ||
connections. L2TP is also used as a VPN protocol, popular | ||
with home workers to connect to their offices. | ||
|
||
The kernel component handles only L2TP data packets: a | ||
userland daemon handles L2TP the control protocol (tunnel | ||
and session setup). One such daemon is OpenL2TP | ||
(http://openl2tp.org/). | ||
|
||
If you don't need L2TP, say N. To compile all L2TP code as | ||
modules, choose M here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.