]>
Commit | Line | Data |
---|---|---|
4a1ab8e4 DL |
1 | /* bgpd memory type declarations |
2 | * | |
3 | * Copyright (C) 2015 David Lamparter | |
4 | * | |
5 | * This file is part of Quagga. | |
6 | * | |
7 | * Quagga is free software; you can redistribute it and/or modify it | |
8 | * under the terms of the GNU General Public License as published by the | |
9 | * Free Software Foundation; either version 2, or (at your option) any | |
10 | * later version. | |
11 | * | |
12 | * Quagga is distributed in the hope that it will be useful, but | |
13 | * WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
15 | * General Public License for more details. | |
16 | * | |
896014f4 DL |
17 | * You should have received a copy of the GNU General Public License along |
18 | * with this program; see the file COPYING; if not, write to the Free Software | |
19 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
4a1ab8e4 DL |
20 | */ |
21 | ||
22 | #ifndef _QUAGGA_BGP_MEMORY_H | |
23 | #define _QUAGGA_BGP_MEMORY_H | |
24 | ||
25 | #include "memory.h" | |
26 | ||
27 | DECLARE_MGROUP(BGPD) | |
28 | DECLARE_MTYPE(BGP) | |
29 | DECLARE_MTYPE(BGP_LISTENER) | |
30 | DECLARE_MTYPE(BGP_PEER) | |
31 | DECLARE_MTYPE(BGP_PEER_HOST) | |
32 | DECLARE_MTYPE(BGP_PEER_IFNAME) | |
33 | DECLARE_MTYPE(PEER_GROUP) | |
34 | DECLARE_MTYPE(PEER_GROUP_HOST) | |
35 | DECLARE_MTYPE(PEER_DESC) | |
36 | DECLARE_MTYPE(PEER_PASSWORD) | |
37 | DECLARE_MTYPE(BGP_PEER_AF) | |
38 | DECLARE_MTYPE(BGP_UPDGRP) | |
39 | DECLARE_MTYPE(BGP_UPD_SUBGRP) | |
40 | DECLARE_MTYPE(BGP_PACKET) | |
41 | DECLARE_MTYPE(ATTR) | |
4a1ab8e4 DL |
42 | DECLARE_MTYPE(AS_PATH) |
43 | DECLARE_MTYPE(AS_SEG) | |
44 | DECLARE_MTYPE(AS_SEG_DATA) | |
45 | DECLARE_MTYPE(AS_STR) | |
46 | ||
47 | DECLARE_MTYPE(BGP_TABLE) | |
48 | DECLARE_MTYPE(BGP_NODE) | |
49 | DECLARE_MTYPE(BGP_ROUTE) | |
50 | DECLARE_MTYPE(BGP_ROUTE_EXTRA) | |
51 | DECLARE_MTYPE(BGP_CONN) | |
52 | DECLARE_MTYPE(BGP_STATIC) | |
53 | DECLARE_MTYPE(BGP_ADVERTISE_ATTR) | |
54 | DECLARE_MTYPE(BGP_ADVERTISE) | |
55 | DECLARE_MTYPE(BGP_SYNCHRONISE) | |
56 | DECLARE_MTYPE(BGP_ADJ_IN) | |
57 | DECLARE_MTYPE(BGP_ADJ_OUT) | |
58 | DECLARE_MTYPE(BGP_MPATH_INFO) | |
59 | ||
60 | DECLARE_MTYPE(AS_LIST) | |
61 | DECLARE_MTYPE(AS_FILTER) | |
62 | DECLARE_MTYPE(AS_FILTER_STR) | |
63 | ||
64 | DECLARE_MTYPE(COMMUNITY) | |
65 | DECLARE_MTYPE(COMMUNITY_VAL) | |
66 | DECLARE_MTYPE(COMMUNITY_STR) | |
67 | ||
68 | DECLARE_MTYPE(ECOMMUNITY) | |
69 | DECLARE_MTYPE(ECOMMUNITY_VAL) | |
70 | DECLARE_MTYPE(ECOMMUNITY_STR) | |
71 | ||
72 | DECLARE_MTYPE(COMMUNITY_LIST) | |
73 | DECLARE_MTYPE(COMMUNITY_LIST_NAME) | |
74 | DECLARE_MTYPE(COMMUNITY_LIST_ENTRY) | |
75 | DECLARE_MTYPE(COMMUNITY_LIST_CONFIG) | |
76 | DECLARE_MTYPE(COMMUNITY_LIST_HANDLER) | |
77 | ||
78 | DECLARE_MTYPE(CLUSTER) | |
79 | DECLARE_MTYPE(CLUSTER_VAL) | |
80 | ||
81 | DECLARE_MTYPE(BGP_PROCESS_QUEUE) | |
82 | DECLARE_MTYPE(BGP_CLEAR_NODE_QUEUE) | |
83 | ||
84 | DECLARE_MTYPE(TRANSIT) | |
85 | DECLARE_MTYPE(TRANSIT_VAL) | |
86 | ||
87 | DECLARE_MTYPE(BGP_DEBUG_FILTER) | |
88 | DECLARE_MTYPE(BGP_DEBUG_STR) | |
89 | ||
90 | DECLARE_MTYPE(BGP_DISTANCE) | |
91 | DECLARE_MTYPE(BGP_NEXTHOP_CACHE) | |
92 | DECLARE_MTYPE(BGP_CONFED_LIST) | |
93 | DECLARE_MTYPE(PEER_UPDATE_SOURCE) | |
94 | DECLARE_MTYPE(PEER_CONF_IF) | |
95 | DECLARE_MTYPE(BGP_DAMP_INFO) | |
96 | DECLARE_MTYPE(BGP_DAMP_ARRAY) | |
97 | DECLARE_MTYPE(BGP_REGEXP) | |
98 | DECLARE_MTYPE(BGP_AGGREGATE) | |
99 | DECLARE_MTYPE(BGP_ADDR) | |
db0e1937 | 100 | DECLARE_MTYPE(TIP_ADDR) |
4a1ab8e4 DL |
101 | |
102 | DECLARE_MTYPE(BGP_REDIST) | |
103 | DECLARE_MTYPE(BGP_FILTER_NAME) | |
104 | DECLARE_MTYPE(BGP_DUMP_STR) | |
105 | DECLARE_MTYPE(ENCAP_TLV) | |
106 | ||
65efcfce LB |
107 | DECLARE_MTYPE(BGP_TEA_OPTIONS) |
108 | DECLARE_MTYPE(BGP_TEA_OPTIONS_VALUE) | |
109 | ||
57d187bc JS |
110 | DECLARE_MTYPE(LCOMMUNITY) |
111 | DECLARE_MTYPE(LCOMMUNITY_STR) | |
112 | DECLARE_MTYPE(LCOMMUNITY_VAL) | |
128ea8ab | 113 | |
50f74cf1 | 114 | DECLARE_MTYPE(BGP_EVPN_ES) |
115 | DECLARE_MTYPE(BGP_EVPN_ES_VTEP) | |
116 | ||
128ea8ab | 117 | DECLARE_MTYPE(BGP_EVPN) |
118 | DECLARE_MTYPE(BGP_EVPN_IMPORT_RT) | |
10ebe1ab | 119 | DECLARE_MTYPE(BGP_EVPN_VRF_IMPORT_RT) |
128ea8ab | 120 | DECLARE_MTYPE(BGP_EVPN_MACIP) |
7c40bf39 | 121 | |
122 | DECLARE_MTYPE(BGP_FLOWSPEC) | |
123 | DECLARE_MTYPE(BGP_FLOWSPEC_RULE) | |
124 | DECLARE_MTYPE(BGP_FLOWSPEC_RULE_STR) | |
125 | DECLARE_MTYPE(BGP_FLOWSPEC_COMPILED) | |
126 | DECLARE_MTYPE(BGP_FLOWSPEC_NAME) | |
127 | DECLARE_MTYPE(BGP_FLOWSPEC_INDEX) | |
128 | ||
4a1ab8e4 | 129 | #endif /* _QUAGGA_BGP_MEMORY_H */ |