summaryrefslogtreecommitdiff
path: root/zebra/zebra_vrf.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-05-02 11:38:06 -0400
committerGitHub <noreply@github.com>2017-05-02 11:38:06 -0400
commitb46be72b4aff1d413e89bc26a70a29934afe9d85 (patch)
treecd556a135211559b7e636db619dbf5257f874e86 /zebra/zebra_vrf.h
parent2a23cf9503bf2ff36d3c34308de78618b3196f35 (diff)
parentb2ab6b282ce1569ed348aebe17432094adfe7d24 (diff)
Merge branch 'master' into EIGRP
Diffstat (limited to 'zebra/zebra_vrf.h')
-rw-r--r--zebra/zebra_vrf.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/zebra/zebra_vrf.h b/zebra/zebra_vrf.h
index 96d631d646..74c2a52171 100644
--- a/zebra/zebra_vrf.h
+++ b/zebra/zebra_vrf.h
@@ -25,6 +25,13 @@
#include <zebra/zebra_ns.h>
+/* MPLS (Segment Routing) global block */
+typedef struct mpls_srgb_t_
+{
+ u_int32_t start_label;
+ u_int32_t end_label;
+} mpls_srgb_t;
+
/* Routing table instance. */
struct zebra_vrf
{
@@ -79,6 +86,12 @@ struct zebra_vrf
/* MPLS label forwarding table */
struct hash *lsp_table;
+ /* MPLS FEC binding table */
+ struct route_table *fec_table[AFI_MAX];
+
+ /* MPLS Segment Routing Global block */
+ mpls_srgb_t mpls_srgb;
+
/* MPLS processing flags */
u_int16_t mpls_flags;
#define MPLS_FLAG_SCHEDULE_LSPS (1 << 0)