iproute2: MPLS support (now with af_bit_len)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | iproute2: Add a source addres length parameter to rt_addr_n2ainclude/ ip/ ip/ +8 more | +41 | 0 replies | |
| 1/8 | iproute2: Add a source addres length parameter to rt_addr_n2ainclude/ ip/ ip/ +8 more | +41 | 0 replies | |
| 2/8 | iproute2: Make the addr argument of ll_addr_n2a constinclude/ lib/ | +2 | 0 replies | |
| 2/8 | iproute2: Make the addr argument of ll_addr_n2a constinclude/ lib/ | +2 | 0 replies | |
| 3/8 | iproute2: Add support for printing AF_PACKET addresseslib/ | +16 | 0 replies | |
| 3/8 | iproute2: Add support for printing AF_PACKET addresseslib/ | +16 | 0 replies | |
| 4/8 | iproute2: Add address family to/from string helper functions.include/ ip/ lib/ | +41 | 0 replies | |
| 4/8 | iproute2: Add address family to/from string helper functions.include/ ip/ lib/ | +41 | 0 replies | |
| 5/8 | iproute2: misc whitespace cleanupip/ | +1 | 0 replies | |
| 5/8 | iproute2: misc whitespace cleanupip/ | +1 | 0 replies | |
| 6/8 | iproute2: Add support for RTA_VIA attributesinclude/ include/ ip/ +1 more | +90 | 0 replies | |
| 6/8 | iproute2: Add support for the RTA_VIA attributeinclude/ include/ ip/ +1 more | +90 | 8 replies | |
| 7/8 | iproute2: Add support for the RTA_NEWDST attribute.include/ ip/ man/ | +24 | 0 replies | |
| 7/8 | iproute2: Add support for the RTA_NEWDST attribute.include/ ip/ man/ | +24 | 0 replies | |
| 8/8 | iproute2: Add basic mpls support to iprouteMakefile include/ include/ +9 more | +200 | 0 replies | |
| 8/8 | iproute2: Add basic mpls support to iprouteMakefile include/ include/ +9 more | +197 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/8] iproute2: MPLS support (now with af_bit_len)
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 | 106 ++++++++++++++++++++++++++++++++++++++++------ 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 | 90 +++++++++++++++++++++++++++++++++++---- man/man8/ip-route.8.in | 23 +++++++--- man/man8/ip.8 | 7 ++- 22 files changed, 410 insertions(+), 66 deletions(-)