paul | d45f1f1 | 2005-04-15 22:18:37 +0000 | [diff] [blame] | 1 | /* Auto-generated from memtypes.c by gawk. */ |
| 2 | /* Do not edit! */ |
| 3 | |
| 4 | #ifndef _QUAGGA_MEMTYPES_H |
| 5 | #define _QUAGGA_MEMTYPES_H |
| 6 | |
| 7 | enum |
| 8 | { |
| 9 | MTYPE_TMP = 1, |
| 10 | MTYPE_STRVEC, |
| 11 | MTYPE_VECTOR, |
| 12 | MTYPE_VECTOR_INDEX, |
| 13 | MTYPE_LINK_LIST, |
| 14 | MTYPE_LINK_NODE, |
| 15 | MTYPE_THREAD, |
| 16 | MTYPE_THREAD_MASTER, |
| 17 | MTYPE_THREAD_STATS, |
| 18 | MTYPE_THREAD_FUNCNAME, |
| 19 | MTYPE_VTY, |
| 20 | MTYPE_VTY_OUT_BUF, |
| 21 | MTYPE_VTY_HIST, |
| 22 | MTYPE_IF, |
| 23 | MTYPE_CONNECTED, |
| 24 | MTYPE_BUFFER, |
| 25 | MTYPE_BUFFER_DATA, |
| 26 | MTYPE_STREAM, |
| 27 | MTYPE_STREAM_DATA, |
| 28 | MTYPE_STREAM_FIFO, |
| 29 | MTYPE_PREFIX, |
| 30 | MTYPE_PREFIX_IPV4, |
| 31 | MTYPE_PREFIX_IPV6, |
| 32 | MTYPE_HASH, |
| 33 | MTYPE_HASH_BACKET, |
| 34 | MTYPE_HASH_INDEX, |
| 35 | MTYPE_ROUTE_TABLE, |
| 36 | MTYPE_ROUTE_NODE, |
| 37 | MTYPE_DISTRIBUTE, |
| 38 | MTYPE_DISTRIBUTE_IFNAME, |
| 39 | MTYPE_ACCESS_LIST, |
| 40 | MTYPE_ACCESS_LIST_STR, |
| 41 | MTYPE_ACCESS_FILTER, |
| 42 | MTYPE_PREFIX_LIST, |
| 43 | MTYPE_PREFIX_LIST_ENTRY, |
| 44 | MTYPE_PREFIX_LIST_STR, |
| 45 | MTYPE_ROUTE_MAP, |
| 46 | MTYPE_ROUTE_MAP_NAME, |
| 47 | MTYPE_ROUTE_MAP_INDEX, |
| 48 | MTYPE_ROUTE_MAP_RULE, |
| 49 | MTYPE_ROUTE_MAP_RULE_STR, |
| 50 | MTYPE_ROUTE_MAP_COMPILED, |
| 51 | MTYPE_DESC, |
| 52 | MTYPE_KEY, |
| 53 | MTYPE_KEYCHAIN, |
| 54 | MTYPE_IF_RMAP, |
| 55 | MTYPE_SOCKUNION, |
| 56 | MTYPE_PRIVS, |
| 57 | MTYPE_ZLOG, |
| 58 | MTYPE_ZCLIENT, |
paul | 354d119 | 2005-04-25 16:26:42 +0000 | [diff] [blame] | 59 | MTYPE_WORK_QUEUE, |
| 60 | MTYPE_WORK_QUEUE_ITEM, |
| 61 | MTYPE_WORK_QUEUE_NAME, |
paul | d45f1f1 | 2005-04-15 22:18:37 +0000 | [diff] [blame] | 62 | MTYPE_RTADV_PREFIX, |
| 63 | MTYPE_VRF, |
| 64 | MTYPE_VRF_NAME, |
| 65 | MTYPE_NEXTHOP, |
| 66 | MTYPE_RIB, |
paul | 354d119 | 2005-04-25 16:26:42 +0000 | [diff] [blame] | 67 | MTYPE_RIB_QUEUE, |
paul | d45f1f1 | 2005-04-15 22:18:37 +0000 | [diff] [blame] | 68 | MTYPE_STATIC_IPV4, |
| 69 | MTYPE_STATIC_IPV6, |
| 70 | MTYPE_BGP, |
| 71 | MTYPE_BGP_PEER, |
paul | 8176c19 | 2005-05-24 09:33:52 +0000 | [diff] [blame] | 72 | MTYPE_BGP_PEER_HOST, |
paul | d45f1f1 | 2005-04-15 22:18:37 +0000 | [diff] [blame] | 73 | MTYPE_PEER_GROUP, |
| 74 | MTYPE_PEER_DESC, |
| 75 | MTYPE_ATTR, |
| 76 | MTYPE_AS_PATH, |
| 77 | MTYPE_AS_SEG, |
paul | 75b2dd0 | 2005-09-21 14:06:35 +0000 | [diff] [blame] | 78 | MTYPE_AS_SEG_DATA, |
paul | d45f1f1 | 2005-04-15 22:18:37 +0000 | [diff] [blame] | 79 | MTYPE_AS_STR, |
| 80 | MTYPE_BGP_TABLE, |
| 81 | MTYPE_BGP_NODE, |
| 82 | MTYPE_BGP_ROUTE, |
| 83 | MTYPE_BGP_STATIC, |
| 84 | MTYPE_BGP_ADVERTISE_ATTR, |
| 85 | MTYPE_BGP_ADVERTISE, |
| 86 | MTYPE_BGP_ADJ_IN, |
| 87 | MTYPE_BGP_ADJ_OUT, |
| 88 | MTYPE_AS_LIST, |
| 89 | MTYPE_AS_FILTER, |
| 90 | MTYPE_AS_FILTER_STR, |
| 91 | MTYPE_COMMUNITY, |
| 92 | MTYPE_COMMUNITY_VAL, |
| 93 | MTYPE_COMMUNITY_STR, |
| 94 | MTYPE_ECOMMUNITY, |
| 95 | MTYPE_ECOMMUNITY_VAL, |
| 96 | MTYPE_ECOMMUNITY_STR, |
| 97 | MTYPE_COMMUNITY_LIST, |
| 98 | MTYPE_COMMUNITY_LIST_NAME, |
| 99 | MTYPE_COMMUNITY_LIST_ENTRY, |
| 100 | MTYPE_COMMUNITY_LIST_CONFIG, |
| 101 | MTYPE_COMMUNITY_LIST_HANDLER, |
| 102 | MTYPE_CLUSTER, |
| 103 | MTYPE_CLUSTER_VAL, |
paul | 354f3b6 | 2005-06-18 16:55:20 +0000 | [diff] [blame] | 104 | MTYPE_BGP_PROCESS_QUEUE, |
| 105 | MTYPE_BGP_CLEAR_NODE_QUEUE, |
paul | d45f1f1 | 2005-04-15 22:18:37 +0000 | [diff] [blame] | 106 | MTYPE_TRANSIT, |
| 107 | MTYPE_TRANSIT_VAL, |
| 108 | MTYPE_BGP_DISTANCE, |
| 109 | MTYPE_BGP_NEXTHOP_CACHE, |
| 110 | MTYPE_BGP_CONFED_LIST, |
| 111 | MTYPE_PEER_UPDATE_SOURCE, |
| 112 | MTYPE_BGP_DAMP_INFO, |
| 113 | MTYPE_BGP_DAMP_ARRAY, |
| 114 | MTYPE_BGP_REGEXP, |
| 115 | MTYPE_BGP_AGGREGATE, |
| 116 | MTYPE_RIP, |
| 117 | MTYPE_RIP_INFO, |
| 118 | MTYPE_RIP_INTERFACE, |
| 119 | MTYPE_RIP_PEER, |
| 120 | MTYPE_RIP_OFFSET_LIST, |
| 121 | MTYPE_RIP_DISTANCE, |
| 122 | MTYPE_RIPNG, |
| 123 | MTYPE_RIPNG_ROUTE, |
| 124 | MTYPE_RIPNG_AGGREGATE, |
| 125 | MTYPE_RIPNG_PEER, |
| 126 | MTYPE_RIPNG_OFFSET_LIST, |
| 127 | MTYPE_RIPNG_RTE_DATA, |
| 128 | MTYPE_OSPF_TOP, |
| 129 | MTYPE_OSPF_AREA, |
| 130 | MTYPE_OSPF_AREA_RANGE, |
| 131 | MTYPE_OSPF_NETWORK, |
| 132 | MTYPE_OSPF_NEIGHBOR_STATIC, |
| 133 | MTYPE_OSPF_IF, |
| 134 | MTYPE_OSPF_NEIGHBOR, |
| 135 | MTYPE_OSPF_ROUTE, |
| 136 | MTYPE_OSPF_TMP, |
| 137 | MTYPE_OSPF_LSA, |
| 138 | MTYPE_OSPF_LSA_DATA, |
| 139 | MTYPE_OSPF_LSDB, |
| 140 | MTYPE_OSPF_PACKET, |
| 141 | MTYPE_OSPF_FIFO, |
| 142 | MTYPE_OSPF_VERTEX, |
| 143 | MTYPE_OSPF_NEXTHOP, |
| 144 | MTYPE_OSPF_PATH, |
| 145 | MTYPE_OSPF_VL_DATA, |
| 146 | MTYPE_OSPF_CRYPT_KEY, |
| 147 | MTYPE_OSPF_EXTERNAL_INFO, |
| 148 | MTYPE_OSPF_DISTANCE, |
| 149 | MTYPE_OSPF_IF_INFO, |
| 150 | MTYPE_OSPF_IF_PARAMS, |
| 151 | MTYPE_OSPF_MESSAGE, |
| 152 | MTYPE_OSPF6_TOP, |
| 153 | MTYPE_OSPF6_AREA, |
| 154 | MTYPE_OSPF6_IF, |
| 155 | MTYPE_OSPF6_NEIGHBOR, |
| 156 | MTYPE_OSPF6_ROUTE, |
| 157 | MTYPE_OSPF6_PREFIX, |
| 158 | MTYPE_OSPF6_MESSAGE, |
| 159 | MTYPE_OSPF6_LSA, |
| 160 | MTYPE_OSPF6_LSA_SUMMARY, |
| 161 | MTYPE_OSPF6_LSDB, |
| 162 | MTYPE_OSPF6_VERTEX, |
| 163 | MTYPE_OSPF6_SPFTREE, |
| 164 | MTYPE_OSPF6_NEXTHOP, |
| 165 | MTYPE_OSPF6_EXTERNAL_INFO, |
| 166 | MTYPE_OSPF6_OTHER, |
| 167 | MTYPE_ISIS, |
| 168 | MTYPE_ISIS_TMP, |
| 169 | MTYPE_ISIS_CIRCUIT, |
| 170 | MTYPE_ISIS_LSP, |
| 171 | MTYPE_ISIS_ADJACENCY, |
| 172 | MTYPE_ISIS_AREA, |
| 173 | MTYPE_ISIS_AREA_ADDR, |
| 174 | MTYPE_ISIS_TLV, |
| 175 | MTYPE_ISIS_DYNHN, |
| 176 | MTYPE_ISIS_SPFTREE, |
| 177 | MTYPE_ISIS_VERTEX, |
| 178 | MTYPE_ISIS_ROUTE_INFO, |
| 179 | MTYPE_ISIS_NEXTHOP, |
| 180 | MTYPE_ISIS_NEXTHOP6, |
| 181 | MTYPE_VTYSH_CONFIG, |
| 182 | MTYPE_VTYSH_CONFIG_LINE, |
| 183 | MTYPE_MAX, |
| 184 | }; |
| 185 | |
| 186 | extern struct memory_list memory_list_lib[]; |
| 187 | extern struct memory_list memory_list_zebra[]; |
| 188 | extern struct memory_list memory_list_bgp[]; |
| 189 | extern struct memory_list memory_list_rip[]; |
| 190 | extern struct memory_list memory_list_ripng[]; |
| 191 | extern struct memory_list memory_list_ospf[]; |
| 192 | extern struct memory_list memory_list_ospf6[]; |
| 193 | extern struct memory_list memory_list_isis[]; |
| 194 | extern struct memory_list memory_list_vtysh[]; |
| 195 | |
| 196 | #endif /* _QUAGGA_MEMTYPES_H */ |
| 197 | |