]> git.proxmox.com Git - mirror_frr.git/blob - zebra/zebra_memory.c
zebra: Fix some memory leaks on shutdown
[mirror_frr.git] / zebra / zebra_memory.c
1 /* zebra memory type definitions
2 *
3 * Copyright (C) 2015 David Lamparter
4 *
5 * This file is part of Quagga.
6 *
7 * Quagga is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2, or (at your option) any
10 * later version.
11 *
12 * Quagga is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * with this program; see the file COPYING; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22 #ifdef HAVE_CONFIG_H
23 #include "config.h"
24 #endif
25
26 #include "zebra_memory.h"
27
28 DEFINE_MGROUP(ZEBRA, "zebra")
29 DEFINE_MTYPE(ZEBRA, RTADV_PREFIX, "Router Advertisement Prefix")
30 DEFINE_MTYPE(ZEBRA, ZEBRA_VRF, "ZEBRA VRF")
31 DEFINE_MTYPE(ZEBRA, RE, "Route Entry")
32 DEFINE_MTYPE(ZEBRA, RIB_QUEUE, "RIB process work queue")
33 DEFINE_MTYPE(ZEBRA, STATIC_ROUTE, "Static route")
34 DEFINE_MTYPE(ZEBRA, RIB_DEST, "RIB destination")
35 DEFINE_MTYPE(ZEBRA, RIB_TABLE_INFO, "RIB table info")
36 DEFINE_MTYPE(ZEBRA, RNH, "Nexthop tracking object")