summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_mpls_null.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-04-06 16:25:43 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-04-06 20:40:19 +0200
commit95f40dbe21f163d6a906bb4ac027ef44936ba89f (patch)
tree346ab1656f07775ffe7c2db1bc6f4718fec1975f /zebra/zebra_mpls_null.c
parentzebra: Fix usage of HAVE_CUMULUS (diff)
downloadfrr-95f40dbe21f163d6a906bb4ac027ef44936ba89f.tar.xz
frr-95f40dbe21f163d6a906bb4ac027ef44936ba89f.zip
zebra: Get mpls building across multiple platforms.
The build system for mpls is a bit convoluted. We need a way to handle builds across multiple platforms. This, I believe addresses this issue. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_mpls_null.c')
-rw-r--r--zebra/zebra_mpls_null.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/zebra/zebra_mpls_null.c b/zebra/zebra_mpls_null.c
index 0b4d670fd..168c8d003 100644
--- a/zebra/zebra_mpls_null.c
+++ b/zebra/zebra_mpls_null.c
@@ -195,3 +195,41 @@ zebra_mpls_cleanup_fecs_for_client (struct zebra_vrf *zvrf, struct zserv *client
return 0;
}
+void mpls_ldp_lsp_uninstall_all (struct hash_backet *backet, void *ctxt)
+{
+ return;
+}
+
+void mpls_ldp_ftn_uninstall_all (struct zebra_vrf *zvrf, int afi)
+{
+ return;
+}
+
+void zebra_mpls_init (void)
+{
+ return;
+}
+
+int mpls_lsp_install (struct zebra_vrf *zvrf, enum lsp_types_t type,
+ mpls_label_t in_label, mpls_label_t out_label,
+ enum nexthop_types_t gtype, union g_addr *gate,
+ ifindex_t ifindex)
+{
+ return 0;
+}
+
+int mpls_lsp_uninstall (struct zebra_vrf *zvrf, enum lsp_types_t type,
+ mpls_label_t in_label, enum nexthop_types_t gtype,
+ union g_addr *gate, ifindex_t ifindex)
+{
+ return 0;
+}
+
+int mpls_ftn_update (int add, struct zebra_vrf *zvrf, enum lsp_types_t type,
+ struct prefix *prefix, enum nexthop_types_t gtype,
+ union g_addr *gate, ifindex_t ifindex, u_int8_t distance,
+ mpls_label_t out_label)
+{
+ return 0;
+}
+