]> git.proxmox.com Git - mirror_frr.git/blame - bgpd/bgp_memory.c
lib: add skiplist
[mirror_frr.git] / bgpd / bgp_memory.c
CommitLineData
4a1ab8e4
DL
1/* bgpd memory type definitions
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 *
17 * You should have received a copy of the GNU General Public License
18 * along with Quagga; see the file COPYING. If not, write to the Free
19 * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20 * 02111-1307, USA.
21 */
22
23#ifdef HAVE_CONFIG_H
24#include "config.h"
25#endif
26
27#include "bgp_memory.h"
28
29/* this file is temporary in nature; definitions should be moved to the
30 * files they're used in */
31
32DEFINE_MGROUP(BGPD, "bgpd")
33DEFINE_MTYPE(BGPD, BGP, "BGP instance")
34DEFINE_MTYPE(BGPD, BGP_LISTENER, "BGP listen socket details")
35DEFINE_MTYPE(BGPD, BGP_PEER, "BGP peer")
36DEFINE_MTYPE(BGPD, BGP_PEER_HOST, "BGP peer hostname")
37DEFINE_MTYPE(BGPD, BGP_PEER_IFNAME, "BGP peer ifname")
38DEFINE_MTYPE(BGPD, PEER_GROUP, "Peer group")
39DEFINE_MTYPE(BGPD, PEER_GROUP_HOST, "BGP Peer group hostname")
40DEFINE_MTYPE(BGPD, PEER_DESC, "Peer description")
41DEFINE_MTYPE(BGPD, PEER_PASSWORD, "Peer password string")
42DEFINE_MTYPE(BGPD, BGP_PEER_AF, "BGP peer af")
43DEFINE_MTYPE(BGPD, BGP_UPDGRP, "BGP update group")
44DEFINE_MTYPE(BGPD, BGP_UPD_SUBGRP, "BGP update subgroup")
45DEFINE_MTYPE(BGPD, BGP_PACKET, "BGP packet")
46DEFINE_MTYPE(BGPD, ATTR, "BGP attribute")
47DEFINE_MTYPE(BGPD, ATTR_EXTRA, "BGP extra attributes")
48DEFINE_MTYPE(BGPD, AS_PATH, "BGP aspath")
49DEFINE_MTYPE(BGPD, AS_SEG, "BGP aspath seg")
50DEFINE_MTYPE(BGPD, AS_SEG_DATA, "BGP aspath segment data")
51DEFINE_MTYPE(BGPD, AS_STR, "BGP aspath str")
52
53DEFINE_MTYPE(BGPD, BGP_TABLE, "BGP table")
54DEFINE_MTYPE(BGPD, BGP_NODE, "BGP node")
55DEFINE_MTYPE(BGPD, BGP_ROUTE, "BGP route")
56DEFINE_MTYPE(BGPD, BGP_ROUTE_EXTRA, "BGP ancillary route info")
57DEFINE_MTYPE(BGPD, BGP_CONN, "BGP connected")
58DEFINE_MTYPE(BGPD, BGP_STATIC, "BGP static")
59DEFINE_MTYPE(BGPD, BGP_ADVERTISE_ATTR, "BGP adv attr")
60DEFINE_MTYPE(BGPD, BGP_ADVERTISE, "BGP adv")
61DEFINE_MTYPE(BGPD, BGP_SYNCHRONISE, "BGP synchronise")
62DEFINE_MTYPE(BGPD, BGP_ADJ_IN, "BGP adj in")
63DEFINE_MTYPE(BGPD, BGP_ADJ_OUT, "BGP adj out")
64DEFINE_MTYPE(BGPD, BGP_MPATH_INFO, "BGP multipath info")
65
66DEFINE_MTYPE(BGPD, AS_LIST, "BGP AS list")
67DEFINE_MTYPE(BGPD, AS_FILTER, "BGP AS filter")
68DEFINE_MTYPE(BGPD, AS_FILTER_STR, "BGP AS filter str")
69
70DEFINE_MTYPE(BGPD, COMMUNITY, "community")
71DEFINE_MTYPE(BGPD, COMMUNITY_VAL, "community val")
72DEFINE_MTYPE(BGPD, COMMUNITY_STR, "community str")
73
74DEFINE_MTYPE(BGPD, ECOMMUNITY, "extcommunity")
75DEFINE_MTYPE(BGPD, ECOMMUNITY_VAL, "extcommunity val")
76DEFINE_MTYPE(BGPD, ECOMMUNITY_STR, "extcommunity str")
77
78DEFINE_MTYPE(BGPD, COMMUNITY_LIST, "community-list")
79DEFINE_MTYPE(BGPD, COMMUNITY_LIST_NAME, "community-list name")
80DEFINE_MTYPE(BGPD, COMMUNITY_LIST_ENTRY, "community-list entry")
81DEFINE_MTYPE(BGPD, COMMUNITY_LIST_CONFIG, "community-list config")
82DEFINE_MTYPE(BGPD, COMMUNITY_LIST_HANDLER, "community-list handler")
83
84DEFINE_MTYPE(BGPD, CLUSTER, "Cluster list")
85DEFINE_MTYPE(BGPD, CLUSTER_VAL, "Cluster list val")
86
87DEFINE_MTYPE(BGPD, BGP_PROCESS_QUEUE, "BGP Process queue")
88DEFINE_MTYPE(BGPD, BGP_CLEAR_NODE_QUEUE, "BGP node clear queue")
89
90DEFINE_MTYPE(BGPD, TRANSIT, "BGP transit attr")
91DEFINE_MTYPE(BGPD, TRANSIT_VAL, "BGP transit val")
92
93DEFINE_MTYPE(BGPD, BGP_DEBUG_FILTER, "BGP debug filter")
94DEFINE_MTYPE(BGPD, BGP_DEBUG_STR, "BGP debug filter string")
95
96DEFINE_MTYPE(BGPD, BGP_DISTANCE, "BGP distance")
97DEFINE_MTYPE(BGPD, BGP_NEXTHOP_CACHE, "BGP nexthop")
98DEFINE_MTYPE(BGPD, BGP_CONFED_LIST, "BGP confed list")
99DEFINE_MTYPE(BGPD, PEER_UPDATE_SOURCE, "BGP peer update interface")
100DEFINE_MTYPE(BGPD, PEER_CONF_IF, "BGP peer config interface")
101DEFINE_MTYPE(BGPD, BGP_DAMP_INFO, "Dampening info")
102DEFINE_MTYPE(BGPD, BGP_DAMP_ARRAY, "BGP Dampening array")
103DEFINE_MTYPE(BGPD, BGP_REGEXP, "BGP regexp")
104DEFINE_MTYPE(BGPD, BGP_AGGREGATE, "BGP aggregate")
105DEFINE_MTYPE(BGPD, BGP_ADDR, "BGP own address")
106
107DEFINE_MTYPE(BGPD, BGP_REDIST, "BGP redistribution")
108DEFINE_MTYPE(BGPD, BGP_FILTER_NAME, "BGP Filter Information")
109DEFINE_MTYPE(BGPD, BGP_DUMP_STR, "BGP Dump String Information")
110DEFINE_MTYPE(BGPD, ENCAP_TLV, "ENCAP TLV")