summaryrefslogtreecommitdiff
path: root/zebra/zebra_vrf.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-08-08 07:54:32 -0400
committerGitHub <noreply@github.com>2017-08-08 07:54:32 -0400
commitf66e92bc4856352dc4c1c81fa35b1dd570cd83e5 (patch)
treed95a4b505cc238c09ea4d2512f2ad6af92f5cb9c /zebra/zebra_vrf.h
parent78986c05cdb4adf6019d02dc328341943c573b35 (diff)
parent1a99ca998dd05c41d4068ace4ca3ef8ac4ba309c (diff)
Merge pull request #783 from opensourcerouting/pw-manager-2
Add Pseudowire management in Zebra
Diffstat (limited to 'zebra/zebra_vrf.h')
-rw-r--r--zebra/zebra_vrf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/zebra_vrf.h b/zebra/zebra_vrf.h
index 96d631d646..56c98931f2 100644
--- a/zebra/zebra_vrf.h
+++ b/zebra/zebra_vrf.h
@@ -24,6 +24,7 @@
#define __ZEBRA_RIB_H__
#include <zebra/zebra_ns.h>
+#include <zebra/zebra_pw.h>
/* Routing table instance. */
struct zebra_vrf
@@ -79,6 +80,10 @@ struct zebra_vrf
/* MPLS label forwarding table */
struct hash *lsp_table;
+ /* Pseudowires. */
+ struct zebra_pw_head pseudowires;
+ struct zebra_static_pw_head static_pseudowires;
+
/* MPLS processing flags */
u_int16_t mpls_flags;
#define MPLS_FLAG_SCHEDULE_LSPS (1 << 0)