summaryrefslogtreecommitdiff
path: root/zebra/interface.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@labn.net>2022-12-02 11:10:58 -0500
committerMark Stapp <mjs@labn.net>2022-12-05 10:55:35 -0500
commitc0ce4875ff6a3ab96faddc3b0634729c1ec5a5b1 (patch)
tree8f5f52fa5f06f047fcd9aaf228f15bf83792f462 /zebra/interface.h
parent4011543282d8c789989174b39bc1e2cb9af99796 (diff)
zebra: use real MTYPEs for various objects
Don't use MTYPE_TMP for many things in zebra: add specific mem types. Signed-off-by: Mark Stapp <mjs@labn.net>
Diffstat (limited to 'zebra/interface.h')
-rw-r--r--zebra/interface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/interface.h b/zebra/interface.h
index 801078e83d..0242438dc2 100644
--- a/zebra/interface.h
+++ b/zebra/interface.h
@@ -109,6 +109,9 @@ enum zebra_if_flags {
#define ZEBRA_IF_IS_PROTODOWN_ONLY_EXTERNAL(zif) \
((zif)->protodown_rc == ZEBRA_PROTODOWN_EXTERNAL)
+/* Mem type for zif desc */
+DECLARE_MTYPE(ZIF_DESC);
+
/* `zebra' daemon local interface structure. */
struct zebra_if {
/* back pointer to the interface */