summaryrefslogtreecommitdiffstats
path: root/zebra/kernel_netlink.h
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2018-08-12 00:36:22 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-08-25 19:19:07 +0200
commit87da6a60191410ee957d6c5b58c0226f658c2ca4 (patch)
tree7bd2d41a77593a20eba78e952026638d7a35053c /zebra/kernel_netlink.h
parentMerge pull request #2910 from opensourcerouting/doc-summerclean-20180825 (diff)
downloadfrr-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.h2
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,