mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 15:30:02 +00:00
*: fix source file headers & includes for errcodes
* Use the correct license header * Stop headers from including themselves * Use uniform relative include conventions * Ensure that sources include what they use * Turn off clang-format around struct array blocks Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
313d7993a3
commit
247dcce2b5
@ -1,27 +1,29 @@
|
|||||||
/*
|
/*
|
||||||
* babel_errors - code for error messages that may occur in the
|
* Babel-specific error messages.
|
||||||
* babel process
|
|
||||||
* Copyright (C) 2018 Cumulus Networks, Inc.
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
||||||
* Donald Sharp
|
* Donald Sharp
|
||||||
*
|
*
|
||||||
* FRR is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License as published by the
|
* under the terms of the GNU General Public License as published by the Free
|
||||||
* Free Software Foundation; either version 2, or (at your option) any
|
* Software Foundation; either version 2 of the License, or (at your option)
|
||||||
* later version.
|
* any later version.
|
||||||
*
|
*
|
||||||
* FRR is distributed in the hope that it will be useful, but
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
* General Public License for more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; see the file COPYING; if not, write to the Free Software
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <zebra.h>
|
#include <zebra.h>
|
||||||
|
|
||||||
|
#include "lib/ferr.h"
|
||||||
#include "babel_errors.h"
|
#include "babel_errors.h"
|
||||||
|
|
||||||
|
/* clang-format off */
|
||||||
static struct ferr_ref ferr_babel_err[] = {
|
static struct ferr_ref ferr_babel_err[] = {
|
||||||
{
|
{
|
||||||
.code = BABEL_ERR_MEMORY,
|
.code = BABEL_ERR_MEMORY,
|
||||||
@ -51,6 +53,7 @@ static struct ferr_ref ferr_babel_err[] = {
|
|||||||
.code = END_FERR,
|
.code = END_FERR,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
/* clang-format on */
|
||||||
|
|
||||||
void babel_error_init(void)
|
void babel_error_init(void)
|
||||||
{
|
{
|
||||||
|
@ -1,27 +1,27 @@
|
|||||||
/*
|
/*
|
||||||
* babel_errors - header for error messages that may occur in the babel process
|
* Babel-specific error messages.
|
||||||
* Copyright (C) 2018 Cumulus Networks, Inc.
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
||||||
* Donald Sharp
|
* Donald Sharp
|
||||||
*
|
*
|
||||||
* FRR is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License as published by the
|
* under the terms of the GNU General Public License as published by the Free
|
||||||
* Free Software Foundation; either version 2, or (at your option) any
|
* Software Foundation; either version 2 of the License, or (at your option)
|
||||||
* later version.
|
* any later version.
|
||||||
*
|
*
|
||||||
* FRR is distributed in the hope that it will be useful, but
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
* General Public License for more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; see the file COPYING; if not, write to the Free Software
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __BABEL_ERRORS_H__
|
#ifndef __BABEL_ERRORS_H__
|
||||||
#define __BABEL_ERRORS_H__
|
#define __BABEL_ERRORS_H__
|
||||||
|
|
||||||
#include "ferr.h"
|
#include "lib/ferr.h"
|
||||||
#include "babel_errors.h"
|
|
||||||
|
|
||||||
enum babel_ferr_refs {
|
enum babel_ferr_refs {
|
||||||
BABEL_ERR_MEMORY = BABEL_FERR_START,
|
BABEL_ERR_MEMORY = BABEL_FERR_START,
|
||||||
|
@ -1,26 +1,29 @@
|
|||||||
/*
|
/*
|
||||||
* bgp_errors - code for error messages that may occur in the
|
* BGP-specific error messages.
|
||||||
* bgp process
|
|
||||||
* Copyright (C) 2018 Cumulus Networks, Inc.
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
||||||
* Don Slice
|
* Don Slice
|
||||||
*
|
*
|
||||||
* FRR is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License as published by the
|
* under the terms of the GNU General Public License as published by the Free
|
||||||
* Free Software Foundation; either version 2, or (at your option) any
|
* Software Foundation; either version 2 of the License, or (at your option)
|
||||||
* later version.
|
* any later version.
|
||||||
*
|
*
|
||||||
* FRR is distributed in the hope that it will be useful, but
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
* General Public License for more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; see the file COPYING; if not, write to the Free Software
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
#include <zebra.h>
|
|
||||||
#include <bgp_errors.h>
|
|
||||||
|
|
||||||
|
#include <zebra.h>
|
||||||
|
|
||||||
|
#include "lib/ferr.h"
|
||||||
|
#include "bgp_errors.h"
|
||||||
|
|
||||||
|
/* clang-format off */
|
||||||
static struct ferr_ref ferr_bgp_err[] = {
|
static struct ferr_ref ferr_bgp_err[] = {
|
||||||
{
|
{
|
||||||
.code = BGP_ERR_ATTR_FLAG,
|
.code = BGP_ERR_ATTR_FLAG,
|
||||||
@ -295,6 +298,7 @@ static struct ferr_ref ferr_bgp_err[] = {
|
|||||||
.code = END_FERR,
|
.code = END_FERR,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
/* clang-format on */
|
||||||
|
|
||||||
void bgp_error_init(void)
|
void bgp_error_init(void)
|
||||||
{
|
{
|
||||||
|
@ -1,27 +1,27 @@
|
|||||||
/*
|
/*
|
||||||
* bgp_errors - header for error messages that may occur in the bgp process
|
* BGP-specific error messages.
|
||||||
* Copyright (C) 2018 Cumulus Networks, Inc.
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
||||||
* Don Slice
|
* Don Slice
|
||||||
*
|
*
|
||||||
* FRR is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License as published by the
|
* under the terms of the GNU General Public License as published by the Free
|
||||||
* Free Software Foundation; either version 2, or (at your option) any
|
* Software Foundation; either version 2 of the License, or (at your option)
|
||||||
* later version.
|
* any later version.
|
||||||
*
|
*
|
||||||
* FRR is distributed in the hope that it will be useful, but
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
* General Public License for more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; see the file COPYING; if not, write to the Free Software
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __BGP_ERRORS_H__
|
#ifndef __BGP_ERRORS_H__
|
||||||
#define __BGP_ERRORS_H__
|
#define __BGP_ERRORS_H__
|
||||||
|
|
||||||
#include "ferr.h"
|
#include "lib/ferr.h"
|
||||||
#include "bgp_errors.h"
|
|
||||||
|
|
||||||
enum bgp_ferr_refs {
|
enum bgp_ferr_refs {
|
||||||
|
|
||||||
|
@ -1,27 +1,29 @@
|
|||||||
/*
|
/*
|
||||||
* eigrp_errors - code for error messages that may occur in the
|
* EIGRP-specific error messages.
|
||||||
* eigrp process
|
|
||||||
* Copyright (C) 2018 Cumulus Networks, Inc.
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
||||||
* Donald Sharp
|
* Donald Sharp
|
||||||
*
|
*
|
||||||
* FRR is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License as published by the
|
* under the terms of the GNU General Public License as published by the Free
|
||||||
* Free Software Foundation; either version 2, or (at your option) any
|
* Software Foundation; either version 2 of the License, or (at your option)
|
||||||
* later version.
|
* any later version.
|
||||||
*
|
*
|
||||||
* FRR is distributed in the hope that it will be useful, but
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
* General Public License for more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; see the file COPYING; if not, write to the Free Software
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <zebra.h>
|
#include <zebra.h>
|
||||||
|
|
||||||
|
#include "lib/ferr.h"
|
||||||
#include "eigrp_errors.h"
|
#include "eigrp_errors.h"
|
||||||
|
|
||||||
|
/* clang-format off */
|
||||||
static struct ferr_ref ferr_eigrp_err[] = {
|
static struct ferr_ref ferr_eigrp_err[] = {
|
||||||
{
|
{
|
||||||
.code = EIGRP_ERR_PACKET,
|
.code = EIGRP_ERR_PACKET,
|
||||||
@ -39,6 +41,7 @@ static struct ferr_ref ferr_eigrp_err[] = {
|
|||||||
.code = END_FERR,
|
.code = END_FERR,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
/* clang-format on */
|
||||||
|
|
||||||
void eigrp_error_init(void)
|
void eigrp_error_init(void)
|
||||||
{
|
{
|
||||||
|
@ -1,27 +1,27 @@
|
|||||||
/*
|
/*
|
||||||
* eigrp_errors - header for error messages that may occur in the eigrp process
|
* EIGRP-specific error messages.
|
||||||
* Copyright (C) 2018 Cumulus Networks, Inc.
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
||||||
* Donald Sharp
|
* Donald Sharp
|
||||||
*
|
*
|
||||||
* FRR is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License as published by the
|
* under the terms of the GNU General Public License as published by the Free
|
||||||
* Free Software Foundation; either version 2, or (at your option) any
|
* Software Foundation; either version 2 of the License, or (at your option)
|
||||||
* later version.
|
* any later version.
|
||||||
*
|
*
|
||||||
* FRR is distributed in the hope that it will be useful, but
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
* General Public License for more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; see the file COPYING; if not, write to the Free Software
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __EIGRP_ERRORS_H__
|
#ifndef __EIGRP_ERRORS_H__
|
||||||
#define __EIGRP_ERRORS_H__
|
#define __EIGRP_ERRORS_H__
|
||||||
|
|
||||||
#include "ferr.h"
|
#include "lib/ferr.h"
|
||||||
#include "eigrp_errors.h"
|
|
||||||
|
|
||||||
enum eigrp_ferr_refs {
|
enum eigrp_ferr_refs {
|
||||||
EIGRP_ERR_PACKET = EIGRP_FERR_START,
|
EIGRP_ERR_PACKET = EIGRP_FERR_START,
|
||||||
|
@ -1,27 +1,29 @@
|
|||||||
/*
|
/*
|
||||||
* isis_errors - code for error messages that may occur in the
|
* ISIS-specific error messages.
|
||||||
* isis process
|
|
||||||
* Copyright (C) 2018 Cumulus Networks, Inc.
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
||||||
* Donald Sharp
|
* Donald Sharp
|
||||||
*
|
*
|
||||||
* FRR is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License as published by the
|
* under the terms of the GNU General Public License as published by the Free
|
||||||
* Free Software Foundation; either version 2, or (at your option) any
|
* Software Foundation; either version 2 of the License, or (at your option)
|
||||||
* later version.
|
* any later version.
|
||||||
*
|
*
|
||||||
* FRR is distributed in the hope that it will be useful, but
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
* General Public License for more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; see the file COPYING; if not, write to the Free Software
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <zebra.h>
|
#include <zebra.h>
|
||||||
|
|
||||||
|
#include "lib/ferr.h"
|
||||||
#include "isis_errors.h"
|
#include "isis_errors.h"
|
||||||
|
|
||||||
|
/* clang-format off */
|
||||||
static struct ferr_ref ferr_isis_err[] = {
|
static struct ferr_ref ferr_isis_err[] = {
|
||||||
{
|
{
|
||||||
.code = ISIS_ERR_PACKET,
|
.code = ISIS_ERR_PACKET,
|
||||||
@ -39,6 +41,7 @@ static struct ferr_ref ferr_isis_err[] = {
|
|||||||
.code = END_FERR,
|
.code = END_FERR,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
/* clang-format on */
|
||||||
|
|
||||||
void isis_error_init(void)
|
void isis_error_init(void)
|
||||||
{
|
{
|
||||||
|
@ -1,27 +1,27 @@
|
|||||||
/*
|
/*
|
||||||
* isis_errors - header for error messages that may occur in the isis process
|
* ISIS-specific error messages.
|
||||||
* Copyright (C) 2018 Cumulus Networks, Inc.
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
||||||
* Donald Sharp
|
* Donald Sharp
|
||||||
*
|
*
|
||||||
* FRR is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License as published by the
|
* under the terms of the GNU General Public License as published by the Free
|
||||||
* Free Software Foundation; either version 2, or (at your option) any
|
* Software Foundation; either version 2 of the License, or (at your option)
|
||||||
* later version.
|
* any later version.
|
||||||
*
|
*
|
||||||
* FRR is distributed in the hope that it will be useful, but
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
* General Public License for more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; see the file COPYING; if not, write to the Free Software
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __ISIS_ERRORS_H__
|
#ifndef __ISIS_ERRORS_H__
|
||||||
#define __ISIS_ERRORS_H__
|
#define __ISIS_ERRORS_H__
|
||||||
|
|
||||||
#include "ferr.h"
|
#include "lib/ferr.h"
|
||||||
#include "isis_errors.h"
|
|
||||||
|
|
||||||
enum isis_ferr_refs {
|
enum isis_ferr_refs {
|
||||||
ISIS_ERR_PACKET = ISIS_FERR_START,
|
ISIS_ERR_PACKET = ISIS_FERR_START,
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <lib_errors.h>
|
#include "lib_errors.h"
|
||||||
|
|
||||||
/* clang-format off */
|
/* clang-format off */
|
||||||
static struct ferr_ref ferr_lib_err[] = {
|
static struct ferr_ref ferr_lib_err[] = {
|
||||||
|
@ -17,10 +17,11 @@
|
|||||||
* with this program; see the file COPYING; if not, write to the Free Software
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __LIB_ERRORS_H__
|
#ifndef __LIB_ERRORS_H__
|
||||||
#define __LIB_ERRORS_H__
|
#define __LIB_ERRORS_H__
|
||||||
|
|
||||||
#include "ferr.h"
|
#include "lib/ferr.h"
|
||||||
|
|
||||||
enum lib_ferr_refs {
|
enum lib_ferr_refs {
|
||||||
LIB_ERR_PRIVILEGES = LIB_FERR_START,
|
LIB_ERR_PRIVILEGES = LIB_FERR_START,
|
||||||
|
@ -1,27 +1,29 @@
|
|||||||
/*
|
/*
|
||||||
* nhrp_errors - code for error messages that may occur in the
|
* NHRP-specific error messages.
|
||||||
* nhrp process
|
|
||||||
* Copyright (C) 2018 Cumulus Networks, Inc.
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
||||||
* Donald Sharp
|
* Donald Sharp
|
||||||
*
|
*
|
||||||
* FRR is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License as published by the
|
* under the terms of the GNU General Public License as published by the Free
|
||||||
* Free Software Foundation; either version 2, or (at your option) any
|
* Software Foundation; either version 2 of the License, or (at your option)
|
||||||
* later version.
|
* any later version.
|
||||||
*
|
*
|
||||||
* FRR is distributed in the hope that it will be useful, but
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
* General Public License for more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; see the file COPYING; if not, write to the Free Software
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <zebra.h>
|
#include <zebra.h>
|
||||||
|
|
||||||
|
#include "lib/ferr.h"
|
||||||
#include "nhrp_errors.h"
|
#include "nhrp_errors.h"
|
||||||
|
|
||||||
|
/* clang-format off */
|
||||||
static struct ferr_ref ferr_nhrp_err[] = {
|
static struct ferr_ref ferr_nhrp_err[] = {
|
||||||
{
|
{
|
||||||
.code = NHRP_ERR_SWAN,
|
.code = NHRP_ERR_SWAN,
|
||||||
@ -39,6 +41,7 @@ static struct ferr_ref ferr_nhrp_err[] = {
|
|||||||
.code = END_FERR,
|
.code = END_FERR,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
/* clang-format on */
|
||||||
|
|
||||||
void nhrp_error_init(void)
|
void nhrp_error_init(void)
|
||||||
{
|
{
|
||||||
|
@ -1,27 +1,27 @@
|
|||||||
/*
|
/*
|
||||||
* nhrp_errors - header for error messages that may occur in the nhrp process
|
* NHRP-specific error messages.
|
||||||
* Copyright (C) 2018 Cumulus Networks, Inc.
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
||||||
* Donald Sharp
|
* Donald Sharp
|
||||||
*
|
*
|
||||||
* FRR is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License as published by the
|
* under the terms of the GNU General Public License as published by the Free
|
||||||
* Free Software Foundation; either version 2, or (at your option) any
|
* Software Foundation; either version 2 of the License, or (at your option)
|
||||||
* later version.
|
* any later version.
|
||||||
*
|
*
|
||||||
* FRR is distributed in the hope that it will be useful, but
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
* General Public License for more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; see the file COPYING; if not, write to the Free Software
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __NHRP_ERRORS_H__
|
#ifndef __NHRP_ERRORS_H__
|
||||||
#define __NHRP_ERRORS_H__
|
#define __NHRP_ERRORS_H__
|
||||||
|
|
||||||
#include "ferr.h"
|
#include "lib/ferr.h"
|
||||||
#include "nhrp_errors.h"
|
|
||||||
|
|
||||||
enum nhrp_ferr_refs {
|
enum nhrp_ferr_refs {
|
||||||
NHRP_ERR_SWAN = NHRP_FERR_START,
|
NHRP_ERR_SWAN = NHRP_FERR_START,
|
||||||
|
@ -1,24 +1,26 @@
|
|||||||
/*
|
/*
|
||||||
* ospf_errors - code for error messages that may occur in the
|
* OSPF-specific error messages.
|
||||||
* ospf process
|
|
||||||
* Copyright (C) 2018 Cumulus Networks, Inc.
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
||||||
* Chirag Shah
|
* Chirag Shah
|
||||||
*
|
*
|
||||||
* FRR is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License as published by the
|
* under the terms of the GNU General Public License as published by the Free
|
||||||
* Free Software Foundation; either version 2, or (at your option) any
|
* Software Foundation; either version 2 of the License, or (at your option)
|
||||||
* later version.
|
* any later version.
|
||||||
*
|
*
|
||||||
* FRR is distributed in the hope that it will be useful, but
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
* General Public License for more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; see the file COPYING; if not, write to the Free Software
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <zebra.h>
|
#include <zebra.h>
|
||||||
|
|
||||||
|
#include "lib/ferr.h"
|
||||||
#include "ospf_errors.h"
|
#include "ospf_errors.h"
|
||||||
|
|
||||||
static struct ferr_ref ferr_ospf_err[] = {
|
static struct ferr_ref ferr_ospf_err[] = {
|
||||||
|
@ -1,26 +1,27 @@
|
|||||||
/*
|
/*
|
||||||
* ospf_errors - header for error messages that may occur in the ospf process
|
* OSPF-specific error messages.
|
||||||
* Copyright (C) 2018 Cumulus Networks, Inc.
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
||||||
* Chirag Shah
|
* Chirag Shah
|
||||||
*
|
*
|
||||||
* FRR is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License as published by the
|
* under the terms of the GNU General Public License as published by the Free
|
||||||
* Free Software Foundation; either version 2, or (at your option) any
|
* Software Foundation; either version 2 of the License, or (at your option)
|
||||||
* later version.
|
* any later version.
|
||||||
*
|
*
|
||||||
* FRR is distributed in the hope that it will be useful, but
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
* General Public License for more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; see the file COPYING; if not, write to the Free Software
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __OSPF_ERRORS_H__
|
#ifndef __OSPF_ERRORS_H__
|
||||||
#define __OSPF_ERRORS_H__
|
#define __OSPF_ERRORS_H__
|
||||||
|
|
||||||
#include "ferr.h"
|
#include "lib/ferr.h"
|
||||||
|
|
||||||
enum ospf_ferr_refs {
|
enum ospf_ferr_refs {
|
||||||
OSPF_ERR_PKT_PROCESS = OSPF_FERR_START,
|
OSPF_ERR_PKT_PROCESS = OSPF_FERR_START,
|
||||||
|
@ -1,27 +1,29 @@
|
|||||||
/*
|
/*
|
||||||
* pim_errors - code for error messages that may occur in the
|
* PIM-specific error messages.
|
||||||
* pim process
|
|
||||||
* Copyright (C) 2018 Cumulus Networks, Inc.
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
||||||
* Donald Sharp
|
* Donald Sharp
|
||||||
*
|
*
|
||||||
* FRR is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License as published by the
|
* under the terms of the GNU General Public License as published by the Free
|
||||||
* Free Software Foundation; either version 2, or (at your option) any
|
* Software Foundation; either version 2 of the License, or (at your option)
|
||||||
* later version.
|
* any later version.
|
||||||
*
|
*
|
||||||
* FRR is distributed in the hope that it will be useful, but
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
* General Public License for more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; see the file COPYING; if not, write to the Free Software
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <zebra.h>
|
#include <zebra.h>
|
||||||
|
|
||||||
|
#include "lib/ferr.h"
|
||||||
#include "pim_errors.h"
|
#include "pim_errors.h"
|
||||||
|
|
||||||
|
/* clang-format off */
|
||||||
static struct ferr_ref ferr_pim_err[] = {
|
static struct ferr_ref ferr_pim_err[] = {
|
||||||
{
|
{
|
||||||
.code = PIM_ERR_MSDP_PACKET,
|
.code = PIM_ERR_MSDP_PACKET,
|
||||||
@ -39,6 +41,7 @@ static struct ferr_ref ferr_pim_err[] = {
|
|||||||
.code = END_FERR,
|
.code = END_FERR,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
/* clang-format on */
|
||||||
|
|
||||||
void pim_error_init(void)
|
void pim_error_init(void)
|
||||||
{
|
{
|
||||||
|
@ -1,27 +1,27 @@
|
|||||||
/*
|
/*
|
||||||
* pim_errors - header for error messages that may occur in the pim process
|
* PIM-specific error messages.
|
||||||
* Copyright (C) 2018 Cumulus Networks, Inc.
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
||||||
* Donald Sharp
|
* Donald Sharp
|
||||||
*
|
*
|
||||||
* FRR is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License as published by the
|
* under the terms of the GNU General Public License as published by the Free
|
||||||
* Free Software Foundation; either version 2, or (at your option) any
|
* Software Foundation; either version 2 of the License, or (at your option)
|
||||||
* later version.
|
* any later version.
|
||||||
*
|
*
|
||||||
* FRR is distributed in the hope that it will be useful, but
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
* General Public License for more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; see the file COPYING; if not, write to the Free Software
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __PIM_ERRORS_H__
|
#ifndef __PIM_ERRORS_H__
|
||||||
#define __PIM_ERRORS_H__
|
#define __PIM_ERRORS_H__
|
||||||
|
|
||||||
#include "ferr.h"
|
#include "lib/ferr.h"
|
||||||
#include "pim_errors.h"
|
|
||||||
|
|
||||||
enum pim_ferr_refs {
|
enum pim_ferr_refs {
|
||||||
PIM_ERR_MSDP_PACKET = PIM_FERR_START,
|
PIM_ERR_MSDP_PACKET = PIM_FERR_START,
|
||||||
|
@ -1,25 +1,26 @@
|
|||||||
/*
|
/*
|
||||||
* rip_errors - code for error messages that may occur in the
|
* RIP-specific error messages.
|
||||||
* rip process
|
|
||||||
* Copyright (C) 2018 Cumulus Networks, Inc.
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
||||||
* Donald Sharp
|
* Donald Sharp
|
||||||
*
|
*
|
||||||
* FRR is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License as published by the
|
* under the terms of the GNU General Public License as published by the Free
|
||||||
* Free Software Foundation; either version 2, or (at your option) any
|
* Software Foundation; either version 2 of the License, or (at your option)
|
||||||
* later version.
|
* any later version.
|
||||||
*
|
*
|
||||||
* FRR is distributed in the hope that it will be useful, but
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
* General Public License for more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; see the file COPYING; if not, write to the Free Software
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <zebra.h>
|
#include <zebra.h>
|
||||||
|
|
||||||
|
#include "lib/ferr.h"
|
||||||
#include "rip_errors.h"
|
#include "rip_errors.h"
|
||||||
|
|
||||||
static struct ferr_ref ferr_rip_err[] = {
|
static struct ferr_ref ferr_rip_err[] = {
|
||||||
|
@ -1,27 +1,27 @@
|
|||||||
/*
|
/*
|
||||||
* rip_errors - header for error messages that may occur in the rip process
|
* RIP-specific error messages.
|
||||||
* Copyright (C) 2018 Cumulus Networks, Inc.
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
||||||
* Donald Sharp
|
* Donald Sharp
|
||||||
*
|
*
|
||||||
* FRR is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License as published by the
|
* under the terms of the GNU General Public License as published by the Free
|
||||||
* Free Software Foundation; either version 2, or (at your option) any
|
* Software Foundation; either version 2 of the License, or (at your option)
|
||||||
* later version.
|
* any later version.
|
||||||
*
|
*
|
||||||
* FRR is distributed in the hope that it will be useful, but
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
* General Public License for more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; see the file COPYING; if not, write to the Free Software
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __RIP_ERRORS_H__
|
#ifndef __RIP_ERRORS_H__
|
||||||
#define __RIP_ERRORS_H__
|
#define __RIP_ERRORS_H__
|
||||||
|
|
||||||
#include "ferr.h"
|
#include "lib/ferr.h"
|
||||||
#include "rip_errors.h"
|
|
||||||
|
|
||||||
enum rip_ferr_refs {
|
enum rip_ferr_refs {
|
||||||
RIP_ERR_PACKET = RIP_FERR_START,
|
RIP_ERR_PACKET = RIP_FERR_START,
|
||||||
|
@ -1,27 +1,29 @@
|
|||||||
/*
|
/*
|
||||||
* watchfrr_errors - code for error messages that may occur in the
|
* Watchfrr-specific error messages.
|
||||||
* watchfrr process
|
|
||||||
* Copyright (C) 2018 Cumulus Networks, Inc.
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
||||||
* Donald Sharp
|
* Donald Sharp
|
||||||
*
|
*
|
||||||
* FRR is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License as published by the
|
* under the terms of the GNU General Public License as published by the Free
|
||||||
* Free Software Foundation; either version 2, or (at your option) any
|
* Software Foundation; either version 2 of the License, or (at your option)
|
||||||
* later version.
|
* any later version.
|
||||||
*
|
*
|
||||||
* FRR is distributed in the hope that it will be useful, but
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
* General Public License for more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; see the file COPYING; if not, write to the Free Software
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <zebra.h>
|
#include <zebra.h>
|
||||||
|
|
||||||
|
#include "lib/ferr.h"
|
||||||
#include "watchfrr_errors.h"
|
#include "watchfrr_errors.h"
|
||||||
|
|
||||||
|
/* clang-format off */
|
||||||
static struct ferr_ref ferr_watchfrr_err[] = {
|
static struct ferr_ref ferr_watchfrr_err[] = {
|
||||||
{
|
{
|
||||||
.code = WATCHFRR_ERR_CONNECTION,
|
.code = WATCHFRR_ERR_CONNECTION,
|
||||||
@ -33,6 +35,7 @@ static struct ferr_ref ferr_watchfrr_err[] = {
|
|||||||
.code = END_FERR,
|
.code = END_FERR,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
/* clang-format on */
|
||||||
|
|
||||||
void watchfrr_error_init(void)
|
void watchfrr_error_init(void)
|
||||||
{
|
{
|
||||||
|
@ -1,28 +1,27 @@
|
|||||||
/*
|
/*
|
||||||
* watchfrr_errors - header for error messages that may occur in the
|
* Watchfrr-specific error messages.
|
||||||
* watchfrr process
|
|
||||||
* Copyright (C) 2018 Cumulus Networks, Inc.
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
||||||
* Donald Sharp
|
* Donald Sharp
|
||||||
*
|
*
|
||||||
* FRR is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms of the GNU General Public License as published by the
|
* under the terms of the GNU General Public License as published by the Free
|
||||||
* Free Software Foundation; either version 2, or (at your option) any
|
* Software Foundation; either version 2 of the License, or (at your option)
|
||||||
* later version.
|
* any later version.
|
||||||
*
|
*
|
||||||
* FRR is distributed in the hope that it will be useful, but
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||||
* General Public License for more details.
|
* more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License along
|
* You should have received a copy of the GNU General Public License along
|
||||||
* with this program; see the file COPYING; if not, write to the Free Software
|
* with this program; see the file COPYING; if not, write to the Free Software
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __WATCHFRR_ERRORS_H__
|
#ifndef __WATCHFRR_ERRORS_H__
|
||||||
#define __WATCHFRR_ERRORS_H__
|
#define __WATCHFRR_ERRORS_H__
|
||||||
|
|
||||||
#include "lib/ferr.h"
|
#include "lib/ferr.h"
|
||||||
#include "watchfrr_errors.h"
|
|
||||||
|
|
||||||
enum watchfrr_ferr_refs {
|
enum watchfrr_ferr_refs {
|
||||||
WATCHFRR_ERR_CONNECTION = WATCHFRR_FERR_START,
|
WATCHFRR_ERR_CONNECTION = WATCHFRR_FERR_START,
|
||||||
|
@ -19,8 +19,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <zebra.h>
|
#include <zebra.h>
|
||||||
|
|
||||||
|
#include "lib/ferr.h"
|
||||||
#include "zebra_errors.h"
|
#include "zebra_errors.h"
|
||||||
#include "ferr.h"
|
|
||||||
|
|
||||||
/* clang-format off */
|
/* clang-format off */
|
||||||
static struct ferr_ref ferr_zebra_err[] = {
|
static struct ferr_ref ferr_zebra_err[] = {
|
||||||
|
@ -21,8 +21,7 @@
|
|||||||
#ifndef __ZEBRA_ERRORS_H__
|
#ifndef __ZEBRA_ERRORS_H__
|
||||||
#define __ZEBRA_ERRORS_H__
|
#define __ZEBRA_ERRORS_H__
|
||||||
|
|
||||||
#include <zebra.h>
|
#include "lib/ferr.h"
|
||||||
#include "ferr.h"
|
|
||||||
|
|
||||||
enum zebra_ferr_refs {
|
enum zebra_ferr_refs {
|
||||||
ZEBRA_ERR_LM_RESPONSE,
|
ZEBRA_ERR_LM_RESPONSE,
|
||||||
|
Loading…
Reference in New Issue
Block a user