]>
Commit | Line | Data |
---|---|---|
4d7b695d SM |
1 | /* |
2 | * Copyright (C) 2020 NetDEF, Inc. | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify it | |
5 | * under the terms of the GNU General Public License as published by the Free | |
6 | * Software Foundation; either version 2 of the License, or (at your option) | |
7 | * any later version. | |
8 | * | |
9 | * This program is distributed in the hope that it will be useful, but WITHOUT | |
10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |
12 | * more details. | |
13 | * | |
14 | * You should have received a copy of the GNU General Public License along | |
15 | * with this program; see the file COPYING; if not, write to the Free Software | |
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
17 | */ | |
18 | ||
19 | #ifndef __PATH_ERRORS_H__ | |
20 | #define __PATH_ERRORS_H__ | |
21 | ||
22 | #include "lib/ferr.h" | |
23 | ||
24 | enum path_log_refs { | |
25 | EC_PATH_PCEP_INIT = PATH_FERR_START, | |
efba0985 SM |
26 | EC_PATH_SYSTEM_CALL, |
27 | EC_PATH_PCEP_PCC_INIT, | |
28 | EC_PATH_PCEP_PCC_FINI, | |
29 | EC_PATH_PCEP_PCC_CONF_UPDATE, | |
30 | EC_PATH_PCEP_LIB_CONNECT, | |
31 | EC_PATH_PCEP_MISSING_SOURCE_ADDRESS, | |
32 | EC_PATH_PCEP_RECOVERABLE_INTERNAL_ERROR, | |
33 | EC_PATH_PCEP_UNSUPPORTED_PCEP_FEATURE, | |
34 | EC_PATH_PCEP_UNEXPECTED_PCEP_MESSAGE, | |
35 | EC_PATH_PCEP_UNEXPECTED_PCEPLIB_EVENT, | |
36 | EC_PATH_PCEP_UNEXPECTED_PCEP_OBJECT, | |
37 | EC_PATH_PCEP_UNEXPECTED_PCEP_TLV, | |
38 | EC_PATH_PCEP_UNEXPECTED_PCEP_ERO_SUBOBJ, | |
39 | EC_PATH_PCEP_UNEXPECTED_SR_NAI, | |
40 | EC_PATH_PCEP_COMPUTATION_REQUEST_TIMEOUT | |
4d7b695d SM |
41 | }; |
42 | ||
43 | extern void path_error_init(void); | |
44 | ||
45 | #endif |