summaryrefslogtreecommitdiffstats
path: root/lib/nexthop.h
diff options
context:
space:
mode:
authorDon Slice <dslice@cumulusnetworks.com>2017-02-02 18:58:33 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-04-06 16:29:19 +0200
commita64448baa6150a7431d55e0e65d0b51d62c4b5be (patch)
treeadb195d3f8e26c4ae893f85fb1020e1d55d73241 /lib/nexthop.h
parentbgpd: update debugs enance (diff)
downloadfrr-a64448baa6150a7431d55e0e65d0b51d62c4b5be.tar.xz
frr-a64448baa6150a7431d55e0e65d0b51d62c4b5be.zip
zebra: labeled unicast handling
Support install of labeled-unicast routes by a client. This would be BGP, in order to install routes corresponding to AFI/SAFI 1/4 (IPv4) or 2/4 (IPv6). Convert labeled-unicast routes into label forwarding entries (i.e., transit LSPs) when there is a static label binding. Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'lib/nexthop.h')
-rw-r--r--lib/nexthop.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/nexthop.h b/lib/nexthop.h
index e66e0eee2..83c5b850b 100644
--- a/lib/nexthop.h
+++ b/lib/nexthop.h
@@ -117,6 +117,7 @@ void nexthop_del_labels (struct nexthop *);
extern const char *nexthop_type_to_str (enum nexthop_types_t nh_type);
extern int nexthop_same_no_recurse (struct nexthop *next1, struct nexthop *next2);
+extern int nexthop_labels_match (struct nexthop *nh1, struct nexthop *nh2);
extern const char * nexthop2str (struct nexthop *nexthop, char *str, int size);
#endif /*_LIB_NEXTHOP_H */