2 * Zebra-specific error messages.
3 * Copyright (C) 2018 Cumulus Networks, Inc.
6 * This program 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 Free
8 * Software Foundation; either version 2 of the License, or (at your option)
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
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
21 #ifndef __ZEBRA_ERRORS_H__
22 #define __ZEBRA_ERRORS_H__
27 ZEBRA_ERR_LM_RESPONSE
= ZEBRA_FERR_START
,
28 ZEBRA_ERR_LM_NO_SUCH_CLIENT
,
29 ZEBRA_ERR_LM_RELAY_FAILED
,
30 ZEBRA_ERR_LM_NO_SOCKET
,
31 ZEBRA_ERR_LM_BAD_INSTANCE
,
32 ZEBRA_ERR_LM_RELAY_REQUEST_FAILED
,
33 ZEBRA_ERR_LM_CLIENT_CONNECTION_FAILED
,
34 ZEBRA_ERR_LM_EXHAUSTED_LABELS
,
35 ZEBRA_ERR_LM_DAEMON_MISMATCH
,
36 ZEBRA_ERR_LM_UNRELEASED_CHUNK
,
37 ZEBRA_ERR_DP_INVALID_RC
,
38 ZEBRA_ERR_WQ_NONEXISTENT
,
39 ZEBRA_ERR_FEC_ADD_FAILED
,
40 ZEBRA_ERR_FEC_RM_FAILED
,
41 ZEBRA_ERR_IRDP_LEN_MISMATCH
,
42 ZEBRA_ERR_RNH_UNKNOWN_FAMILY
,
43 ZEBRA_ERR_DP_INSTALL_FAIL
,
44 ZEBRA_ERR_TABLE_LOOKUP_FAILED
,
45 ZEBRA_ERR_NETLINK_NOT_AVAILABLE
,
46 ZEBRA_ERR_PROTOBUF_NOT_AVAILABLE
,
47 ZEBRA_ERR_TM_EXHAUSTED_IDS
,
48 ZEBRA_ERR_TM_DAEM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