1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
/*
* BGP-specific error messages.
* Copyright (C) 2018 Cumulus Networks, Inc.
* Don Slice
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; see the file COPYING; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef __BGP_ERRORS_H__
#define __BGP_ERRORS_H__
#include "lib/ferr.h"
enum bgp_log_refs {
EC_BGP_ATTR_FLAG = BGP_FERR_START,
EC_BGP_ATTR_LEN,
EC_BGP_ATTR_ORIGIN,
EC_BGP_ATTR_MAL_AS_PATH,
EC_BGP_ATTR_FIRST_AS,
EC_BGP_ATTR_MARTIAN_NH,
EC_BGP_ATTR_PMSI_TYPE,
EC_BGP_ATTR_PMSI_LEN,
EC_BGP_ATTR_NH_SEND_LEN,
EC_BGP_PEER_GROUP,
EC_BGP_PEER_DELETE,
EC_BGP_TABLE_CHUNK,
EC_BGP_MACIP_LEN,
EC_BGP_LM_ERROR,
EC_BGP_JSON_MEM_ERROR,
EC_BGP_UPDGRP_ATTR_LEN,
EC_BGP_UPDGRP_CREATE,
EC_BGP_UPDATE_SND,
EC_BGP_PKT_OPEN,
EC_BGP_SND_FAIL,
EC_BGP_INVALID_STATUS,
EC_BGP_UPDATE_R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ILITY_INVALID_DATA,
EC_BGP_CAPABILITY_VENDOR,
EC_BGP_CAPABILITY_UNKNOWN,
EC_BGP_INVALID_NEXTHOP_LENGTH,
EC_BGP_DOPPELGANGER_CONFIG,
};
extern void bgp_error_init(void);
#endif
|