diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-06-18 13:21:27 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-14 20:02:05 +0000 |
| commit | d9ff43027374621745f195352be8907ff3ad8393 (patch) | |
| tree | ce5bcedc50347b5c8cab31dd056cefa5aa54c917 /pimd/pim_errors.h | |
| parent | def31c1305673c29f6428a8a0eaea0dd40ea7000 (diff) | |
pimd: Add pim_errors and define some pim specific errors
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_errors.h')
| -rw-r--r-- | pimd/pim_errors.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pimd/pim_errors.h b/pimd/pim_errors.h new file mode 100644 index 0000000000..bcb1628e62 --- /dev/null +++ b/pimd/pim_errors.h @@ -0,0 +1,33 @@ +/* + * pim_errors - header for error messages that may occur in the pim process + * Copyright (C) 2018 Cumulus Networks, Inc. + * Donald Sharp + * + * FRR 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, or (at your option) any + * later version. + * + * FRR 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 __PIM_ERRORS_H__ +#define __PIM_ERRORS_H__ + +#include "ferr.h" +#include "pim_errors.h" + +enum pim_ferr_refs { + PIM_ERR_MSDP_PACKET = PIM_FERR_START, + PIM_ERR_CONFIG, +}; + +extern void pim_error_init(void); + +#endif |
