|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef included_acl_exported_types_h
17 #define included_acl_exported_types_h
78 #define foreach_acl_plugin_exported_method_name \
80 _(register_user_module) \
81 _(get_lookup_context_index) \
82 _(put_lookup_context_index) \
83 _(set_acl_vec_for_context) \
87 #define _(name) acl_plugin_ ## name ## _fn_t name;
u8(* acl_plugin_acl_exists_fn_t)(u32 acl_index)
int(* acl_plugin_match_5tuple_fn_t)(u32 lc_index, fa_5tuple_opaque_t *pkt_5tuple, int is_ip6, u8 *r_action, u32 *r_acl_pos_p, u32 *r_acl_match_p, u32 *r_rule_match_p, u32 *trace_bitmap)
int(* acl_plugin_get_lookup_context_index_fn_t)(u32 acl_user_id, u32 val1, u32 val2)
#define foreach_acl_plugin_exported_method_name
void(* acl_plugin_put_lookup_context_index_fn_t)(u32 lc_index)
int(* acl_plugin_set_acl_vec_for_context_fn_t)(u32 lc_index, u32 *acl_list)
void(* acl_plugin_fill_5tuple_fn_t)(u32 lc_index, vlib_buffer_t *b0, int is_ip6, int is_input, int is_l2_path, fa_5tuple_opaque_t *p5tuple_pkt)
u32(* acl_plugin_register_user_module_fn_t)(char *caller_module_string, char *val1_label, char *val2_label)
VLIB buffer representation.