|
Hybrid ICN (hICN) plugin
v21.06-rc0-4-g18fa668
|
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) |
Definition of the virtual functin table for a cache policy.
A cache policy must implement all the following functions:
1.8.17