summaryrefslogtreecommitdiff
path: root/libnl-route-3.sym
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2017-08-17 15:59:32 -0700
committerThomas Haller <thaller@redhat.com>2017-08-18 15:01:04 +0200
commit0a6d27ce90a1a97272cd0516a52d21bcf4428127 (patch)
tree67cb456bc1e2b8fa8638c7140bbf30178bf44bfc /libnl-route-3.sym
parent3cf287ca17ab4e095b9d400c21f4f21e00e4ae8d (diff)
downloadlibnl-0a6d27ce90a1a97272cd0516a52d21bcf4428127.tar.gz
route: Add support for MPLS address family
Add support for route in MPLS family. New attributes: - RTA_NEWDST - label stack for a nexthop - RTA_VIA - nexthop address (e.g., IPv4 or IPv6) Other changes required: - scope has to be universe for MPLS routes so fixup rtnl_route_guess_scope - priority attribute can not be set for MPLS. Change rtnl_route_parse to not set the attribute by default for AF_MPLS. - table attribute should not be set unless something other than the default table. For MPLS this attribute can not be set. '/' is the separator in label stacks for consistency with iproute2. Signed-off-by: David Ahern <dsahern@gmail.com>
Diffstat (limited to 'libnl-route-3.sym')
-rw-r--r--libnl-route-3.sym4
1 files changed, 4 insertions, 0 deletions
diff --git a/libnl-route-3.sym b/libnl-route-3.sym
index 2ba920b4..bb2d6583 100644
--- a/libnl-route-3.sym
+++ b/libnl-route-3.sym
@@ -1053,4 +1053,8 @@ global:
rtnl_rule_get_l3mdev;
rtnl_rule_set_l3mdev;
rtnl_u32_get_action;
+ rtnl_route_nh_set_newdst;
+ rtnl_route_nh_get_newdst;
+ rtnl_route_nh_set_via;
+ rtnl_route_nh_get_via;
} libnl_3_2_29;