[PATCH libnl 06/11] route: Add support for ttl propagation in MPLS routes
Thomas Haller
thaller at redhat.com
Mon Aug 14 02:28:08 PDT 2017
On Fri, 2017-06-30 at 10:48 -0600, David Ahern wrote:
> 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 at gmail.com>
>
> @@ -62,6 +62,7 @@
> #define ROUTE_ATTR_MULTIPATH 0x008000
> #define ROUTE_ATTR_REALMS 0x010000
> #define ROUTE_ATTR_CACHEINFO 0x020000
> +#define ROUTE_ATTR_TTL_PROPAGATE 0x100000
is there a reason for the gap in the mask (not using 0x040000)?
> diff --git a/libnl-route-3.sym b/libnl-route-3.sym
> index bb2d6583b8bc..a8f67ad8471f 100644
> --- a/libnl-route-3.sym
> +++ b/libnl-route-3.sym
> @@ -1057,4 +1057,5 @@ libnl_3_4 {
> rtnl_route_nh_get_newdst;
> rtnl_route_nh_set_via;
> rtnl_route_nh_get_via;
> + rtnl_route_set_ttl_propagate;
> } libnl_3_2_29;
there is no getter for the property, but ok. Fine with me.
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20170814/d0c6e694/attachment.sig>
More information about the libnl
mailing list