summaryrefslogtreecommitdiff
path: root/zebra/rib.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-03-22 20:02:17 +0100
committerDavid Lamparter <equinox@diac24.net>2021-03-22 20:02:17 +0100
commit224ccf29d9e9d08a6a177d8c994ab5a743b276cf (patch)
treee7133cf5297c133b905547fde3e35fce2df17ea3 /zebra/rib.h
parent8392606ec10309999162c9666bf5d964b85d28cc (diff)
zebra: kill zebra_memory.h, use MTYPE_STATIC
This one also needed a bit of shuffling around, but MTYPE_RE is the only one left used across file boundaries now. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'zebra/rib.h')
-rw-r--r--zebra/rib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/rib.h b/zebra/rib.h
index 564e27497d..e7676a1324 100644
--- a/zebra/rib.h
+++ b/zebra/rib.h
@@ -23,6 +23,7 @@
#define _ZEBRA_RIB_H
#include "zebra.h"
+#include "memory.h"
#include "hook.h"
#include "typesafe.h"
#include "linklist.h"
@@ -41,6 +42,10 @@
extern "C" {
#endif
+DECLARE_MGROUP(ZEBRA);
+
+DECLARE_MTYPE(RE);
+
enum rnh_type { RNH_NEXTHOP_TYPE, RNH_IMPORT_CHECK_TYPE };
PREDECL_LIST(rnh_list);