1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2020 NetDEF, Inc.
11 #define PROTECTED_RESOURCE_STRLEN 100
13 extern void ospf_ti_lfa_compute(struct ospf_area
*area
,
14 struct route_table
*new_table
,
15 enum protection_type protection_type
);
18 extern void ospf_ti_lfa_generate_p_spaces(struct ospf_area
*area
,
19 enum protection_type protection_type
);
20 extern void ospf_ti_lfa_insert_backup_paths(struct ospf_area
*area
,
21 struct route_table
*new_table
);
22 extern void ospf_ti_lfa_free_p_spaces(struct ospf_area
*area
);
23 void ospf_print_protected_resource(
24 struct protected_resource
*protected_resource
, char *buf
);
26 #endif /* _OSPF_TI_LFA_H */