]> git.proxmox.com Git - mirror_frr.git/blob - bgpd/bgp_errors.h
Merge pull request #2834 from dslicenc/import-vrf-fixes
[mirror_frr.git] / bgpd / bgp_errors.h
1 /*
2 * BGP-specific error messages.
3 * Copyright (C) 2018 Cumulus Networks, Inc.
4 * Don Slice
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)
9 * any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; see the file COPYING; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21 #ifndef __BGP_ERRORS_H__
22 #define __BGP_ERRORS_H__
23
24 #include "lib/ferr.h"
25
26 enum bgp_log_refs {
27
28 BGP_ERR_ATTR_FLAG = BGP_FERR_START,
29 BGP_ERR_ATTR_LEN,
30 BGP_ERR_ATTR_ORIGIN,
31 BGP_ERR_ATTR_MAL_AS_PATH,
32 BGP_ERR_ATTR_FIRST_AS,
33 BGP_ERR_ATTR_MARTIAN_NH,
34 BGP_ERR_ATTR_PMSI_TYPE,
35 BGP_ERR_ATTR_PMSI_LEN,
36 BGP_ERR_ATTR_NH_SEND_LEN,
37 BGP_ERR_PEER_GROUP,
38 BGP_ERR_PEER_DELETE,
39 BGP_ERR_TABLE_CHUNK,
40 BGP_ERR_MACIP_LEN,
41 BGP_ERR_LM_ERROR,
42 BGP_ERR_JSON_MEM_ERROR,
43 BGP_ERR_UPDGRP_ATTR_LEN,
44 BGP_ERR_UPDGRP_CREATE,
45 BGP_ERR_UPDATE_SND,
46 BGP_ERR_PKT_OPEN,
47 BGP_ERR_SND_FAIL,
48 BGP_ERR_INVALID_STATUS,
49 BGP_ERR_UPDATE_RCV,
50 BGP_ERR_NO_CAP,
51 BGP_ERR_NOTIFY_RCV,
52 BGP_ERR_KEEP_RCV,
53 BGP_ERR_RFSH_RCV,
54 BGP_ERR_CAP_RCV,
55 BGP_ERR_NH_UPD,
56 BGP_ERR_LABEL,
57 BGP_ERR_MULTIPATH,
58 BGP_ERR_PKT_PROCESS,
59 BGP_ERR_CONNECT,
60 BGP_ERR_FSM,
61 BGP_ERR_VNI,
62 BGP_ERR_NO_DFLT,
63 BGP_ERR_VTEP_INVALID,
64 BGP_ERR_ES_INVALID,
65 BGP_ERR_EVPN_ROUTE_DELETE,
66 BGP_ERR_EVPN_FAIL,
67 BGP_ERR_EVPN_ROUTE_INVALID,
68 BGP_ERR_EVPN_ROUTE_CREATE,
69 BGP_ERR_ES_CREATE,
70 BGP_ERR_MULTI_INSTANCE,
71 BGP_ERR_EVPN_AS_MISMATCH,
72 BGP_ERR_EVPN_INSTANCE_MISMATCH,
73 BGP_ERR_FLOWSPEC_PACKET,
74 BGP_ERR_FLOWSPEC_INSTALLATION,
75 };
76
77 extern void bgp_error_init(void);
78
79 #endif