kernel_optimize_test/net/l2tp
James Chapman 309795f4be l2tp: Add netlink control API for L2TP
In L2TPv3, we need to create/delete/modify/query L2TP tunnel and
session contexts. The number of parameters is significant. So let's
use netlink. Userspace uses this API to control L2TP tunnel/session
contexts in the kernel.

The previous pppol2tp driver was managed using [gs]etsockopt(). This
API is retained for backwards compatibility. Unlike L2TPv2 which
carries only PPP frames, L2TPv3 can carry raw ethernet frames or other
frame types and these do not always have an associated socket
family. Therefore, we need a way to use L2TP sessions that doesn't
require a socket type for each supported frame type. Hence netlink is
used.

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>
2010-04-03 14:56:05 -07:00
..
Kconfig l2tp: Add L2TPv3 IP encapsulation (no UDP) support 2010-04-03 14:56:04 -07:00
l2tp_core.c l2tp: Add netlink control API for L2TP 2010-04-03 14:56:05 -07:00
l2tp_core.h l2tp: Add netlink control API for L2TP 2010-04-03 14:56:05 -07:00
l2tp_ip.c l2tp: Add L2TPv3 IP encapsulation (no UDP) support 2010-04-03 14:56:04 -07:00
l2tp_netlink.c l2tp: Add netlink control API for L2TP 2010-04-03 14:56:05 -07:00
l2tp_ppp.c l2tp: Add netlink control API for L2TP 2010-04-03 14:56:05 -07:00
Makefile l2tp: Add netlink control API for L2TP 2010-04-03 14:56:05 -07:00