diff options
author | James Chapman <jchapman@katalix.com> | 2010-04-02 08:19:00 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-03 23:56:04 +0200 |
commit | 0d76751fad7739014485ba5bd388d4f1b4fd4143 (patch) | |
tree | 25a4525bf6b2ec9f052f22ba98cdfd3ff3a86aa3 /net/netlink/genetlink.c | |
parent | l2tp: Update PPP-over-L2TP driver to work over L2TPv3 (diff) | |
download | linux-0d76751fad7739014485ba5bd388d4f1b4fd4143.tar.xz linux-0d76751fad7739014485ba5bd388d4f1b4fd4143.zip |
l2tp: Add L2TPv3 IP encapsulation (no UDP) support
This patch adds a new L2TPIP socket family and modifies the core to
handle the case where there is no UDP header in the L2TP
packet. L2TP/IP uses IP protocol 115. Since L2TP/UDP and L2TP/IP
packets differ in layout, the datapath packet handling code needs
changes too. Userspace uses an L2TPIP socket instead of a UDP socket
when IP encapsulation is required.
We can't use raw sockets for this because the semantics of raw sockets
don't lend themselves to the socket-per-tunnel model - we need to
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink/genetlink.c')
0 files changed, 0 insertions, 0 deletions