Skip to content

Commit 3557baa

Browse files
j-c-hDavid S. Miller
authored and
David S. Miller
committed
[L2TP]: PPP over L2TP driver core
This driver handles only L2TP data frames; control frames are handled by a userspace application. It implements L2TP using the PPPoX socket family. There is a PPPoX socket for each L2TP session in an L2TP tunnel. PPP data within each session is passed through the kernel's PPP subsystem via this driver. Kernel parameters of each socket can be read or modified using ioctl() or [gs]etsockopt() calls. Signed-off-by: James Chapman <jchapman@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent cf14a4d commit 3557baa

File tree

3 files changed

+2500
-0
lines changed

3 files changed

+2500
-0
lines changed

Diff for: drivers/net/Kconfig

+13
Original file line numberDiff line numberDiff line change
@@ -2784,6 +2784,19 @@ config PPPOATM
27842784
which can lead to bad results if the ATM peer loses state and
27852785
changes its encapsulation unilaterally.
27862786

2787+
config PPPOL2TP
2788+
tristate "PPP over L2TP (EXPERIMENTAL)"
2789+
depends on EXPERIMENTAL && PPP
2790+
help
2791+
Support for PPP-over-L2TP socket family. L2TP is a protocol
2792+
used by ISPs and enterprises to tunnel PPP traffic over UDP
2793+
tunnels. L2TP is replacing PPTP for VPN uses.
2794+
2795+
This kernel component handles only L2TP data packets: a
2796+
userland daemon handles L2TP the control protocol (tunnel
2797+
and session setup). One such daemon is OpenL2TP
2798+
(http://openl2tp.sourceforge.net/).
2799+
27872800
config SLIP
27882801
tristate "SLIP (serial line) support"
27892802
---help---

Diff for: drivers/net/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ obj-$(CONFIG_PPP_DEFLATE) += ppp_deflate.o
121121
obj-$(CONFIG_PPP_BSDCOMP) += bsd_comp.o
122122
obj-$(CONFIG_PPP_MPPE) += ppp_mppe.o
123123
obj-$(CONFIG_PPPOE) += pppox.o pppoe.o
124+
obj-$(CONFIG_PPPOL2TP) += pppox.o pppol2tp.o
124125

125126
obj-$(CONFIG_SLIP) += slip.o
126127
obj-$(CONFIG_SLHC) += slhc.o

0 commit comments

Comments
 (0)