iproute2/include
Eric W. Biederman dacc5d4197 add basic mpls support to iproute
- Pull in the uapi mpls.h
- Update rtnetlink.h to include the mpls rtnetlink notification multicast group.
- Define AF_MPLS in utils.h if it is not defined from elsewhere
  as is done with AF_DECnet

The address syntax for multiple mpls labels is a complete invention.
When I looked there seemed to be no wide spread convention for talking
about an mpls label stack in text for.  Sometimes people did:
"{ Label1, Label2, Label3 }", sometimes people would do:
"[ label3, label2, label1 ]", and most of the time label
stacks were not explicitly shown at all.

The syntax I wound up using, so it would not have spaces and so it
would visually distinct from other kinds of addresses is.

label1/label2/label3 Where label1 is the label at the top of the label
stack and label3 is the label at the bottom on the label stack.

When there is a single label this matches what seems to be convention
with other tools.  Just print out the numeric value of the mpls label.

The netlink protocol for labels uses the on the wire format for a
label stack. The ttl and traffic class are expected to be 0.  Using
the on the wire format is common and what happens with other address
types. BGP when passing label stacks also uses this technique with the
exception that the ttl byte is not included making each label in a BGP
label stack 3 bytes instead of 4.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
2015-03-24 15:45:23 -07:00
..
libiptc iproute2: Support IFF_LOWER_UP and IFF_DORMANT 2007-06-19 16:40:40 -07:00
linux add basic mpls support to iproute 2015-03-24 15:45:23 -07:00
netinet ss: report ecnseen 2011-11-23 14:51:54 -08:00
SNAPSHOT.h v3.19.0 2015-02-10 15:14:32 -08:00
dlfcn.h Fix build when shared libraries are disabled 2013-03-13 08:29:59 -07:00
hlist.h ll_map: add name and index hash 2013-03-28 14:57:28 -07:00
ip6tables.h Remove trailing whitespace 2006-12-05 10:10:22 -08:00
iptables.h Fix compilation error of m_ipt.c with -Werror enabled 2013-02-26 17:35:26 -08:00
iptables_common.h fix build warnings 2007-06-20 10:55:18 -07:00
libgenl.h iproute2: GENL: merge GENL_REQUEST and GENL_INITIALIZER 2012-09-17 15:46:45 -07:00
libnetlink.h ipnetns: allow to get and set netns ids 2015-02-21 16:54:53 -08:00
ll_map.h cleanup warnings 2014-08-04 10:30:35 -07:00
names.h tc class: Show class names from file 2015-03-15 12:27:40 -07:00
namespace.h lib: Exec func on each netns 2015-02-05 10:28:19 -08:00
rt_names.h make the addr argument of ll_addr_n2a const 2015-03-24 15:45:23 -07:00
rtm_map.h (Logical change 1.3) 2004-04-15 20:56:59 +00:00
utils.h add basic mpls support to iproute 2015-03-24 15:45:23 -07:00
xt-internal.h Breakage noticed when debian upgraded to xtables (iptables > 1.4.1) 2009-02-19 09:02:13 -08:00