]>
Commit | Line | Data |
---|---|---|
1c84efe4 CH |
1 | // SPDX-License-Identifier: GPL-2.0-or-later |
2 | /* | |
3 | * mgmt memory type definitions | |
4 | * | |
5 | * Copyright (C) 2021 Vmware, Inc. | |
6 | * Pushpasis Sarkar <spushpasis@vmware.com> | |
7 | */ | |
8 | ||
9 | #include <zebra.h> | |
10 | #ifdef HAVE_CONFIG_H | |
11 | #include "config.h" | |
12 | #endif | |
13 | ||
14 | #include "mgmt_memory.h" | |
15 | ||
16 | /* this file is temporary in nature; definitions should be moved to the | |
17 | * files they're used in | |
18 | */ | |
19 | ||
20 | DEFINE_MGROUP(MGMTD, "mgmt"); | |
df6eb0bd | 21 | DEFINE_MTYPE(MGMTD, MGMTD, "instance"); |
0327be91 | 22 | DEFINE_MTYPE(MGMTD, MGMTD_XPATH, "xpath regex"); |
df6eb0bd | 23 | DEFINE_MTYPE(MGMTD, MGMTD_BE_ADPATER, "backend adapter"); |
0327be91 CH |
24 | DEFINE_MTYPE(MGMTD, MGMTD_FE_ADPATER, "frontend adapter"); |
25 | DEFINE_MTYPE(MGMTD, MGMTD_FE_SESSION, "frontend session"); | |
26 | DEFINE_MTYPE(MGMTD, MGMTD_TXN, "txn"); | |
27 | DEFINE_MTYPE(MGMTD, MGMTD_TXN_REQ, "txn request"); | |
28 | DEFINE_MTYPE(MGMTD, MGMTD_TXN_SETCFG_REQ, "txn set-config requests"); | |
29 | DEFINE_MTYPE(MGMTD, MGMTD_TXN_COMMCFG_REQ, "txn commit-config requests"); | |
30 | DEFINE_MTYPE(MGMTD, MGMTD_TXN_GETDATA_REQ, "txn get-data requests"); | |
31 | DEFINE_MTYPE(MGMTD, MGMTD_TXN_GETDATA_REPLY, "txn get-data replies"); | |
32 | DEFINE_MTYPE(MGMTD, MGMTD_TXN_CFG_BATCH, "txn config batches"); | |
33 | DEFINE_MTYPE(MGMTD, MGMTD_CMT_INFO, "commit info"); |