From 7560918629eb11aa7bdaee5f4856243b38c77f93 Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Mon, 16 Jan 2023 20:18:23 +0000 Subject: feat: local-remote strategy Ticket: HICN-824 Change-Id: Iea285cb499b13c943a142fa39328ee36c91ae913 Signed-off-by: Mauro Sardara --- hicn-plugin/src/strategy_dpo_manager.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'hicn-plugin/src/strategy_dpo_manager.h') diff --git a/hicn-plugin/src/strategy_dpo_manager.h b/hicn-plugin/src/strategy_dpo_manager.h index b8a0c9e92..0163cd679 100644 --- a/hicn-plugin/src/strategy_dpo_manager.h +++ b/hicn-plugin/src/strategy_dpo_manager.h @@ -59,7 +59,7 @@ typedef struct hicn_dpo_vft_s hicn_face_id_t nh, index_t dpo_idx); /**< Add a next hop to the hICN dpo context */ int (*hicn_dpo_del_nh) (hicn_face_id_t face_id, index_t dpo_idx); - u8 *(*hicn_dpo_format) (u8 *s, int, ...); + u8 *(*hicn_dpo_format) (u8 *s, hicn_dpo_ctx_t *dpo_ctx, u32 indent); /**< Format an hICN dpo*/ } hicn_dpo_vft_t; @@ -189,6 +189,11 @@ int hicn_strategy_get_all_available (void); */ void hicn_dpo_register (const hicn_dpo_vft_t *hicn_dpo); +/** + * @brief Format strategy DPO. + */ +u8 *hicn_strategy_dpo_format (u8 *s, va_list *ap); + #endif /* // __HICN_STRATEGY_DPO_MANAGER_H__ */ /* -- cgit 1.2.3-korg