[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <87bnjwspek.fsf@x220.int.ebiederm.org>
Date: Fri, 13 Mar 2015 13:50:11 -0500
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Stephen Hemminger <shemming@...cade.com>
cc: <netdev@...r.kernel.org>
Subject: [PATCH net-next] iproute2: MPLS support
This set of changes adds support for nexthops in different
address families, with the new netlink RTA_VIA option.
Support is added for routes that change the destination address (as MPLS
does) with the RTA_NEWDST attribute.
Support for MPLS addresses is added (for multiple labels I
had to make up the syntax I used label/label/label as it fits in
well with addresses that don't have a space in them).
Support for these options is merged into David's net-next kernel
tree, and the meaning of the options is unlikely to change in any
significant way before this code merges upstream.
The documentation has been updated to report that the new options
are present and to report roughly what they do. This includes
ip --help and the man pages.
Eric W. Biederman (8):
iproute2: Add a source addres length parameter to rt_addr_n2a
iproute2: Make the addr argument of ll_addr_n2a const
iproute2: Add support for printing AF_PACKET addresses
iproute2: Add address family to/from string helper functions.
iproute2: misc whitespace cleanup
iproute2: Add support for RTA_VIA attributes
iproute2: Add support for the RTA_NEWDST attribute.
iproute2: Add basic mpls support to iproute
Makefile | 3 ++
include/linux/mpls.h | 34 +++++++++++++++
include/linux/rtnetlink.h | 10 +++++
include/rt_names.h | 2 +-
include/utils.h | 22 ++++++++--
ip/ip.c | 20 +++------
ip/iplink_bond.c | 1 +
ip/ipmonitor.c | 3 ++
ip/ipmroute.c | 2 +
ip/ipprefix.c | 4 +-
ip/iproute.c | 108 ++++++++++++++++++++++++++++++++++++++++------
ip/iprule.c | 10 +++--
ip/iptunnel.c | 4 +-
ip/ipxfrm.c | 17 +++++---
ip/link_ip6tnl.c | 2 +
ip/xfrm_monitor.c | 8 ++--
lib/ll_addr.c | 2 +-
lib/mpls_ntop.c | 48 +++++++++++++++++++++
lib/mpls_pton.c | 58 +++++++++++++++++++++++++
lib/utils.c | 91 ++++++++++++++++++++++++++++++++++----
man/man8/ip-route.8.in | 23 +++++++---
man/man8/ip.8 | 7 ++-
22 files changed, 413 insertions(+), 66 deletions(-)
--
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