summaryrefslogtreecommitdiffstats
path: root/lib/memtypes.c
diff options
context:
space:
mode:
authorEverton Marques <everton.marques@gmail.com>2009-08-11 15:43:05 -0300
committerDavid Lamparter <equinox@opensourcerouting.org>2015-02-04 06:07:49 +0100
commit871dbcfede60a8d2d286728bcbd88f27c2035b87 (patch)
treef3188f3ab1c4856febf70647a32f6d854668aa50 /lib/memtypes.c
parentb162ab753e70328cb6815e58b4bc5b03e9dd4f42 (diff)
downloadquagga-871dbcfede60a8d2d286728bcbd88f27c2035b87.tar.bz2
quagga-871dbcfede60a8d2d286728bcbd88f27c2035b87.tar.xz
[pim] Initial pim 0.155
Diffstat (limited to 'lib/memtypes.c')
-rw-r--r--lib/memtypes.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/memtypes.c b/lib/memtypes.c
index 47a34387..26e27e72 100644
--- a/lib/memtypes.c
+++ b/lib/memtypes.c
@@ -1,4 +1,6 @@
/*
+ * Portions Copyright (c) 2008 Everton da Silva Marques <everton.marques@gmail.com>
+ *
* Memory type definitions. This file is parsed by memtypes.awk to extract
* MTYPE_ and memory_list_.. information in order to autogenerate
* memtypes.h.
@@ -255,6 +257,20 @@ struct memory_list memory_list_isis[] =
{ -1, NULL },
};
+struct memory_list memory_list_pim[] =
+{
+ { MTYPE_PIM_CHANNEL_OIL, "PIM SSM (S,G) channel OIL" },
+ { MTYPE_PIM_INTERFACE, "PIM interface" },
+ { MTYPE_PIM_IGMP_JOIN, "PIM interface IGMP static join" },
+ { MTYPE_PIM_IGMP_SOCKET, "PIM interface IGMP socket" },
+ { MTYPE_PIM_IGMP_GROUP, "PIM interface IGMP group" },
+ { MTYPE_PIM_IGMP_GROUP_SOURCE, "PIM interface IGMP source" },
+ { MTYPE_PIM_NEIGHBOR, "PIM interface neighbor" },
+ { MTYPE_PIM_IFCHANNEL, "PIM interface (S,G) state" },
+ { MTYPE_PIM_UPSTREAM, "PIM upstream (S,G) state" },
+ { -1, NULL },
+};
+
struct memory_list memory_list_vtysh[] =
{
{ MTYPE_VTYSH_CONFIG, "Vtysh configuration", },
@@ -271,5 +287,6 @@ struct mlist mlists[] __attribute__ ((unused)) = {
{ memory_list_ospf6, "OSPF6" },
{ memory_list_isis, "ISIS" },
{ memory_list_bgp, "BGP" },
+ { memory_list_pim, "PIM" },
{ NULL, NULL},
};