summaryrefslogtreecommitdiff
path: root/zebra/kernel_null.c
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2016-04-15 19:19:37 -0700
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-09-23 09:30:56 -0400
commit40c7bdb0c9ba746d1f1bdfe1cb4d03aa5f407661 (patch)
treedeeff1f385d86818d5f85258074960cdd2827508 /zebra/kernel_null.c
parent24a7c906dc8a108732188240b117565acbb8fc92 (diff)
Quagga: Install label forwarding entries for statically configured LSPs
Install the statically configured LSPs into the FIB (kernel). This is done using the new attributes and definitions for MPLS in the kernel - RTA_VIA, RTA_NEWDST and AF_MPLS. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Ticket: CM-4804 Reviewed By: CCR-3088 Testing Done: Manual in SE-1
Diffstat (limited to 'zebra/kernel_null.c')
-rw-r--r--zebra/kernel_null.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/zebra/kernel_null.c b/zebra/kernel_null.c
index 17b3c7bc8d..0802570e60 100644
--- a/zebra/kernel_null.c
+++ b/zebra/kernel_null.c
@@ -30,6 +30,7 @@
#include "zebra/connected.h"
#include "zebra/rt_netlink.h"
#include "zebra/rib.h"
+#include "zebra/zebra_mpls.h"
int kernel_add_ipv4 (struct prefix *a, struct rib *b) { return 0; }
int kernel_update_ipv4 (struct prefix *a, struct rib *b) { return 0; }
@@ -65,3 +66,9 @@ int kernel_neigh_update (int a, int b, uint32_t c, char *d, int e)
void kernel_init (struct zebra_ns *zns) { return; }
void kernel_terminate (struct zebra_ns *zns) { return; }
void route_read (struct zebra_ns *zns) { return; }
+
+int kernel_add_lsp (zebra_lsp_t *l) { return 0; }
+
+int kernel_del_lsp (zebra_lsp_t *l) { return 0; }
+
+int kernel_upd_lsp (zebra_lsp_t *l) { return 0; }