Hybrid ICN (hICN) plugin  v21.06-rc0-4-g18fa668
Public Attributes | List of all members
hicn_dpo_vft_s Struct Reference

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,...)
 

Detailed Description

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

Member Data Documentation

◆ hicn_dpo_add_update_nh

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

◆ hicn_dpo_create

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

◆ hicn_dpo_format

u8*(* hicn_dpo_vft_s::hicn_dpo_format) (u8 *s, int,...)

Format an hICN dpo

◆ hicn_dpo_get_type

dpo_type_t(* hicn_dpo_vft_s::hicn_dpo_get_type) (void)

Return the type of the hICN dpo

◆ hicn_dpo_is_type

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

◆ hicn_dpo_module_init

void(* hicn_dpo_vft_s::hicn_dpo_module_init) (void)

Initialize the hICN dpo


The documentation for this struct was generated from the following file: