summaryrefslogtreecommitdiffstats
path: root/ripd/ripd.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-06-21 08:39:33 +0200
committerDavid Lamparter <equinox@diac24.net>2019-06-21 08:54:25 +0200
commit814a25859a3c1c9b8ab1ada727a80ce182ffc118 (patch)
treeed9c30a2f29cbe81924e3bcf470918d73e3305a5 /ripd/ripd.c
parentvrrpd: use MTYPE_STATIC (diff)
downloadfrr-814a25859a3c1c9b8ab1ada727a80ce182ffc118.tar.xz
frr-814a25859a3c1c9b8ab1ada727a80ce182ffc118.zip
ripd: use MTYPE_STATIC
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ripd/ripd.c')
-rw-r--r--ripd/ripd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c
index 3a1ffd17a..e0ff0430f 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -51,6 +51,12 @@
/* UDP receive buffer size */
#define RIP_UDP_RCV_BUF 41600
+DEFINE_MGROUP(RIPD, "ripd")
+DEFINE_MTYPE_STATIC(RIPD, RIP, "RIP structure")
+DEFINE_MTYPE_STATIC(RIPD, RIP_VRF_NAME, "RIP VRF name")
+DEFINE_MTYPE_STATIC(RIPD, RIP_INFO, "RIP route info")
+DEFINE_MTYPE_STATIC(RIPD, RIP_DISTANCE, "RIP distance")
+
/* Prototypes. */
static void rip_output_process(struct connected *, struct sockaddr_in *, int,
uint8_t);