summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRenato Westphal <renato@openbsd.org>2018-12-20 13:59:28 -0200
committerGitHub <noreply@github.com>2018-12-20 13:59:28 -0200
commit96def26e5a2764ebfa3dba13418627451eaba0ce (patch)
treef160bbc733cfa24b088bbb965f1ca34522d3c1b0 /lib
parentbbfaa7054a4f3f6a9ffb54afebeb6e4129037da6 (diff)
parent57592a53b5c02094f915a8444d40d2361d31e972 (diff)
Merge pull request #3327 from adeg/feature/bgp-lu-auto-labels
bgpd, zebra: auto assign labels to regular labeled-unicast prefixes
Diffstat (limited to 'lib')
-rw-r--r--lib/zclient.h4
-rw-r--r--lib/zebra.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index adb48b252a..8fe711f310 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -58,6 +58,10 @@
#define ZEBRA_IPTABLES_FORWARD 0
#define ZEBRA_IPTABLES_DROP 1
+/* Zebra FEC register command flags. */
+#define ZEBRA_FEC_REGISTER_LABEL 0x1
+#define ZEBRA_FEC_REGISTER_LABEL_INDEX 0x2
+
extern struct sockaddr_storage zclient_addr;
extern socklen_t zclient_addr_len;
diff --git a/lib/zebra.h b/lib/zebra.h
index 0f3f45f7ba..09115951e9 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -452,9 +452,6 @@ extern const char *zserv_command_string(unsigned int command);
*/
#define ZEBRA_FLAG_ONLINK 0x80
-/* Zebra FEC flags. */
-#define ZEBRA_FEC_REGISTER_LABEL_INDEX 0x1
-
#ifndef INADDR_LOOPBACK
#define INADDR_LOOPBACK 0x7f000001 /* Internet address 127.0.0.1. */
#endif