summaryrefslogtreecommitdiffstats
path: root/lib/memtypes.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-12-25 10:32:11 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-03-30 16:59:22 +0300
commit068e64859913c6844bbe6703815a633175650547 (patch)
tree3efc0440477560ac6211f9da3bea3f812bb05270 /lib/memtypes.c
parent76aaa0456a3804a0a1d2948d9a391383b62cbe37 (diff)
downloadquagga-nhrp.tar.bz2
quagga-nhrp.tar.xz
initial implementation of nhrpnhrp
this is nhrp changes from commit c321432aef01e13116980983f0a50ba486505804 rebased on quagga master and updated for vrf changes
Diffstat (limited to 'lib/memtypes.c')
-rw-r--r--lib/memtypes.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/memtypes.c b/lib/memtypes.c
index f2791595..ca41d57e 100644
--- a/lib/memtypes.c
+++ b/lib/memtypes.c
@@ -280,6 +280,19 @@ struct memory_list memory_list_pim[] =
{ -1, NULL },
};
+struct memory_list memory_list_nhrp[] =
+{
+ { MTYPE_NHRP_IF, "NHRP interface" },
+ { MTYPE_NHRP_VC, "NHRP virtual connection" },
+ { MTYPE_NHRP_PEER, "NHRP peer entry" },
+ { MTYPE_NHRP_CACHE, "NHRP cache entry" },
+ { MTYPE_NHRP_NHS, "NHRP next hop server" },
+ { MTYPE_NHRP_REGISTRATION, "NHRP registration entries" },
+ { MTYPE_NHRP_SHORTCUT, "NHRP shortcut" },
+ { MTYPE_NHRP_ROUTE, "NHRP routing entry" },
+ { -1, NULL }
+};
+
struct memory_list memory_list_vtysh[] =
{
{ MTYPE_VTYSH_CONFIG, "Vtysh configuration", },
@@ -297,5 +310,6 @@ struct mlist mlists[] __attribute__ ((unused)) = {
{ memory_list_isis, "ISIS" },
{ memory_list_bgp, "BGP" },
{ memory_list_pim, "PIM" },
+ { memory_list_nhrp, "NHRP" },
{ NULL, NULL},
};