diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-06-18 16:45:27 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-14 22:02:05 +0200 |
commit | ad9921dbd8017c7f6f9cce0838bfee9377b7b403 (patch) | |
tree | 47b9dd2a49bff0ef50ecbf70446568c1f346da6e /lib/ferr.h | |
parent | pimd: Convert over to use LIB_ERR_XXX for zlog_err (diff) | |
download | frr-ad9921dbd8017c7f6f9cce0838bfee9377b7b403.tar.xz frr-ad9921dbd8017c7f6f9cce0838bfee9377b7b403.zip |
lib: Update error ranges to include all daemons
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r-- | lib/ferr.h | 44 |
1 files changed, 35 insertions, 9 deletions
diff --git a/lib/ferr.h b/lib/ferr.h index 011925b85..1ce042910 100644 --- a/lib/ferr.h +++ b/lib/ferr.h @@ -96,15 +96,41 @@ struct ferr { }; /* Numeric ranges assigned to daemons for use as error codes. */ -#define LIB_FERR_START 0x01000001 -#define LIB_FERR_END 0x01FFFFFF -#define BGP_FERR_START 0x02000000 -#define BGP_FERR_END 0x02FFFFFF -#define OSPF_FERR_START 0x03000001 -#define OSPF_FERR_END 0x03FFFFFF -#define ZEBRA_FERR_START 0x04000001 -#define ZEBRA_FERR_END 0x04FFFFFF -#define END_FERR 0xFFFFFFFF +#define BABEL_FERR_START 0x01000001 +#define BABEL_FRRR_END 0x01FFFFFF +#define BGP_FERR_START 0x02000001 +#define BGP_FERR_END 0x02FFFFFF +#define EIGRP_FERR_START 0x03000001 +#define EIGRP_FERR_END 0x03FFFFFF +#define ISIS_FERR_START 0x04000001 +#define ISIS_FERR_END 0x04FFFFFF +#define LDP_FERR_START 0x05000001 +#define LDP_FERR_END 0x05FFFFFF +#define LIB_FERR_START 0x06000001 +#define LIB_FERR_END 0x06FFFFFF +#define NHRP_FERR_START 0x07000001 +#define NHRP_FERR_END 0x07FFFFFF +#define OSPF_FERR_START 0x08000001 +#define OSPF_FERR_END 0x08FFFFFF +#define OSPFV3_FERR_START 0x09000001 +#define OSPFV3_FERR_END 0x09FFFFFF +#define PBR_FERR_START 0x0A000001 +#define PBR_FERR_END 0x0AFFFFFF +#define PIM_FERR_START 0x0B000001 +#define PIM_FERR_STOP 0x0BFFFFFF +#define RIP_FERR_START 0x0C000001 +#define RIP_FERR_STOP 0x0CFFFFFF +#define RIPNG_FERR_START 0x0D000001 +#define RIPNG_FERR_STOP 0x0DFFFFFF +#define SHARP_FERR_START 0x0E000001 +#define SHARP_FERR_END 0x0EFFFFFF +#define VTYSH_FERR_START 0x0F000001 +#define VTYSH_FRR_END 0x0FFFFFFF +#define WATCHFRR_FRR_START 0x10000001 +#define WATCHFRR_FRR_END 0x10FFFFFF +#define ZEBRA_FERR_START 0xF1000001 +#define ZEBRA_FERR_END 0xF1FFFFFF +#define END_FERR 0xFFFFFFFF struct ferr_ref { /* Unique error code displayed to end user as a reference. -1 means |