]> git.proxmox.com Git - mirror_frr.git/blame - ospfd/ospf_errors.h
ospfd: zlog_ferr facility
[mirror_frr.git] / ospfd / ospf_errors.h
CommitLineData
313d7993
CS
1/*
2 * ospf_errors - header for error messages that may occur in the ospf process
3 * Copyright (C) 2018 Cumulus Networks, Inc.
4 * Chirag Shah
5 *
6 * FRR 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
8 * Free Software Foundation; either version 2, or (at your option) any
9 * later version.
10 *
11 * FRR is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for 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#ifndef __OSPF_ERRORS_H__
21#define __OSPF_ERRORS_H__
22
23#include "ferr.h"
24
25enum ospf_ferr_refs {
26 OSPF_ERR_PKT_PROCESS = OSPF_FERR_START,
27 OSPF_ERR_ROUTER_LSA_MISMATCH,
28 OSPF_ERR_DOMAIN_CORRUPT,
29 OSPF_ERR_INIT_FAIL,
30 OSPF_ERR_SR_INVALID_DB,
31 OSPF_ERR_SR_NODE_CREATE,
32 OSPF_ERR_SR_INVALID_LSA_ID,
33 OSPF_ERR_SR_INVALID_ALGORITHM,
34};
35
36extern void ospf_error_init(void);
37
38#endif