|
Hybrid ICN (hICN) plugin
v21.06-rc0-4-g18fa668
|
Definition of the virtual function table for a hICN DPO. More...
#include <strategy_dpo_manager.h>
Public Attributes | |
| int(* | hicn_dpo_is_type )(const dpo_id_t *dpo) |
| dpo_type_t(* | hicn_dpo_get_type )(void) |
| void(* | hicn_dpo_module_init )(void) |
| void(* | hicn_dpo_create )(fib_protocol_t proto, const hicn_face_id_t *nh, int nh_len, index_t *dpo_idx) |
| int(* | hicn_dpo_add_update_nh )(hicn_face_id_t nh, index_t dpo_idx) |
| int(* | hicn_dpo_del_nh )(hicn_face_id_t face_id, index_t dpo_idx) |
| u8 *(* | hicn_dpo_format )(u8 *s, int,...) |
Definition of the virtual function table for a hICN DPO.
The following virtual function table template that glues together the fuction to interact with the context and the creating the dpo
| int(* hicn_dpo_vft_s::hicn_dpo_add_update_nh) (hicn_face_id_t nh, index_t dpo_idx) |
Add a next hop to the hICN dpo context
| void(* hicn_dpo_vft_s::hicn_dpo_create) (fib_protocol_t proto, const hicn_face_id_t *nh, int nh_len, index_t *dpo_idx) |
Create the context of the hICN dpo
| u8*(* hicn_dpo_vft_s::hicn_dpo_format) (u8 *s, int,...) |
Format an hICN dpo
| dpo_type_t(* hicn_dpo_vft_s::hicn_dpo_get_type) (void) |
Return the type of the hICN dpo
| int(* hicn_dpo_vft_s::hicn_dpo_is_type) (const dpo_id_t *dpo) |
Check if the type of the hICN DPO is the expected
| void(* hicn_dpo_vft_s::hicn_dpo_module_init) (void) |
Initialize the hICN dpo
1.8.17