diff options
| author | vivek <vivek@cumulusnetworks.com> | 2016-04-18 22:54:11 +0000 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-23 09:31:01 -0400 |
| commit | a22f3f5dadce22784157cdef9b150114b894fd70 (patch) | |
| tree | cc61472cd98bf83c8a56e4d99a70457ed7a0ceab /zebra/zebra_mpls_null.c | |
| parent | b78b820d46d6a5d9335585ccaa9aa956ec34af2b (diff) | |
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 <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Ticket: CM-6040
Reviewed By: CCR-3090
Testing Done: Testing in SE-1
Diffstat (limited to 'zebra/zebra_mpls_null.c')
| -rw-r--r-- | zebra/zebra_mpls_null.c | 14 |
1 files changed, 14 insertions, 0 deletions
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 @@ -5,6 +5,20 @@ #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, union g_addr *gate, char *ifname, ifindex_t ifindex) |
