[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070613170229.8318.75488.sendpatchset@localhost.localdomain>
Date: Wed, 13 Jun 2007 19:02:32 +0200 (MEST)
From: Patrick McHardy <kaber@...sh.net>
To: shemminger@...l.org
Cc: netdev@...r.kernel.org, Patrick McHardy <kaber@...sh.net>
Subject: [IPROUTE 00/02]: rtnl_link support
Hi Stephen,
these patches add support for the rtnl_link stuff and VLAN configuration
to iproute. Since the old link configuration was entirely ioctl based and
mixing the two would be really ugly, this patch keeps the old ioctl stuff
guarded by an ifdef (defaults to enabled) and probes for support for
using RTM_NEWLINK. Tested to work properly on both old and patched kernel.
I've added a new -d[etail] flag to ip, the driver specific things are only
printed when it is specified. I did this mainly because I'm not sure how
careful we want to be not to confuse people using sed/awk/... on iproute
output. I would prefer to have the information always shown, but I'll
leave that decision up to you.
Changes since the last post:
- Only call link argument parsing function if arguments are present
- Support xstats dumping
- Add sanitized if_vlan.h file for VLAN flag definition
- Support setting/changing VLAN flags
Please apply, thanks.
include/linux/if_link.h | 47 +++++++
include/linux/if_vlan.h | 61 +++++++++
ip/Makefile | 4
ip/ip.c | 5
ip/ip_common.h | 15 ++
ip/ipaddress.c | 39 ++++++
ip/iplink.c | 311 +++++++++++++++++++++++++++++++++++++++++++++++-
ip/iplink_vlan.c | 184 ++++++++++++++++++++++++++++
8 files changed, 663 insertions(+), 3 deletions(-)
Patrick McHardy (2):
[IPROUTE]: iplink: use netlink for link configuration
[IPROUTE]: VLAN support
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists