2 * OSPF-specific error messages.
3 * Copyright (C) 2018 Cumulus Networks, Inc.
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)
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
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
21 #ifndef __OSPF_ERRORS_H__
22 #define __OSPF_ERRORS_H__
27 OSPF_ERR_PKT_PROCESS
= OSPF_FERR_START
,
28 OSPF_ERR_ROUTER_LSA_MISMATCH
,
29 OSPF_ERR_DOMAIN_CORRUPT
,
31 OSPF_ERR_SR_INVALID_DB
,
32 OSPF_ERR_SR_NODE_CREATE
,
33 OSPF_ERR_SR_INVALID_LSA_ID
,
34 OSPF_ERR_INVALID_ALGORITHM
,
35 OSPF_ERR_FSM_INVALID_STATE
,
36 OSPF_WARN_SET_METRIC_PLUS
,
40 OSPF_WARN_LSA_UNEXPECTED
,
42 OSPF_WARN_OPAQUE_REGISTRATION
,
43 OSPF_WARN_TE_UNEXPECTED
,
44 OSPF_WARN_LSA_INSTALL_FAILURE
,
46 OSPF_WARN_EXT_LSA_UNEXPECTED
,
47 OSPF_WARN_LSA_MISSING
,
48 OSPF_WARN_PTP_NEIGHBOR
,
52 extern void ospf_error_init(void);