mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 21:23:06 +00:00
Merge pull request #15523 from donaldsharp/lib_mtype_cleanup
Lib mtype cleanup
This commit is contained in:
commit
1942951ea4
@ -41,8 +41,6 @@
|
|||||||
#include "jhash.h"
|
#include "jhash.h"
|
||||||
|
|
||||||
DEFINE_MTYPE_STATIC(LIB, AFFINITY_MAP, "Affinity map");
|
DEFINE_MTYPE_STATIC(LIB, AFFINITY_MAP, "Affinity map");
|
||||||
DEFINE_MTYPE(LIB, AFFINITY_MAP_NAME, "Affinity map name");
|
|
||||||
DEFINE_MTYPE_STATIC(LIB, AFFINITY_MAP_INDEX, "Affinity map index");
|
|
||||||
|
|
||||||
DEFINE_QOBJ_TYPE(affinity_maps);
|
DEFINE_QOBJ_TYPE(affinity_maps);
|
||||||
DEFINE_QOBJ_TYPE(affinity_map);
|
DEFINE_QOBJ_TYPE(affinity_map);
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
#include "mgmt_msg_native.h"
|
#include "mgmt_msg_native.h"
|
||||||
|
|
||||||
DEFINE_MGROUP(MSG_NATIVE, "Native message allocations");
|
DEFINE_MGROUP(MSG_NATIVE, "Native message allocations");
|
||||||
DEFINE_MTYPE(MSG_NATIVE, MSG_NATIVE_MSG, "native mgmt msg");
|
|
||||||
DEFINE_MTYPE(MSG_NATIVE, MSG_NATIVE_ERROR, "native error msg");
|
DEFINE_MTYPE(MSG_NATIVE, MSG_NATIVE_ERROR, "native error msg");
|
||||||
DEFINE_MTYPE(MSG_NATIVE, MSG_NATIVE_GET_TREE, "native get tree msg");
|
DEFINE_MTYPE(MSG_NATIVE, MSG_NATIVE_GET_TREE, "native get tree msg");
|
||||||
DEFINE_MTYPE(MSG_NATIVE, MSG_NATIVE_TREE_DATA, "native tree data msg");
|
DEFINE_MTYPE(MSG_NATIVE, MSG_NATIVE_TREE_DATA, "native tree data msg");
|
||||||
|
@ -13,10 +13,6 @@
|
|||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
|
|
||||||
DEFINE_MTYPE_STATIC(LIB, NS, "NetNS Context");
|
|
||||||
DEFINE_MTYPE_STATIC(LIB, NS_NAME, "NetNS Name");
|
|
||||||
|
|
||||||
|
|
||||||
static inline int ns_compare(const struct ns *ns, const struct ns *ns2);
|
static inline int ns_compare(const struct ns *ns, const struct ns *ns2);
|
||||||
|
|
||||||
RB_GENERATE(ns_head, ns, entry, ns_compare)
|
RB_GENERATE(ns_head, ns, entry, ns_compare)
|
||||||
@ -39,7 +35,6 @@ void ns_init_management(ns_id_t ns_id)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* NS utilities
|
* NS utilities
|
||||||
*/
|
*/
|
||||||
|
@ -19,8 +19,6 @@
|
|||||||
#include <sysrepo/values.h>
|
#include <sysrepo/values.h>
|
||||||
#include <sysrepo/xpath.h>
|
#include <sysrepo/xpath.h>
|
||||||
|
|
||||||
DEFINE_MTYPE_STATIC(LIB, SYSREPO, "Sysrepo module");
|
|
||||||
|
|
||||||
static struct debug nb_dbg_client_sysrepo = {0, "Northbound client: Sysrepo"};
|
static struct debug nb_dbg_client_sysrepo = {0, "Northbound client: Sysrepo"};
|
||||||
|
|
||||||
static struct event_loop *master;
|
static struct event_loop *master;
|
||||||
|
@ -203,6 +203,7 @@ static void sigint(void)
|
|||||||
rib_update_finish();
|
rib_update_finish();
|
||||||
|
|
||||||
list_delete(&zrouter.client_list);
|
list_delete(&zrouter.client_list);
|
||||||
|
list_delete(&zrouter.stale_client_list);
|
||||||
|
|
||||||
/* Indicate that all new dplane work has been enqueued. When that
|
/* Indicate that all new dplane work has been enqueued. When that
|
||||||
* work is complete, the dataplane will enqueue an event
|
* work is complete, the dataplane will enqueue an event
|
||||||
|
Loading…
Reference in New Issue
Block a user