]>
Commit | Line | Data |
---|---|---|
313d7993 | 1 | /* |
247dcce2 | 2 | * OSPF-specific error messages. |
313d7993 CS |
3 | * Copyright (C) 2018 Cumulus Networks, Inc. |
4 | * Chirag Shah | |
5 | * | |
247dcce2 QY |
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. | |
313d7993 | 10 | * |
247dcce2 QY |
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. | |
313d7993 CS |
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 | */ | |
247dcce2 | 20 | |
313d7993 CS |
21 | #ifndef __OSPF_ERRORS_H__ |
22 | #define __OSPF_ERRORS_H__ | |
23 | ||
247dcce2 | 24 | #include "lib/ferr.h" |
313d7993 | 25 | |
85cd2f9f | 26 | enum ospf_log_refs { |
cf444bcf QY |
27 | EC_OSPF_PKT_PROCESS = OSPF_FERR_START, |
28 | EC_OSPF_ROUTER_LSA_MISMATCH, | |
29 | EC_OSPF_DOMAIN_CORRUPT, | |
30 | EC_OSPF_INIT_FAIL, | |
31 | EC_OSPF_SR_INVALID_DB, | |
32 | EC_OSPF_SR_NODE_CREATE, | |
33 | EC_OSPF_SR_INVALID_LSA_ID, | |
6f751f14 | 34 | EC_OSPF_SR_SID_OVERFLOW, |
cf444bcf QY |
35 | EC_OSPF_INVALID_ALGORITHM, |
36 | EC_OSPF_FSM_INVALID_STATE, | |
37 | EC_OSPF_SET_METRIC_PLUS, | |
38 | EC_OSPF_MD5, | |
39 | EC_OSPF_PACKET, | |
40 | EC_OSPF_LARGE_LSA, | |
41 | EC_OSPF_LSA_UNEXPECTED, | |
42 | EC_OSPF_LSA, | |
43 | EC_OSPF_OPAQUE_REGISTRATION, | |
44 | EC_OSPF_TE_UNEXPECTED, | |
45 | EC_OSPF_LSA_INSTALL_FAILURE, | |
46 | EC_OSPF_LSA_NULL, | |
47 | EC_OSPF_EXT_LSA_UNEXPECTED, | |
48 | EC_OSPF_LSA_MISSING, | |
49 | EC_OSPF_PTP_NEIGHBOR, | |
50 | EC_OSPF_LSA_SIZE, | |
9b18d58e | 51 | EC_OSPF_LARGE_HELLO, |
313d7993 CS |
52 | }; |
53 | ||
54 | extern void ospf_error_init(void); | |
55 | ||
56 | #endif |