iproute2/ip
James Chapman dd10baa50d iproute2: add l2spec_type param to l2tp add session
When unmanaged L2TP sessions are created using "ip l2tp add session",
there is no option to allow the session's Layer2SpecificHeader type to
be selected - the kernel's default setting is always used. For
interopability with some vendor equipment, it might be necessary to
use a different setting. So add a new l2spec_type parameter to the "ip
l2tp add session" parameter list, allowing operators to set a specific
Layer2SpecificHeader type. The kernel already exposes the setting as a
netlink attribute so it is straightforward to add support for it in
iproute2.

This change allows unmanaged L2TP sessions to be configured between
Linux and some Cisco equipment by specifying "l2spec_type none" in "ip
l2tp add session" command parameters.

Signed-off-by: James Chapman <jchapman@katalix.com>
2013-03-27 13:20:58 -07:00
..
.gitignore Another .gitignore file. 2006-08-08 12:11:23 -07:00
Makefile ip: add support of 'ip link type [ipip|sit]' 2012-12-12 09:10:22 -08:00
ifcfg Remove trailing whitespace 2006-12-05 10:10:22 -08:00
ip.c iproute2: Document the -D and -I options 2013-03-11 16:53:37 -07:00
ip6tunnel.c iproute2: improved error messages 2013-02-11 09:22:22 -08:00
ip_common.h ip: use rtnelink to manage mroute 2012-12-14 10:08:17 -08:00
ipaddress.c ipaddress: minor white space cleanup 2013-03-14 13:47:49 -07:00
ipaddrlabel.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00
ipl2tp.c iproute2: add l2spec_type param to l2tp add session 2013-03-27 13:20:58 -07:00
iplink.c iproute2: Mention the 'up' argument in documentation 2013-03-14 13:26:33 -07:00
iplink_can.c iproute2: improved error messages 2013-02-11 09:22:22 -08:00
iplink_ipoib.c iproute2: improved error messages 2013-02-11 09:22:22 -08:00
iplink_macvlan.c iproute2: improved error messages 2013-02-11 09:22:22 -08:00
iplink_macvtap.c iproute2: improved error messages 2013-02-11 09:22:22 -08:00
iplink_vlan.c iplink_vlan: Add flag for Multiple VLAN Registration Protocol (MVRP) 2013-03-06 10:46:37 -08:00
iplink_vxlan.c iproute2: improved error messages 2013-02-11 09:22:22 -08:00
ipmaddr.c ipmaddr: add whitespace around = 2013-03-14 13:44:25 -07:00
ipmonitor.c ip: make local functions static 2013-02-12 11:38:35 -08:00
ipmroute.c ip: use rtnelink to manage mroute 2012-12-14 10:08:17 -08:00
ipneigh.c ip: make local functions static 2013-02-12 11:38:35 -08:00
ipnetconf.c ip: make local functions static 2013-02-12 11:38:35 -08:00
ipnetns.c iproute2: improved error messages 2013-02-11 09:22:22 -08:00
ipntable.c ipntable: more fixes for ppc64 2013-03-04 13:59:39 -08:00
ipprefix.c ip: make local functions static 2013-02-12 11:38:35 -08:00
iproute.c ip: handle flush with table > 2^31 2013-02-12 11:42:57 -08:00
iprule.c Convert to use rta_getattr_ functions 2012-04-10 08:47:55 -07:00
iptunnel.c iproute2: improved error messages 2013-02-11 09:22:22 -08:00
iptuntap.c iproute2: improved error messages 2013-02-11 09:22:22 -08:00
ipxfrm.c ip: make local functions static 2013-02-12 11:38:35 -08:00
link_gre.c iproute2: improved error messages 2013-02-11 09:22:22 -08:00
link_ip6tnl.c ip: add support of 'ip link type ip6tnl' 2012-12-12 09:09:23 -08:00
link_iptnl.c ip/link_iptnl: fix indentation Logged in as shemminger 2012-12-14 09:50:33 -08:00
link_veth.c iproute2: support device group semantics 2011-02-25 12:43:14 -08:00
link_vti.c iproute2: improved error messages 2013-02-11 09:22:22 -08:00
routef ip/routef lifesaver 2007-07-10 18:29:20 -07:00
routel (Logical change 1.3) 2004-04-15 20:56:59 +00:00
rtm_map.c (Logical change 1.3) 2004-04-15 20:56:59 +00:00
rtmon.c ip: make local functions static 2013-02-12 11:38:35 -08:00
rtpr (Logical change 1.3) 2004-04-15 20:56:59 +00:00
static-syms.c Fix build when shared libraries are disabled 2013-03-13 08:29:59 -07:00
tcp_metrics.c fix dependency on sizeof(__u64) == sizeof(unsigned long long) 2013-02-28 08:51:46 -08:00
tunnel.c iproute2: improved error messages 2013-02-11 09:22:22 -08:00
tunnel.h Use standard routines for interface name to index etc 2010-11-28 10:35:28 -08:00
xfrm.h xfrm security context support 2011-03-17 09:58:23 -07:00
xfrm_monitor.c ip: make local functions static 2013-02-12 11:38:35 -08:00
xfrm_policy.c ip: make local functions static 2013-02-12 11:38:35 -08:00
xfrm_state.c ip xfrm state: Allow different selector family 2013-03-20 08:11:54 -07:00