From a22f3f5dadce22784157cdef9b150114b894fd70 Mon Sep 17 00:00:00 2001 From: vivek Date: Mon, 18 Apr 2016 22:54:11 +0000 Subject: MPLS: Configure static routes with labels in Quagga Introduce ability to configure static routes with labels. Only supported for IPv4. Signed-off-by: Vivek Venkatraman Reviewed-by: Donald Sharp Ticket: CM-6040 Reviewed By: CCR-3090 Testing Done: Testing in SE-1 --- zebra/zebra_mpls_null.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'zebra/zebra_mpls_null.c') diff --git a/zebra/zebra_mpls_null.c b/zebra/zebra_mpls_null.c index dc9993e7e7..2953138dbc 100644 --- a/zebra/zebra_mpls_null.c +++ b/zebra/zebra_mpls_null.c @@ -4,6 +4,20 @@ #include "zebra/zserv.h" #include "zebra/zebra_mpls.h" +int +mpls_str2label (const char *label_str, u_int8_t *num_labels, + mpls_label_t *labels) +{ + return 0; +} + +char * +mpls_label2str (u_int8_t num_labels, mpls_label_t *labels, + char *buf, int len) +{ + return NULL; +} + int zebra_mpls_lsp_label_consistent (struct zebra_vrf *zvrf, mpls_label_t in_label, mpls_label_t out_label, enum nexthop_types_t gtype, -- cgit v1.2.3