summaryrefslogtreecommitdiff
path: root/lib/zebra.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetwroks.com>2016-09-02 10:32:14 -0400
committerDonald Sharp <sharpd@cumulusnetwroks.com>2016-09-02 10:36:28 -0400
commit5b30316ea51a86de29450b59ea288afa858953b6 (patch)
tree005f4ccdedb006ad4f3782d5748447ef098e93de /lib/zebra.h
parent5b2c166731c351fd04507b5d495a2ae012cc7ca1 (diff)
bgpd, lib, ospfd, pimd, zebra: Use nexthop_types_t
Use the 'enum nexthop_types_t' instead of the zebra.h #defines. And remove code from zebra.h that does not belong there. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index 4b48454835..546f0dd3d7 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -493,14 +493,6 @@ extern const char *zserv_command_string (unsigned int command);
#define ZEBRA_FLAG_REJECT 0x80
#define ZEBRA_FLAG_SCOPE_LINK 0x100
-/* Zebra nexthop flags. */
-#define ZEBRA_NEXTHOP_IFINDEX 1
-#define ZEBRA_NEXTHOP_IPV4 2
-#define ZEBRA_NEXTHOP_IPV4_IFINDEX 3
-#define ZEBRA_NEXTHOP_IPV6 4
-#define ZEBRA_NEXTHOP_IPV6_IFINDEX 5
-#define ZEBRA_NEXTHOP_BLACKHOLE 6
-
#ifndef INADDR_LOOPBACK
#define INADDR_LOOPBACK 0x7f000001 /* Internet address 127.0.0.1. */
#endif