summaryrefslogtreecommitdiffstats
path: root/include/netlink-private
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2017-08-17 22:59:33 (GMT)
committerThomas Haller <thaller@redhat.com>2017-08-18 13:01:04 (GMT)
commit63d02c3c581b4edc915af820c364f53e77497ea0 (patch)
treed8617d8b43b6c7d31a8ec2fa7e6c082e50e7a654 /include/netlink-private
parent0a6d27ce90a1a97272cd0516a52d21bcf4428127 (diff)
downloadlibnl-63d02c3c581b4edc915af820c364f53e77497ea0.zip
libnl-63d02c3c581b4edc915af820c364f53e77497ea0.tar.gz
libnl-63d02c3c581b4edc915af820c364f53e77497ea0.tar.bz2
route: Add support for ttl propagation in MPLS routes
Add support for RTA_TTL_PROPAGATE attribute on a per-route basis. Used to enable/disable TTL propagation at LSP egress. Signed-off-by: David Ahern <dsahern@gmail.com>
Diffstat (limited to 'include/netlink-private')
-rw-r--r--include/netlink-private/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netlink-private/types.h b/include/netlink-private/types.h
index ad4b125..5d165b6 100644
--- a/include/netlink-private/types.h
+++ b/include/netlink-private/types.h
@@ -327,6 +327,7 @@ struct rtnl_route
uint8_t rt_scope;
uint8_t rt_type;
uint8_t rt_nmetrics;
+ uint8_t rt_ttl_propagate;
uint32_t rt_flags;
struct nl_addr * rt_dst;
struct nl_addr * rt_src;