FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
exported_types.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  fa_5tuple_opaque_t
 
struct  acl_plugin_methods_t
 

Macros

#define foreach_acl_plugin_exported_method_name
 

Typedefs

typedef u8(* acl_plugin_acl_exists_fn_t) (u32 acl_index)
 
typedef u32(* acl_plugin_register_user_module_fn_t) (char *caller_module_string, char *val1_label, char *val2_label)
 
typedef int(* acl_plugin_get_lookup_context_index_fn_t) (u32 acl_user_id, u32 val1, u32 val2)
 
typedef void(* acl_plugin_put_lookup_context_index_fn_t) (u32 lc_index)
 
typedef int(* acl_plugin_set_acl_vec_for_context_fn_t) (u32 lc_index, u32 *acl_list)
 
typedef 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)
 
typedef 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)
 
typedef clib_error_t *(* acl_plugin_methods_vtable_init_fn_t) (acl_plugin_methods_t *m)
 

Macro Definition Documentation

◆ foreach_acl_plugin_exported_method_name

#define foreach_acl_plugin_exported_method_name
Value:
_(acl_exists) \
_(register_user_module) \
_(get_lookup_context_index) \
_(put_lookup_context_index) \
_(set_acl_vec_for_context) \
_(fill_5tuple) \
_(match_5tuple)

Definition at line 78 of file exported_types.h.

Typedef Documentation

◆ acl_plugin_acl_exists_fn_t

typedef u8(* acl_plugin_acl_exists_fn_t) (u32 acl_index)

Definition at line 33 of file exported_types.h.

◆ acl_plugin_fill_5tuple_fn_t

typedef 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)

Definition at line 66 of file exported_types.h.

◆ acl_plugin_get_lookup_context_index_fn_t

typedef int(* acl_plugin_get_lookup_context_index_fn_t) (u32 acl_user_id, u32 val1, u32 val2)

Definition at line 50 of file exported_types.h.

◆ acl_plugin_match_5tuple_fn_t

typedef 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)

Definition at line 69 of file exported_types.h.

◆ acl_plugin_methods_vtable_init_fn_t

typedef clib_error_t*(* acl_plugin_methods_vtable_init_fn_t) (acl_plugin_methods_t *m)

Definition at line 100 of file exported_types.h.

◆ acl_plugin_put_lookup_context_index_fn_t

typedef void(* acl_plugin_put_lookup_context_index_fn_t) (u32 lc_index)

Definition at line 57 of file exported_types.h.

◆ acl_plugin_register_user_module_fn_t

typedef u32(* acl_plugin_register_user_module_fn_t) (char *caller_module_string, char *val1_label, char *val2_label)

Definition at line 40 of file exported_types.h.

◆ acl_plugin_set_acl_vec_for_context_fn_t

typedef int(* acl_plugin_set_acl_vec_for_context_fn_t) (u32 lc_index, u32 *acl_list)

Definition at line 64 of file exported_types.h.