]> git.proxmox.com Git - mirror_frr.git/blame - ripd/rip_memory.c
*: split & distribute memtypes and stop (re|ab)using lib/ MTYPEs
[mirror_frr.git] / ripd / rip_memory.c
CommitLineData
4a1ab8e4
DL
1/* ripd 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
18 * along with Quagga; see the file COPYING. If not, write to the Free
19 * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20 * 02111-1307, USA.
21 */
22
23#ifdef HAVE_CONFIG_H
24#include "config.h"
25#endif
26
27#include "rip_memory.h"
28
29DEFINE_MGROUP(RIPD, "ripd")
30DEFINE_MTYPE(RIPD, RIP, "RIP structure")
31DEFINE_MTYPE(RIPD, RIP_INFO, "RIP route info")
32DEFINE_MTYPE(RIPD, RIP_INTERFACE, "RIP interface")
33DEFINE_MTYPE(RIPD, RIP_PEER, "RIP peer")
34DEFINE_MTYPE(RIPD, RIP_OFFSET_LIST, "RIP offset list")
35DEFINE_MTYPE(RIPD, RIP_DISTANCE, "RIP distance")