]> git.proxmox.com Git - mirror_frr.git/blame - ospfd/ospf_errors.h
ospfd: Add OSPF_WARN_LSA_INSTALL_FAILURE error code
[mirror_frr.git] / ospfd / ospf_errors.h
CommitLineData
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 26enum ospf_log_refs {
313d7993
CS
27 OSPF_ERR_PKT_PROCESS = OSPF_FERR_START,
28 OSPF_ERR_ROUTER_LSA_MISMATCH,
29 OSPF_ERR_DOMAIN_CORRUPT,
30 OSPF_ERR_INIT_FAIL,
31 OSPF_ERR_SR_INVALID_DB,
32 OSPF_ERR_SR_NODE_CREATE,
33 OSPF_ERR_SR_INVALID_LSA_ID,
34 OSPF_ERR_SR_INVALID_ALGORITHM,
45301f8c 35 OSPF_WARN_SET_METRIC_PLUS,
c9cc11f6
DS
36 OSPF_WARN_MD5,
37 OSPF_WARN_PACKET,
38 OSPF_WARN_LARGE_LSA,
34f74c7a
DS
39 OSPF_WARN_LSA_UNEXPECTED,
40 OSPF_WARN_LSA,
85c9b439 41 OSPF_WARN_OPAQUE_REGISTRATION,
2c72cf2a 42 OSPF_WARN_TE_UNEXPECTED,
542a208f 43 OSPF_WARN_LSA_INSTALL_FAILURE,
313d7993
CS
44};
45
46extern void ospf_error_init(void);
47
48#endif