paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Memory type definitions. This file is parsed by memtypes.awk to extract |
| 3 | * MTYPE_ and memory_list_.. information in order to autogenerate |
| 4 | * memtypes.h. |
| 5 | * |
paul | dc830cb | 2005-04-16 15:51:05 +0000 | [diff] [blame] | 6 | * The script is sensitive to the format (though not whitespace), see |
| 7 | * the top of memtypes.awk for more details. |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #include "zebra.h" |
| 11 | #include "memory.h" |
| 12 | |
| 13 | struct memory_list memory_list_lib[] = |
| 14 | { |
| 15 | { MTYPE_TMP, "Temporary memory" }, |
| 16 | { MTYPE_STRVEC, "String vector" }, |
| 17 | { MTYPE_VECTOR, "Vector" }, |
| 18 | { MTYPE_VECTOR_INDEX, "Vector index" }, |
| 19 | { MTYPE_LINK_LIST, "Link List" }, |
| 20 | { MTYPE_LINK_NODE, "Link Node" }, |
| 21 | { MTYPE_THREAD, "Thread" }, |
| 22 | { MTYPE_THREAD_MASTER, "Thread master" }, |
| 23 | { MTYPE_THREAD_STATS, "Thread stats" }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 24 | { MTYPE_VTY, "VTY" }, |
| 25 | { MTYPE_VTY_OUT_BUF, "VTY output buffer" }, |
| 26 | { MTYPE_VTY_HIST, "VTY history" }, |
| 27 | { MTYPE_IF, "Interface" }, |
| 28 | { MTYPE_CONNECTED, "Connected" }, |
paul | 9c4f1c6 | 2005-11-03 11:04:07 +0000 | [diff] [blame] | 29 | { MTYPE_CONNECTED_LABEL, "Connected interface label" }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 30 | { MTYPE_BUFFER, "Buffer" }, |
| 31 | { MTYPE_BUFFER_DATA, "Buffer data" }, |
| 32 | { MTYPE_STREAM, "Stream" }, |
| 33 | { MTYPE_STREAM_DATA, "Stream data" }, |
| 34 | { MTYPE_STREAM_FIFO, "Stream FIFO" }, |
| 35 | { MTYPE_PREFIX, "Prefix" }, |
| 36 | { MTYPE_PREFIX_IPV4, "Prefix IPv4" }, |
| 37 | { MTYPE_PREFIX_IPV6, "Prefix IPv6" }, |
| 38 | { MTYPE_HASH, "Hash" }, |
| 39 | { MTYPE_HASH_BACKET, "Hash Bucket" }, |
| 40 | { MTYPE_HASH_INDEX, "Hash Index" }, |
| 41 | { MTYPE_ROUTE_TABLE, "Route table" }, |
| 42 | { MTYPE_ROUTE_NODE, "Route node" }, |
| 43 | { MTYPE_DISTRIBUTE, "Distribute list" }, |
| 44 | { MTYPE_DISTRIBUTE_IFNAME, "Dist-list ifname" }, |
| 45 | { MTYPE_ACCESS_LIST, "Access List" }, |
| 46 | { MTYPE_ACCESS_LIST_STR, "Access List Str" }, |
| 47 | { MTYPE_ACCESS_FILTER, "Access Filter" }, |
| 48 | { MTYPE_PREFIX_LIST, "Prefix List" }, |
paul | 2c1de2a | 2005-04-25 14:02:44 +0000 | [diff] [blame] | 49 | { MTYPE_PREFIX_LIST_ENTRY, "Prefix List Entry" }, |
| 50 | { MTYPE_PREFIX_LIST_STR, "Prefix List Str" }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 51 | { MTYPE_ROUTE_MAP, "Route map" }, |
| 52 | { MTYPE_ROUTE_MAP_NAME, "Route map name" }, |
| 53 | { MTYPE_ROUTE_MAP_INDEX, "Route map index" }, |
| 54 | { MTYPE_ROUTE_MAP_RULE, "Route map rule" }, |
| 55 | { MTYPE_ROUTE_MAP_RULE_STR, "Route map rule str" }, |
| 56 | { MTYPE_ROUTE_MAP_COMPILED, "Route map compiled" }, |
Christian Franke | cd40b32 | 2013-09-30 12:27:51 +0000 | [diff] [blame] | 57 | { MTYPE_CMD_TOKENS, "Command desc" }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 58 | { MTYPE_KEY, "Key" }, |
| 59 | { MTYPE_KEYCHAIN, "Key chain" }, |
| 60 | { MTYPE_IF_RMAP, "Interface route map" }, |
paul | 0241684 | 2005-10-26 05:05:16 +0000 | [diff] [blame] | 61 | { MTYPE_IF_RMAP_NAME, "I.f. route map name", }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 62 | { MTYPE_SOCKUNION, "Socket union" }, |
| 63 | { MTYPE_PRIVS, "Privilege information" }, |
| 64 | { MTYPE_ZLOG, "Logging" }, |
| 65 | { MTYPE_ZCLIENT, "Zclient" }, |
paul | 354d119 | 2005-04-25 16:26:42 +0000 | [diff] [blame] | 66 | { MTYPE_WORK_QUEUE, "Work queue" }, |
| 67 | { MTYPE_WORK_QUEUE_ITEM, "Work queue item" }, |
| 68 | { MTYPE_WORK_QUEUE_NAME, "Work queue name string" }, |
paul | 0241684 | 2005-10-26 05:05:16 +0000 | [diff] [blame] | 69 | { MTYPE_PQUEUE, "Priority queue" }, |
| 70 | { MTYPE_PQUEUE_DATA, "Priority queue data" }, |
| 71 | { MTYPE_HOST, "Host config" }, |
Feng Lu | 41f44a2 | 2015-05-22 11:39:56 +0200 | [diff] [blame] | 72 | { MTYPE_VRF, "VRF" }, |
| 73 | { MTYPE_VRF_NAME, "VRF name" }, |
Feng Lu | c99f348 | 2014-10-16 09:52:36 +0800 | [diff] [blame] | 74 | { MTYPE_VRF_BITMAP, "VRF bit-map" }, |
Olivier Dugeon | ae51c9d | 2016-04-19 16:21:46 +0200 | [diff] [blame] | 75 | { MTYPE_IF_LINK_PARAMS, "Informational Link Parameters" }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 76 | { -1, NULL }, |
| 77 | }; |
| 78 | |
| 79 | struct memory_list memory_list_zebra[] = |
| 80 | { |
| 81 | { MTYPE_RTADV_PREFIX, "Router Advertisement Prefix" }, |
Feng Lu | 41f44a2 | 2015-05-22 11:39:56 +0200 | [diff] [blame] | 82 | { MTYPE_ZEBRA_VRF, "ZEBRA VRF" }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 83 | { MTYPE_NEXTHOP, "Nexthop" }, |
| 84 | { MTYPE_RIB, "RIB" }, |
paul | 354d119 | 2005-04-25 16:26:42 +0000 | [diff] [blame] | 85 | { MTYPE_RIB_QUEUE, "RIB process work queue" }, |
Donald Sharp | d4c27d6 | 2015-11-04 13:26:35 -0500 | [diff] [blame] | 86 | { MTYPE_STATIC_ROUTE, "Static route" }, |
Avneesh Sachdev | 9fd92e3 | 2012-11-13 22:48:53 +0000 | [diff] [blame] | 87 | { MTYPE_RIB_DEST, "RIB destination" }, |
Avneesh Sachdev | 1b5ed1b | 2012-11-13 22:48:54 +0000 | [diff] [blame] | 88 | { MTYPE_RIB_TABLE_INFO, "RIB table info" }, |
Feng Lu | 758fb8f | 2014-07-03 18:23:09 +0800 | [diff] [blame] | 89 | { MTYPE_NETLINK_NAME, "Netlink name" }, |
Pradosh Mohapatra | 60cc959 | 2015-11-09 20:21:41 -0500 | [diff] [blame] | 90 | { MTYPE_RNH, "Nexthop tracking object" }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 91 | { -1, NULL }, |
| 92 | }; |
| 93 | |
| 94 | struct memory_list memory_list_bgp[] = |
| 95 | { |
| 96 | { MTYPE_BGP, "BGP instance" }, |
Stephen Hemminger | d023aec | 2009-07-21 16:27:21 -0700 | [diff] [blame] | 97 | { MTYPE_BGP_LISTENER, "BGP listen socket details" }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 98 | { MTYPE_BGP_PEER, "BGP peer" }, |
paul | e387e66 | 2005-05-19 02:13:28 +0000 | [diff] [blame] | 99 | { MTYPE_BGP_PEER_HOST, "BGP peer hostname" }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 100 | { MTYPE_PEER_GROUP, "Peer group" }, |
| 101 | { MTYPE_PEER_DESC, "Peer description" }, |
Paul Jakma | 0df7c91 | 2008-07-21 21:02:49 +0000 | [diff] [blame] | 102 | { MTYPE_PEER_PASSWORD, "Peer password string" }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 103 | { MTYPE_ATTR, "BGP attribute" }, |
Paul Jakma | fb982c2 | 2007-05-04 20:15:47 +0000 | [diff] [blame] | 104 | { MTYPE_ATTR_EXTRA, "BGP extra attributes" }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 105 | { MTYPE_AS_PATH, "BGP aspath" }, |
| 106 | { MTYPE_AS_SEG, "BGP aspath seg" }, |
paul | 75b2dd0 | 2005-09-21 14:06:35 +0000 | [diff] [blame] | 107 | { MTYPE_AS_SEG_DATA, "BGP aspath segment data" }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 108 | { MTYPE_AS_STR, "BGP aspath str" }, |
| 109 | { 0, NULL }, |
| 110 | { MTYPE_BGP_TABLE, "BGP table" }, |
| 111 | { MTYPE_BGP_NODE, "BGP node" }, |
| 112 | { MTYPE_BGP_ROUTE, "BGP route" }, |
Paul Jakma | fb982c2 | 2007-05-04 20:15:47 +0000 | [diff] [blame] | 113 | { MTYPE_BGP_ROUTE_EXTRA, "BGP ancillary route info" }, |
Chris Caputo | 6c88b44 | 2010-07-27 16:28:55 +0000 | [diff] [blame] | 114 | { MTYPE_BGP_CONN, "BGP connected" }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 115 | { MTYPE_BGP_STATIC, "BGP static" }, |
| 116 | { MTYPE_BGP_ADVERTISE_ATTR, "BGP adv attr" }, |
| 117 | { MTYPE_BGP_ADVERTISE, "BGP adv" }, |
Paul Jakma | b51f126 | 2006-03-30 14:09:38 +0000 | [diff] [blame] | 118 | { MTYPE_BGP_SYNCHRONISE, "BGP synchronise" }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 119 | { MTYPE_BGP_ADJ_IN, "BGP adj in" }, |
| 120 | { MTYPE_BGP_ADJ_OUT, "BGP adj out" }, |
Josh Bailey | de8d5df | 2011-07-20 20:46:01 -0700 | [diff] [blame] | 121 | { MTYPE_BGP_MPATH_INFO, "BGP multipath info" }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 122 | { 0, NULL }, |
| 123 | { MTYPE_AS_LIST, "BGP AS list" }, |
| 124 | { MTYPE_AS_FILTER, "BGP AS filter" }, |
| 125 | { MTYPE_AS_FILTER_STR, "BGP AS filter str" }, |
| 126 | { 0, NULL }, |
| 127 | { MTYPE_COMMUNITY, "community" }, |
| 128 | { MTYPE_COMMUNITY_VAL, "community val" }, |
| 129 | { MTYPE_COMMUNITY_STR, "community str" }, |
| 130 | { 0, NULL }, |
| 131 | { MTYPE_ECOMMUNITY, "extcommunity" }, |
| 132 | { MTYPE_ECOMMUNITY_VAL, "extcommunity val" }, |
| 133 | { MTYPE_ECOMMUNITY_STR, "extcommunity str" }, |
| 134 | { 0, NULL }, |
| 135 | { MTYPE_COMMUNITY_LIST, "community-list" }, |
| 136 | { MTYPE_COMMUNITY_LIST_NAME, "community-list name" }, |
| 137 | { MTYPE_COMMUNITY_LIST_ENTRY, "community-list entry" }, |
| 138 | { MTYPE_COMMUNITY_LIST_CONFIG, "community-list config" }, |
| 139 | { MTYPE_COMMUNITY_LIST_HANDLER, "community-list handler" }, |
| 140 | { 0, NULL }, |
| 141 | { MTYPE_CLUSTER, "Cluster list" }, |
| 142 | { MTYPE_CLUSTER_VAL, "Cluster list val" }, |
| 143 | { 0, NULL }, |
paul | 200df11 | 2005-06-01 11:17:05 +0000 | [diff] [blame] | 144 | { MTYPE_BGP_PROCESS_QUEUE, "BGP Process queue" }, |
| 145 | { MTYPE_BGP_CLEAR_NODE_QUEUE, "BGP node clear queue" }, |
| 146 | { 0, NULL }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 147 | { MTYPE_TRANSIT, "BGP transit attr" }, |
| 148 | { MTYPE_TRANSIT_VAL, "BGP transit val" }, |
| 149 | { 0, NULL }, |
| 150 | { MTYPE_BGP_DISTANCE, "BGP distance" }, |
| 151 | { MTYPE_BGP_NEXTHOP_CACHE, "BGP nexthop" }, |
| 152 | { MTYPE_BGP_CONFED_LIST, "BGP confed list" }, |
| 153 | { MTYPE_PEER_UPDATE_SOURCE, "BGP peer update interface" }, |
| 154 | { MTYPE_BGP_DAMP_INFO, "Dampening info" }, |
| 155 | { MTYPE_BGP_DAMP_ARRAY, "BGP Dampening array" }, |
| 156 | { MTYPE_BGP_REGEXP, "BGP regexp" }, |
| 157 | { MTYPE_BGP_AGGREGATE, "BGP aggregate" }, |
Jorge Boncompte [DTI2] | 10f9bf3 | 2012-05-07 16:52:52 +0000 | [diff] [blame] | 158 | { MTYPE_BGP_ADDR, "BGP own address" }, |
Lou Berger | c374178 | 2016-01-12 13:42:01 -0500 | [diff] [blame] | 159 | { MTYPE_ENCAP_TLV, "ENCAP TLV", }, |
Job Snijders | 3334bab | 2017-01-20 14:47:12 +0000 | [diff] [blame] | 160 | { MTYPE_LCOMMUNITY, "Large Community", }, |
| 161 | { MTYPE_LCOMMUNITY_STR, "Large Community str", }, |
| 162 | { MTYPE_LCOMMUNITY_VAL, "Large Community val", }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 163 | { -1, NULL } |
| 164 | }; |
| 165 | |
| 166 | struct memory_list memory_list_rip[] = |
| 167 | { |
| 168 | { MTYPE_RIP, "RIP structure" }, |
| 169 | { MTYPE_RIP_INFO, "RIP route info" }, |
| 170 | { MTYPE_RIP_INTERFACE, "RIP interface" }, |
| 171 | { MTYPE_RIP_PEER, "RIP peer" }, |
| 172 | { MTYPE_RIP_OFFSET_LIST, "RIP offset list" }, |
| 173 | { MTYPE_RIP_DISTANCE, "RIP distance" }, |
| 174 | { -1, NULL } |
| 175 | }; |
| 176 | |
| 177 | struct memory_list memory_list_ripng[] = |
| 178 | { |
| 179 | { MTYPE_RIPNG, "RIPng structure" }, |
| 180 | { MTYPE_RIPNG_ROUTE, "RIPng route info" }, |
| 181 | { MTYPE_RIPNG_AGGREGATE, "RIPng aggregate" }, |
| 182 | { MTYPE_RIPNG_PEER, "RIPng peer" }, |
| 183 | { MTYPE_RIPNG_OFFSET_LIST, "RIPng offset lst" }, |
| 184 | { MTYPE_RIPNG_RTE_DATA, "RIPng rte data" }, |
| 185 | { -1, NULL } |
| 186 | }; |
| 187 | |
Paul Jakma | 5734509 | 2011-12-25 17:52:09 +0100 | [diff] [blame] | 188 | struct memory_list memory_list_babel[] = |
| 189 | { |
| 190 | { MTYPE_BABEL, "Babel structure" }, |
| 191 | { MTYPE_BABEL_IF, "Babel interface" }, |
| 192 | { -1, NULL } |
| 193 | }; |
| 194 | |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 195 | struct memory_list memory_list_ospf[] = |
| 196 | { |
| 197 | { MTYPE_OSPF_TOP, "OSPF top" }, |
| 198 | { MTYPE_OSPF_AREA, "OSPF area" }, |
| 199 | { MTYPE_OSPF_AREA_RANGE, "OSPF area range" }, |
| 200 | { MTYPE_OSPF_NETWORK, "OSPF network" }, |
| 201 | { MTYPE_OSPF_NEIGHBOR_STATIC,"OSPF static nbr" }, |
| 202 | { MTYPE_OSPF_IF, "OSPF interface" }, |
| 203 | { MTYPE_OSPF_NEIGHBOR, "OSPF neighbor" }, |
| 204 | { MTYPE_OSPF_ROUTE, "OSPF route" }, |
| 205 | { MTYPE_OSPF_TMP, "OSPF tmp mem" }, |
| 206 | { MTYPE_OSPF_LSA, "OSPF LSA" }, |
| 207 | { MTYPE_OSPF_LSA_DATA, "OSPF LSA data" }, |
| 208 | { MTYPE_OSPF_LSDB, "OSPF LSDB" }, |
| 209 | { MTYPE_OSPF_PACKET, "OSPF packet" }, |
| 210 | { MTYPE_OSPF_FIFO, "OSPF FIFO queue" }, |
| 211 | { MTYPE_OSPF_VERTEX, "OSPF vertex" }, |
paul | eb3da6d | 2005-10-18 04:20:33 +0000 | [diff] [blame] | 212 | { MTYPE_OSPF_VERTEX_PARENT, "OSPF vertex parent", }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 213 | { MTYPE_OSPF_NEXTHOP, "OSPF nexthop" }, |
| 214 | { MTYPE_OSPF_PATH, "OSPF path" }, |
| 215 | { MTYPE_OSPF_VL_DATA, "OSPF VL data" }, |
| 216 | { MTYPE_OSPF_CRYPT_KEY, "OSPF crypt key" }, |
| 217 | { MTYPE_OSPF_EXTERNAL_INFO, "OSPF ext. info" }, |
| 218 | { MTYPE_OSPF_DISTANCE, "OSPF distance" }, |
| 219 | { MTYPE_OSPF_IF_INFO, "OSPF if info" }, |
| 220 | { MTYPE_OSPF_IF_PARAMS, "OSPF if params" }, |
| 221 | { MTYPE_OSPF_MESSAGE, "OSPF message" }, |
Olivier Dugeon | ae51c9d | 2016-04-19 16:21:46 +0200 | [diff] [blame] | 222 | { MTYPE_OSPF_MPLS_TE, "OSPF MPLS parameters" }, |
| 223 | { MTYPE_OSPF_PCE_PARAMS, "OSPF PCE parameters" }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 224 | { -1, NULL }, |
| 225 | }; |
| 226 | |
| 227 | struct memory_list memory_list_ospf6[] = |
| 228 | { |
| 229 | { MTYPE_OSPF6_TOP, "OSPF6 top" }, |
| 230 | { MTYPE_OSPF6_AREA, "OSPF6 area" }, |
| 231 | { MTYPE_OSPF6_IF, "OSPF6 interface" }, |
| 232 | { MTYPE_OSPF6_NEIGHBOR, "OSPF6 neighbor" }, |
| 233 | { MTYPE_OSPF6_ROUTE, "OSPF6 route" }, |
| 234 | { MTYPE_OSPF6_PREFIX, "OSPF6 prefix" }, |
| 235 | { MTYPE_OSPF6_MESSAGE, "OSPF6 message" }, |
| 236 | { MTYPE_OSPF6_LSA, "OSPF6 LSA" }, |
| 237 | { MTYPE_OSPF6_LSA_SUMMARY, "OSPF6 LSA summary" }, |
| 238 | { MTYPE_OSPF6_LSDB, "OSPF6 LSA database" }, |
| 239 | { MTYPE_OSPF6_VERTEX, "OSPF6 vertex" }, |
| 240 | { MTYPE_OSPF6_SPFTREE, "OSPF6 SPF tree" }, |
| 241 | { MTYPE_OSPF6_NEXTHOP, "OSPF6 nexthop" }, |
| 242 | { MTYPE_OSPF6_EXTERNAL_INFO,"OSPF6 ext. info" }, |
| 243 | { MTYPE_OSPF6_OTHER, "OSPF6 other" }, |
Roman Hoog Antink | d8f7f86 | 2014-03-05 09:13:43 +0100 | [diff] [blame] | 244 | { MTYPE_OSPF6_DISTANCE, "OSPF6 distance" }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 245 | { -1, NULL }, |
| 246 | }; |
| 247 | |
| 248 | struct memory_list memory_list_isis[] = |
| 249 | { |
| 250 | { MTYPE_ISIS, "ISIS" }, |
| 251 | { MTYPE_ISIS_TMP, "ISIS TMP" }, |
| 252 | { MTYPE_ISIS_CIRCUIT, "ISIS circuit" }, |
| 253 | { MTYPE_ISIS_LSP, "ISIS LSP" }, |
| 254 | { MTYPE_ISIS_ADJACENCY, "ISIS adjacency" }, |
| 255 | { MTYPE_ISIS_AREA, "ISIS area" }, |
| 256 | { MTYPE_ISIS_AREA_ADDR, "ISIS area address" }, |
| 257 | { MTYPE_ISIS_TLV, "ISIS TLV" }, |
| 258 | { MTYPE_ISIS_DYNHN, "ISIS dyn hostname" }, |
| 259 | { MTYPE_ISIS_SPFTREE, "ISIS SPFtree" }, |
| 260 | { MTYPE_ISIS_VERTEX, "ISIS vertex" }, |
| 261 | { MTYPE_ISIS_ROUTE_INFO, "ISIS route info" }, |
| 262 | { MTYPE_ISIS_NEXTHOP, "ISIS nexthop" }, |
| 263 | { MTYPE_ISIS_NEXTHOP6, "ISIS nexthop6" }, |
Josh Bailey | 3f045a0 | 2012-03-24 08:35:20 -0700 | [diff] [blame] | 264 | { MTYPE_ISIS_DICT, "ISIS dictionary" }, |
| 265 | { MTYPE_ISIS_DICT_NODE, "ISIS dictionary node" }, |
Olivier Dugeon | ae51c9d | 2016-04-19 16:21:46 +0200 | [diff] [blame] | 266 | { MTYPE_ISIS_MPLS_TE, "ISIS MPLS_TE parameters" }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 267 | { -1, NULL }, |
| 268 | }; |
| 269 | |
Everton Marques | 871dbcf | 2009-08-11 15:43:05 -0300 | [diff] [blame] | 270 | struct memory_list memory_list_pim[] = |
| 271 | { |
| 272 | { MTYPE_PIM_CHANNEL_OIL, "PIM SSM (S,G) channel OIL" }, |
| 273 | { MTYPE_PIM_INTERFACE, "PIM interface" }, |
| 274 | { MTYPE_PIM_IGMP_JOIN, "PIM interface IGMP static join" }, |
| 275 | { MTYPE_PIM_IGMP_SOCKET, "PIM interface IGMP socket" }, |
| 276 | { MTYPE_PIM_IGMP_GROUP, "PIM interface IGMP group" }, |
| 277 | { MTYPE_PIM_IGMP_GROUP_SOURCE, "PIM interface IGMP source" }, |
| 278 | { MTYPE_PIM_NEIGHBOR, "PIM interface neighbor" }, |
| 279 | { MTYPE_PIM_IFCHANNEL, "PIM interface (S,G) state" }, |
| 280 | { MTYPE_PIM_UPSTREAM, "PIM upstream (S,G) state" }, |
Everton Marques | 824adbe | 2009-10-08 09:16:27 -0300 | [diff] [blame] | 281 | { MTYPE_PIM_SSMPINGD, "PIM sspimgd socket" }, |
Jafar Al-Gharaibeh | 030674d | 2015-06-11 18:29:02 -0500 | [diff] [blame] | 282 | { MTYPE_PIM_STATIC_ROUTE, "PIM Static Route" }, |
Everton Marques | 871dbcf | 2009-08-11 15:43:05 -0300 | [diff] [blame] | 283 | { -1, NULL }, |
| 284 | }; |
| 285 | |
Timo Teräs | dafa05e | 2017-01-19 17:27:01 +0200 | [diff] [blame] | 286 | struct memory_list memory_list_nhrp[] = |
| 287 | { |
| 288 | { MTYPE_NHRP_IF, "NHRP interface" }, |
| 289 | { MTYPE_NHRP_VC, "NHRP virtual connection" }, |
| 290 | { MTYPE_NHRP_PEER, "NHRP peer entry" }, |
| 291 | { MTYPE_NHRP_CACHE, "NHRP cache entry" }, |
| 292 | { MTYPE_NHRP_NHS, "NHRP next hop server" }, |
| 293 | { MTYPE_NHRP_REGISTRATION, "NHRP registration entries" }, |
| 294 | { MTYPE_NHRP_SHORTCUT, "NHRP shortcut" }, |
| 295 | { MTYPE_NHRP_ROUTE, "NHRP routing entry" }, |
| 296 | { -1, NULL } |
| 297 | }; |
| 298 | |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 299 | struct memory_list memory_list_vtysh[] = |
| 300 | { |
| 301 | { MTYPE_VTYSH_CONFIG, "Vtysh configuration", }, |
| 302 | { MTYPE_VTYSH_CONFIG_LINE, "Vtysh configuration line" }, |
| 303 | { -1, NULL }, |
| 304 | }; |
| 305 | |
| 306 | struct mlist mlists[] __attribute__ ((unused)) = { |
| 307 | { memory_list_lib, "LIB" }, |
| 308 | { memory_list_zebra, "ZEBRA" }, |
| 309 | { memory_list_rip, "RIP" }, |
| 310 | { memory_list_ripng, "RIPNG" }, |
| 311 | { memory_list_ospf, "OSPF" }, |
| 312 | { memory_list_ospf6, "OSPF6" }, |
| 313 | { memory_list_isis, "ISIS" }, |
| 314 | { memory_list_bgp, "BGP" }, |
Everton Marques | 871dbcf | 2009-08-11 15:43:05 -0300 | [diff] [blame] | 315 | { memory_list_pim, "PIM" }, |
Timo Teräs | dafa05e | 2017-01-19 17:27:01 +0200 | [diff] [blame] | 316 | { memory_list_nhrp, "NHRP" }, |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 317 | { NULL, NULL}, |
| 318 | }; |