summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_dplane.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-11-29 15:50:07 +0100
committerRenato Westphal <renato@opensourcerouting.org>2019-11-29 15:50:07 +0100
commit5065db0aa63137daebf96f8f6c0d9a0fe2ddf594 (patch)
tree630b216689492c024b600b6999602ef037ed8274 /zebra/zebra_dplane.h
parentMerge pull request #5409 from qlyoung/bgpd-lcom-ecom-parse-fixes (diff)
downloadfrr-5065db0aa63137daebf96f8f6c0d9a0fe2ddf594.tar.xz
frr-5065db0aa63137daebf96f8f6c0d9a0fe2ddf594.zip
zebra: support LSPs with multiple outgoing labels
For SR-TE we'll need to create Binding-SIDs which are essentially LSPs that can push multiple outgoing labels. This commit sets the groundwork for that. Luckily the netlink code didn't need to be changed since it already supports pushing label stacks. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_dplane.h')
-rw-r--r--zebra/zebra_dplane.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zebra_dplane.h b/zebra/zebra_dplane.h
index fede3bfcc..c0b04e71b 100644
--- a/zebra/zebra_dplane.h
+++ b/zebra/zebra_dplane.h
@@ -302,7 +302,8 @@ zebra_nhlfe_t *dplane_ctx_add_nhlfe(struct zebra_dplane_ctx *ctx,
enum nexthop_types_t nh_type,
union g_addr *gate,
ifindex_t ifindex,
- mpls_label_t out_label);
+ uint8_t num_labels,
+ mpls_label_t out_labels[]);
const zebra_nhlfe_t *dplane_ctx_get_best_nhlfe(
const struct zebra_dplane_ctx *ctx);