diff options
author | Stephen Worley <sworley@cumulusnetworks.com> | 2018-08-12 00:36:22 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-25 19:19:07 +0200 |
commit | 87da6a60191410ee957d6c5b58c0226f658c2ca4 (patch) | |
tree | 7bd2d41a77593a20eba78e952026638d7a35053c /zebra/kernel_netlink.h | |
parent | Merge pull request #2910 from opensourcerouting/doc-summerclean-20180825 (diff) | |
download | frr-87da6a60191410ee957d6c5b58c0226f658c2ca4.tar.xz frr-87da6a60191410ee957d6c5b58c0226f658c2ca4.zip |
zebra: Add support for static encap mpls labels
We were ignoring mpls labels encapped with static routes.
Added support for single and multipath labels.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/kernel_netlink.h')
-rw-r--r-- | zebra/kernel_netlink.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/kernel_netlink.h b/zebra/kernel_netlink.h index 65df15599..af0cc83f4 100644 --- a/zebra/kernel_netlink.h +++ b/zebra/kernel_netlink.h @@ -28,6 +28,8 @@ extern void netlink_parse_rtattr(struct rtattr **tb, int max, struct rtattr *rta, int len); +extern void netlink_parse_rtattr_nested(struct rtattr **tb, int max, + struct rtattr *rta); extern int addattr_l(struct nlmsghdr *n, unsigned int maxlen, int type, const void *data, unsigned int alen); extern int rta_addattr_l(struct rtattr *rta, unsigned int maxlen, int type, |