]> git.proxmox.com Git - mirror_frr.git/blame - pathd/path_pcep_debug.h
Merge pull request #10032 from opensourcerouting/build-fix-20211111
[mirror_frr.git] / pathd / path_pcep_debug.h
CommitLineData
efba0985
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_PCEP_DEBUG_H_
20#define _PATH_PCEP_DEBUG_H_
21
22#include "pathd/path_debug.h"
74971473
JG
23#include "pceplib/pcep_pcc_api.h"
24#include "pceplib/pcep_msg_objects.h"
efba0985
SM
25#include "pathd/path_pcep.h"
26#include "pathd/path_pcep_controller.h"
27#include "pathd/path_pcep_pcc.h"
28#include "pathd/path_pcep_lib.h"
29
30const char *pcc_status_name(enum pcc_status status);
31
32const char *pcep_error_type_name(enum pcep_error_type error_type);
33const char *pcep_error_value_name(enum pcep_error_type error_type,
34 enum pcep_error_value error_value);
35const char *pcep_event_type_name(pcep_event_type event_type);
36const char *pcep_message_type_name(enum pcep_message_types pcep_message_type);
37const char *pcep_object_class_name(enum pcep_object_classes obj_class);
38const char *pcep_object_type_name(enum pcep_object_classes obj_class,
39 enum pcep_object_types obj_type);
40const char *pcep_lsp_status_name(enum pcep_lsp_operational_status status);
41const char *pcep_tlv_type_name(enum pcep_object_tlv_types tlv_type);
42const char *pcep_ro_type_name(enum pcep_ro_subobj_types ro_type);
43const char *pcep_nai_type_name(enum pcep_sr_subobj_nai nai_type);
44const char *pcep_metric_type_name(enum pcep_metric_types type);
45const char *pcep_nopath_tlv_err_code_name(enum pcep_nopath_tlv_err_codes code);
46
47const char *format_objfun_set(uint32_t flags);
48const char *format_pcc_opts(struct pcc_opts *ops);
49const char *format_pcc_state(struct pcc_state *state);
50const char *format_ctrl_state(struct ctrl_state *state);
51const char *format_path(struct path *path);
52const char *format_pcep_event(pcep_event *event);
53const char *format_pcep_message(struct pcep_message *msg);
efba0985
SM
54
55#endif // _PATH_PCEP_DEBUG_H_