2023-02-08 13:17:09 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2018-06-19 22:41:28 +02:00
|
|
|
/*
|
2018-06-19 22:58:44 +02:00
|
|
|
* OSPF-specific error messages.
|
2018-06-19 22:41:28 +02:00
|
|
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
|
|
|
* Chirag Shah
|
|
|
|
*/
|
2018-06-19 22:58:44 +02:00
|
|
|
|
2018-06-19 22:41:28 +02:00
|
|
|
#ifndef __OSPF_ERRORS_H__
|
|
|
|
#define __OSPF_ERRORS_H__
|
|
|
|
|
2018-06-19 22:58:44 +02:00
|
|
|
#include "lib/ferr.h"
|
2018-06-19 22:41:28 +02:00
|
|
|
|
2018-08-03 20:07:23 +02:00
|
|
|
enum ospf_log_refs {
|
2018-09-13 20:56:04 +02:00
|
|
|
EC_OSPF_PKT_PROCESS = OSPF_FERR_START,
|
|
|
|
EC_OSPF_ROUTER_LSA_MISMATCH,
|
|
|
|
EC_OSPF_DOMAIN_CORRUPT,
|
|
|
|
EC_OSPF_INIT_FAIL,
|
|
|
|
EC_OSPF_SR_INVALID_DB,
|
|
|
|
EC_OSPF_SR_NODE_CREATE,
|
|
|
|
EC_OSPF_SR_INVALID_LSA_ID,
|
2020-06-18 19:46:28 +02:00
|
|
|
EC_OSPF_SR_SID_OVERFLOW,
|
2018-09-13 20:56:04 +02:00
|
|
|
EC_OSPF_INVALID_ALGORITHM,
|
|
|
|
EC_OSPF_FSM_INVALID_STATE,
|
|
|
|
EC_OSPF_SET_METRIC_PLUS,
|
2023-09-12 13:39:44 +02:00
|
|
|
EC_OSPF_AUTH,
|
2018-09-13 20:56:04 +02:00
|
|
|
EC_OSPF_PACKET,
|
|
|
|
EC_OSPF_LARGE_LSA,
|
|
|
|
EC_OSPF_LSA_UNEXPECTED,
|
|
|
|
EC_OSPF_LSA,
|
|
|
|
EC_OSPF_OPAQUE_REGISTRATION,
|
|
|
|
EC_OSPF_TE_UNEXPECTED,
|
|
|
|
EC_OSPF_LSA_INSTALL_FAILURE,
|
|
|
|
EC_OSPF_LSA_NULL,
|
|
|
|
EC_OSPF_EXT_LSA_UNEXPECTED,
|
|
|
|
EC_OSPF_LSA_MISSING,
|
|
|
|
EC_OSPF_PTP_NEIGHBOR,
|
|
|
|
EC_OSPF_LSA_SIZE,
|
2019-01-24 09:44:42 +01:00
|
|
|
EC_OSPF_LARGE_HELLO,
|
2018-06-19 22:41:28 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
extern void ospf_error_init(void);
|
|
|
|
|
|
|
|
#endif
|