iproute2/ip
João Valverde ae5555d334 ipl2tp: allow setting session interface name
Hi,

I've attached a trivial patch for iproute2 to allow naming interfaces
created with "ip l2tp add session".

I believe patches should go through the netdev mailing list but this
patch is so small I figured that would just add noise. Hope that's OK.

Originally I thought I would need a bigger patch and was going to take a
stab at implementing something like

ip l2tp add tunnel L2TP_TUNNEL_ARGS
ip link add name NAME  [ LINK_OPTS ] type l2tp L2TP_SESSION_ARGS

(a better interface IMHO) but all the code was there already, all that I
needed to add was option parsing.

Thanks,

João Valverde

From fd8c3b712527d2e959aeabc6f6b71a9910e7be7e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= <joao.valverde@ist.utl.pt>
Date: Mon, 26 Mar 2012 18:30:56 +0100
Subject: [PATCH] ipl2tp: allow setting session interface name
2012-04-03 11:38:51 -07:00
..
.gitignore Another .gitignore file. 2006-08-08 12:11:23 -07:00
Makefile iproute2: cleanup dependencies 2012-02-27 08:27:54 -08:00
ifcfg Remove trailing whitespace 2006-12-05 10:10:22 -08:00
ip.c ip: make 'ip l' be 'ip link' 2012-01-20 08:16:02 -08:00
ip6tunnel.c iproute2: fix changing of ip6ip6 tunnel parameters 2011-10-07 11:14:47 -07:00
ip_common.h l2tp: Add l2tp support 2011-12-29 09:35:37 -08:00
ipaddress.c ip: allow set and display of link mode parameter 2012-03-19 17:24:43 -07:00
ipaddrlabel.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00
ipl2tp.c ipl2tp: allow setting session interface name 2012-04-03 11:38:51 -07:00
iplink.c ip: allow set and display of link mode parameter 2012-03-19 17:24:43 -07:00
iplink_can.c iproute2: netlink support for bus-error reporting and counters 2010-03-03 16:45:10 -08:00
iplink_macvlan.c macvlan/macvtap: support 'passthru' mode 2011-03-16 17:01:58 -07:00
iplink_macvtap.c macvlan/macvtap: support 'passthru' mode 2011-03-16 17:01:58 -07:00
iplink_vlan.c iplink_vlan: add support for VLAN loose binding flag 2009-12-26 11:07:16 -08:00
ipmaddr.c Fix file descriptor leak on error in read_igmp() 2011-10-07 11:20:23 -07:00
ipmonitor.c iproute2: drop equalize support. 2009-03-27 11:11:12 -07:00
ipmroute.c Fix file descriptor leak on error in read_mroute_list() 2011-10-07 11:20:21 -07:00
ipneigh.c Modify neighbour proxy show 2012-02-09 15:06:52 -08:00
ipnetns.c iproute2: Fail "ip netns add" on existing network namespaces. 2011-08-31 11:02:26 -07:00
ipntable.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00
ipprefix.c ip: fix display of prefix cache info 2011-07-20 16:02:50 -07:00
iproute.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00
iprule.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00
iptunnel.c Fix file descriptor leak in do_tunnels_list() 2011-10-07 11:20:22 -07:00
iptuntap.c Add missing closedir() call in do_show() 2011-10-07 11:17:41 -07:00
ipxfrm.c xfrm: Update documentation 2011-07-11 10:12:06 -07:00
link_gre.c gre: allow 0 as a legal key value 2012-03-19 17:18:49 -07:00
link_veth.c iproute2: support device group semantics 2011-02-25 12:43:14 -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 libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00
rtpr (Logical change 1.3) 2004-04-15 20:56:59 +00:00
static-syms.c support static-only systems 2009-11-10 10:44:20 -08:00
tunnel.c Use standard routines for interface name to index etc 2010-11-28 10:35:28 -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: xfrm: report nat-t/encapsulation portmapping updates 2012-03-15 14:49:03 -07:00
xfrm_policy.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00
xfrm_state.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00