summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_srv6_vty.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_srv6_vty.h')
-rw-r--r--zebra/zebra_srv6_vty.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/zebra/zebra_srv6_vty.h b/zebra/zebra_srv6_vty.h
new file mode 100644
index 0000000..f2730b0
--- /dev/null
+++ b/zebra/zebra_srv6_vty.h
@@ -0,0 +1,16 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Zebra SRv6 VTY functions
+ * Copyright (C) 2020 Hiroki Shirokura, LINE Corporation
+ */
+
+#ifndef _ZEBRA_SRV6_VTY_H
+#define _ZEBRA_SRV6_VTY_H
+
+#define ZEBRA_SRV6_LOCATOR_BLOCK_LENGTH 40
+#define ZEBRA_SRV6_LOCATOR_NODE_LENGTH 24
+#define ZEBRA_SRV6_FUNCTION_LENGTH 16
+
+extern void zebra_srv6_vty_init(void);
+
+#endif /* _ZEBRA_SRV6_VTY_H */