FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | acl_fa_trace_t |
struct | nonip_in_out_trace_t |
Macros | |
#define | foreach_acl_fa_error |
#define | foreach_nonip_in_error |
#define | foreach_nonip_out_error |
#define | get_u16(addr) ( *((u16 *)(addr)) ) |
#define | ACL_PLUGIN_VECTOR_SIZE 4 |
#define | ACL_PLUGIN_PREFETCH_GAP 3 |
Enumerations | |
enum | acl_fa_error_t { ACL_FA_N_ERROR } |
enum | l2_in_feat_arc_error_t { L2_IN_FEAT_ARC_N_ERROR, FA_IN_NONIP_N_ERROR } |
enum | l2_out_feat_arc_error_t { L2_OUT_FEAT_ARC_N_ERROR, FA_OUT_NONIP_N_ERROR } |
Functions | |
static u8 * | format_nonip_in_out_trace (u8 *s, u32 is_output, va_list *args) |
static u8 * | format_l2_nonip_in_trace (u8 *s, va_list *args) |
static u8 * | format_l2_nonip_out_trace (u8 *s, va_list *args) |
static int | is_permitted_ethertype (acl_main_t *am, int sw_if_index0, int is_output, u16 ethertype) |
static uword | nonip_in_out_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int is_output) |
VLIB_NODE_FN() | acl_in_nonip_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
VLIB_NODE_FN() | acl_out_nonip_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
VNET_FEATURE_INIT (acl_in_l2_nonip_fa_feature, static) | |
VNET_FEATURE_INIT (acl_out_l2_nonip_fa_feature, static) | |
static u16 | get_current_policy_epoch (acl_main_t *am, int is_input, u32 sw_if_index0) |
static void | maybe_trace_buffer (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_buffer_t *b, u32 sw_if_index0, u32 lc_index0, u16 next0, int match_acl_in_index, int match_rule_index, fa_5tuple_t *fa_5tuple, u8 action, u32 trace_bitmap) |
static int | stale_session_deleted (acl_main_t *am, int is_input, acl_fa_per_worker_data_t *pw, u64 now, u32 sw_if_index0, fa_full_session_id_t f_sess_id) |
static void | get_sw_if_index_xN (int vector_sz, int is_input, vlib_buffer_t **b, u32 *out_sw_if_index) |
static void | fill_5tuple_xN (int vector_sz, acl_main_t *am, int is_ip6, int is_input, int is_l2_path, vlib_buffer_t **b, u32 *sw_if_index, fa_5tuple_t *out_fa_5tuple) |
static void | make_session_hash_xN (int vector_sz, acl_main_t *am, int is_ip6, u32 *sw_if_index, fa_5tuple_t *fa_5tuple, u64 *out_hash) |
static void | prefetch_session_entry (acl_main_t *am, fa_full_session_id_t f_sess_id) |
static u8 | process_established_session (vlib_main_t *vm, acl_main_t *am, u32 counter_node_index, int is_input, u64 now, fa_full_session_id_t f_sess_id, u32 *sw_if_index, fa_5tuple_t *fa_5tuple, u32 pkt_len, int node_trace_on, u32 *trace_bitmap) |
static void | acl_fa_node_common_prepare_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int is_ip6, int is_input, int is_l2_path, int with_stateful_datapath) |
static uword | acl_fa_inner_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int is_ip6, int is_input, int is_l2_path, int with_stateful_datapath, int node_trace_on, int reclassify_sessions) |
static uword | acl_fa_outer_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int is_ip6, int is_input, int is_l2_path, int do_stateful_datapath) |
static uword | acl_fa_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int is_ip6, int is_input, int is_l2_path) |
static u8 * | format_fa_5tuple (u8 *s, va_list *args) |
u8 * | format_acl_plugin_5tuple (u8 *s, va_list *args) |
static u8 * | format_acl_plugin_trace (u8 *s, va_list *args) |
VLIB_NODE_FN() | acl_in_l2_ip6_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
VLIB_NODE_FN() | acl_in_l2_ip4_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
VLIB_NODE_FN() | acl_out_l2_ip6_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
VLIB_NODE_FN() | acl_out_l2_ip4_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
VLIB_NODE_FN() | acl_in_fa_ip6_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
VLIB_NODE_FN() | acl_in_fa_ip4_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
VLIB_NODE_FN() | acl_out_fa_ip6_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
VLIB_NODE_FN() | acl_out_fa_ip4_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
VNET_FEATURE_INIT (acl_in_l2_ip6_fa_feature, static) | |
VNET_FEATURE_INIT (acl_in_l2_ip4_fa_feature, static) | |
VNET_FEATURE_INIT (acl_out_l2_ip6_fa_feature, static) | |
VNET_FEATURE_INIT (acl_out_l2_ip4_fa_feature, static) | |
VNET_FEATURE_INIT (acl_in_ip6_fa_feature, static) | |
VNET_FEATURE_INIT (acl_in_ip4_fa_feature, static) | |
VNET_FEATURE_INIT (acl_out_ip6_fa_feature, static) | |
VNET_FEATURE_INIT (acl_out_ip4_fa_feature, static) | |
Variables | |
static char * | fa_in_nonip_error_strings [] |
static char * | fa_out_nonip_error_strings [] |
vlib_node_registration_t | acl_in_nonip_node |
(constructor) VLIB_REGISTER_NODE (acl_in_nonip_node) More... | |
vlib_node_registration_t | acl_out_nonip_node |
(constructor) VLIB_REGISTER_NODE (acl_out_nonip_node) More... | |
static char * | acl_fa_error_strings [] |
vlib_node_registration_t | acl_in_l2_ip6_node |
(constructor) VLIB_REGISTER_NODE (acl_in_l2_ip6_node) More... | |
vlib_node_registration_t | acl_in_l2_ip4_node |
(constructor) VLIB_REGISTER_NODE (acl_in_l2_ip4_node) More... | |
vlib_node_registration_t | acl_out_l2_ip6_node |
(constructor) VLIB_REGISTER_NODE (acl_out_l2_ip6_node) More... | |
vlib_node_registration_t | acl_out_l2_ip4_node |
(constructor) VLIB_REGISTER_NODE (acl_out_l2_ip4_node) More... | |
vlib_node_registration_t | acl_in_fa_ip6_node |
(constructor) VLIB_REGISTER_NODE (acl_in_fa_ip6_node) More... | |
vlib_node_registration_t | acl_in_fa_ip4_node |
(constructor) VLIB_REGISTER_NODE (acl_in_fa_ip4_node) More... | |
vlib_node_registration_t | acl_out_fa_ip6_node |
(constructor) VLIB_REGISTER_NODE (acl_out_fa_ip6_node) More... | |
vlib_node_registration_t | acl_out_fa_ip4_node |
(constructor) VLIB_REGISTER_NODE (acl_out_fa_ip4_node) More... | |
#define ACL_PLUGIN_PREFETCH_GAP 3 |
Definition at line 453 of file dataplane_node.c.
#define ACL_PLUGIN_VECTOR_SIZE 4 |
Definition at line 452 of file dataplane_node.c.
#define foreach_acl_fa_error |
Definition at line 49 of file dataplane_node.c.
#define foreach_nonip_in_error |
Definition at line 102 of file dataplane_node.c.
#define foreach_nonip_out_error |
Definition at line 107 of file dataplane_node.c.
Definition at line 163 of file dataplane_node.c.
enum acl_fa_error_t |
Enumerator | |
---|---|
ACL_FA_N_ERROR |
Definition at line 59 of file dataplane_node.c.
Enumerator | |
---|---|
L2_IN_FEAT_ARC_N_ERROR | |
FA_IN_NONIP_N_ERROR |
Definition at line 114 of file dataplane_node.c.
Enumerator | |
---|---|
L2_OUT_FEAT_ARC_N_ERROR | |
FA_OUT_NONIP_N_ERROR |
Definition at line 128 of file dataplane_node.c.
|
inlinestatic |
Definition at line 545 of file dataplane_node.c.
|
inlinestatic |
Definition at line 456 of file dataplane_node.c.
|
inlinestatic |
Definition at line 831 of file dataplane_node.c.
|
inlinestatic |
Definition at line 795 of file dataplane_node.c.
VLIB_NODE_FN() acl_in_fa_ip4_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() acl_in_fa_ip6_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() acl_in_l2_ip4_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() acl_in_l2_ip6_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() acl_in_nonip_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() acl_out_fa_ip4_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() acl_out_fa_ip6_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() acl_out_l2_ip4_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() acl_out_l2_ip6_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() acl_out_nonip_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
|
inlinestatic |
Definition at line 375 of file dataplane_node.c.
Definition at line 887 of file dataplane_node.c.
Definition at line 848 of file dataplane_node.c.
Definition at line 78 of file dataplane_node.c.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 386 of file dataplane_node.c.
|
inlinestatic |
Definition at line 304 of file dataplane_node.c.
|
inlinestatic |
Definition at line 166 of file dataplane_node.c.
|
inlinestatic |
Definition at line 397 of file dataplane_node.c.
|
inlinestatic |
Definition at line 405 of file dataplane_node.c.
|
inlinestatic |
Definition at line 330 of file dataplane_node.c.
VNET_FEATURE_INIT | ( | acl_in_l2_nonip_fa_feature | , |
static | |||
) |
VNET_FEATURE_INIT | ( | acl_out_l2_nonip_fa_feature | , |
static | |||
) |
VNET_FEATURE_INIT | ( | acl_in_l2_ip6_fa_feature | , |
static | |||
) |
VNET_FEATURE_INIT | ( | acl_in_l2_ip4_fa_feature | , |
static | |||
) |
VNET_FEATURE_INIT | ( | acl_out_l2_ip6_fa_feature | , |
static | |||
) |
VNET_FEATURE_INIT | ( | acl_out_l2_ip4_fa_feature | , |
static | |||
) |
VNET_FEATURE_INIT | ( | acl_in_ip6_fa_feature | , |
static | |||
) |
VNET_FEATURE_INIT | ( | acl_in_ip4_fa_feature | , |
static | |||
) |
VNET_FEATURE_INIT | ( | acl_out_ip6_fa_feature | , |
static | |||
) |
VNET_FEATURE_INIT | ( | acl_out_ip4_fa_feature | , |
static | |||
) |
|
static |
Definition at line 917 of file dataplane_node.c.
vlib_node_registration_t acl_in_fa_ip4_node |
(constructor) VLIB_REGISTER_NODE (acl_in_fa_ip4_node)
Definition at line 1094 of file dataplane_node.c.
vlib_node_registration_t acl_in_fa_ip6_node |
(constructor) VLIB_REGISTER_NODE (acl_in_fa_ip6_node)
Definition at line 1072 of file dataplane_node.c.
vlib_node_registration_t acl_in_l2_ip4_node |
(constructor) VLIB_REGISTER_NODE (acl_in_l2_ip4_node)
Definition at line 1003 of file dataplane_node.c.
vlib_node_registration_t acl_in_l2_ip6_node |
(constructor) VLIB_REGISTER_NODE (acl_in_l2_ip6_node)
Definition at line 981 of file dataplane_node.c.
vlib_node_registration_t acl_in_nonip_node |
(constructor) VLIB_REGISTER_NODE (acl_in_nonip_node)
Definition at line 242 of file dataplane_node.c.
vlib_node_registration_t acl_out_fa_ip4_node |
(constructor) VLIB_REGISTER_NODE (acl_out_fa_ip4_node)
Definition at line 1139 of file dataplane_node.c.
vlib_node_registration_t acl_out_fa_ip6_node |
(constructor) VLIB_REGISTER_NODE (acl_out_fa_ip6_node)
Definition at line 1117 of file dataplane_node.c.
vlib_node_registration_t acl_out_l2_ip4_node |
(constructor) VLIB_REGISTER_NODE (acl_out_l2_ip4_node)
Definition at line 1049 of file dataplane_node.c.
vlib_node_registration_t acl_out_l2_ip6_node |
(constructor) VLIB_REGISTER_NODE (acl_out_l2_ip6_node)
Definition at line 1026 of file dataplane_node.c.
vlib_node_registration_t acl_out_nonip_node |
(constructor) VLIB_REGISTER_NODE (acl_out_nonip_node)
Definition at line 264 of file dataplane_node.c.
|
static |
Definition at line 122 of file dataplane_node.c.
|
static |
Definition at line 136 of file dataplane_node.c.