]>
Commit | Line | Data |
---|---|---|
acddc0ed | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
efba0985 SM |
2 | /* |
3 | * Copyright (C) 2020 NetDEF, Inc. | |
efba0985 SM |
4 | */ |
5 | ||
6 | #ifndef _PATH_PCEP_DEBUG_H_ | |
7 | #define _PATH_PCEP_DEBUG_H_ | |
8 | ||
9 | #include "pathd/path_debug.h" | |
74971473 JG |
10 | #include "pceplib/pcep_pcc_api.h" |
11 | #include "pceplib/pcep_msg_objects.h" | |
efba0985 SM |
12 | #include "pathd/path_pcep.h" |
13 | #include "pathd/path_pcep_controller.h" | |
14 | #include "pathd/path_pcep_pcc.h" | |
15 | #include "pathd/path_pcep_lib.h" | |
16 | ||
17 | const char *pcc_status_name(enum pcc_status status); | |
18 | ||
19 | const char *pcep_error_type_name(enum pcep_error_type error_type); | |
20 | const char *pcep_error_value_name(enum pcep_error_type error_type, | |
21 | enum pcep_error_value error_value); | |
22 | const char *pcep_event_type_name(pcep_event_type event_type); | |
23 | const char *pcep_message_type_name(enum pcep_message_types pcep_message_type); | |
24 | const char *pcep_object_class_name(enum pcep_object_classes obj_class); | |
25 | const char *pcep_object_type_name(enum pcep_object_classes obj_class, | |
26 | enum pcep_object_types obj_type); | |
27 | const char *pcep_lsp_status_name(enum pcep_lsp_operational_status status); | |
28 | const char *pcep_tlv_type_name(enum pcep_object_tlv_types tlv_type); | |
29 | const char *pcep_ro_type_name(enum pcep_ro_subobj_types ro_type); | |
30 | const char *pcep_nai_type_name(enum pcep_sr_subobj_nai nai_type); | |
31 | const char *pcep_metric_type_name(enum pcep_metric_types type); | |
32 | const char *pcep_nopath_tlv_err_code_name(enum pcep_nopath_tlv_err_codes code); | |
33 | ||
34 | const char *format_objfun_set(uint32_t flags); | |
35 | const char *format_pcc_opts(struct pcc_opts *ops); | |
36 | const char *format_pcc_state(struct pcc_state *state); | |
37 | const char *format_ctrl_state(struct ctrl_state *state); | |
38 | const char *format_path(struct path *path); | |
39 | const char *format_pcep_event(pcep_event *event); | |
40 | const char *format_pcep_message(struct pcep_message *msg); | |
efba0985 SM |
41 | |
42 | #endif // _PATH_PCEP_DEBUG_H_ |