summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_mpls.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-04-18 13:06:11 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-04-18 13:06:11 +0200
commit036fdaad9f341e1bd380d2eb6de048b49486f912 (patch)
tree639835e0fcd1e4df567feb83c31243dc68e7e46a /zebra/zebra_mpls.h
parentlib, zebra: Move help string to appropriate header (diff)
downloadfrr-036fdaad9f341e1bd380d2eb6de048b49486f912.tar.xz
frr-036fdaad9f341e1bd380d2eb6de048b49486f912.zip
lib, zebra: Move label conversion strings to lib
The mpls_label2str and mpls_str2label functions should not be zebra exclusive functions. Move them to lib/mpls.c Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_mpls.h')
-rw-r--r--zebra/zebra_mpls.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/zebra/zebra_mpls.h b/zebra/zebra_mpls.h
index 20c733931..98905a283 100644
--- a/zebra/zebra_mpls.h
+++ b/zebra/zebra_mpls.h
@@ -164,18 +164,6 @@ struct zebra_fec_t_ {
/* Function declarations. */
/*
- * String to label conversion, labels separated by '/'.
- */
-int mpls_str2label(const char *label_str, uint8_t *num_labels,
- mpls_label_t *labels);
-
-/*
- * Label to string conversion, labels in string separated by '/'.
- */
-char *mpls_label2str(uint8_t num_labels, mpls_label_t *labels, char *buf,
- int len, int pretty);
-
-/*
* Add/update global label block.
*/
int zebra_mpls_label_block_add(struct zebra_vrf *zvrf, uint32_t start_label,