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

Definition of the virtual functin table for a cache policy. More...

#include <cs_policy.h>

Public Attributes

void(* hicn_cs_insert )(struct hicn_pit_cs_s *p, struct hicn_hash_node_s *node, struct hicn_pcs_entry_s *pcs, hicn_cs_policy_t *policy)
 
void(* hicn_cs_update )(struct hicn_pit_cs_s *p, struct hicn_hash_node_s *node, struct hicn_pcs_entry_s *pcs, hicn_cs_policy_t *policy)
 
void(* hicn_cs_dequeue )(struct hicn_pit_cs_s *p, struct hicn_hash_node_s *node, struct hicn_pcs_entry_s *pcs, hicn_cs_policy_t *policy)
 
void(* hicn_cs_delete_get )(struct hicn_pit_cs_s *p, hicn_cs_policy_t *policy, struct hicn_hash_node_s **node, struct hicn_pcs_entry_s **pcs, struct hicn_hash_entry_s **hash_entry)
 
int(* hicn_cs_trim )(struct hicn_pit_cs_s *p, u32 *node_list, int sz, hicn_cs_policy_t *policy)
 
int(* hicn_cs_flush )(vlib_main_t *vm, struct hicn_pit_cs_s *p, hicn_cs_policy_t *policy_state)
 

Detailed Description

Definition of the virtual functin table for a cache policy.

A cache policy must implement all the following functions:


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