mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 10:11:52 +00:00
80 lines
2.0 KiB
C
80 lines
2.0 KiB
C
/*
|
|
* BGP-specific error messages.
|
|
* Copyright (C) 2018 Cumulus Networks, Inc.
|
|
* Don Slice
|
|
*
|
|
* 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 Free
|
|
* Software Foundation; either version 2 of the License, or (at your option)
|
|
* any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
* more details.
|
|
*
|
|
* 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
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
#ifndef __BGP_ERRORS_H__
|
|
#define __BGP_ERRORS_H__
|
|
|
|
#include "lib/ferr.h"
|
|
|
|
enum bgp_log_refs {
|
|
|
|
BGP_ERR_ATTR_FLAG = BGP_FERR_START,
|
|
BGP_ERR_ATTR_LEN,
|
|
BGP_ERR_ATTR_ORIGIN,
|
|
BGP_ERR_ATTR_MAL_AS_PATH,
|
|
BGP_ERR_ATTR_FIRST_AS,
|
|
BGP_ERR_ATTR_MARTIAN_NH,
|
|
BGP_ERR_ATTR_PMSI_TYPE,
|
|
BGP_ERR_ATTR_PMSI_LEN,
|
|
BGP_ERR_ATTR_NH_SEND_LEN,
|
|
BGP_ERR_PEER_GROUP,
|
|
BGP_ERR_PEER_DELETE,
|
|
BGP_ERR_TABLE_CHUNK,
|
|
BGP_ERR_MACIP_LEN,
|
|
BGP_ERR_LM_ERROR,
|
|
BGP_ERR_JSON_MEM_ERROR,
|
|
BGP_ERR_UPDGRP_ATTR_LEN,
|
|
BGP_ERR_UPDGRP_CREATE,
|
|
BGP_ERR_UPDATE_SND,
|
|
BGP_ERR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