FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | macip_acl_rule_t |
struct | acl_list_t |
struct | macip_acl_list_t |
struct | ace_mask_type_entry_t |
struct | acl_main_t |
Macros | |
#define | ACL_PLUGIN_VERSION_MAJOR 1 |
#define | ACL_PLUGIN_VERSION_MINOR 4 |
#define | UDP_SESSION_IDLE_TIMEOUT_SEC 600 |
#define | TCP_SESSION_IDLE_TIMEOUT_SEC (3600*24) |
#define | TCP_SESSION_TRANSIENT_TIMEOUT_SEC 120 |
#define | SESSION_PURGATORY_TIMEOUT_USEC 10 |
#define | ACL_PLUGIN_HASH_LOOKUP_HASH_BUCKETS 65536 |
#define | ACL_PLUGIN_HASH_LOOKUP_HASH_MEMORY (2 << 25) |
#define | TM_SPLIT_THRESHOLD 39 |
#define | ACL_FA_DEFAULT_MAX_DELETED_SESSIONS_PER_INTERVAL 100 |
#define | ACL_FA_DEFAULT_MIN_DELETED_SESSIONS_PER_INTERVAL 1 |
#define | ACL_FA_DEFAULT_CLEANER_WAIT_TIME_INCREMENT 0.1 |
#define | foreach_fa_cleaner_counter |
#define | acl_log_err(...) vlib_log(VLIB_LOG_LEVEL_ERR, acl_main.log_default, __VA_ARGS__) |
#define | acl_log_warn(...) vlib_log(VLIB_LOG_LEVEL_WARNING, acl_main.log_default, __VA_ARGS__) |
#define | acl_log_notice(...) vlib_log(VLIB_LOG_LEVEL_NOTICE, acl_main.log_default, __VA_ARGS__) |
#define | acl_log_info(...) vlib_log(VLIB_LOG_LEVEL_INFO, acl_main.log_default, __VA_ARGS__) |
#define | foreach_acl_eh |
Enumerations | |
enum | acl_timeout_e { ACL_TIMEOUT_UNUSED = 0, ACL_TIMEOUT_UDP_IDLE, ACL_TIMEOUT_TCP_IDLE, ACL_TIMEOUT_TCP_TRANSIENT, ACL_N_USER_TIMEOUTS, ACL_TIMEOUT_PURGATORY = ACL_N_USER_TIMEOUTS, ACL_N_TIMEOUTS } |
enum | acl_eh_t { foreach_acl_eh } |
enum | acl_fa_sess_req_t { ACL_FA_REQ_SESS_RESCHEDULE = 0, ACL_FA_N_REQ } |
Functions | |
void | input_acl_packet_match (u32 sw_if_index, vlib_buffer_t *b0, u32 *nextp, u32 *acl_match_p, u32 *rule_match_p, u32 *trace_bitmap) |
void | output_acl_packet_match (u32 sw_if_index, vlib_buffer_t *b0, u32 *nextp, u32 *acl_match_p, u32 *rule_match_p, u32 *trace_bitmap) |
static void | acl_plugin_counter_lock (acl_main_t *am) |
static void | acl_plugin_counter_unlock (acl_main_t *am) |
void | aclp_post_session_change_request (acl_main_t *am, u32 target_thread, u32 target_session, acl_fa_sess_req_t request_type) |
void | aclp_swap_wip_and_pending_session_change_requests (acl_main_t *am, u32 target_thread) |
Variables | |
vlib_node_registration_t | acl_in_node |
vlib_node_registration_t | acl_out_node |
acl_main_t | acl_main |
#define acl_log_err | ( | ... | ) | vlib_log(VLIB_LOG_LEVEL_ERR, acl_main.log_default, __VA_ARGS__) |
#define acl_log_info | ( | ... | ) | vlib_log(VLIB_LOG_LEVEL_INFO, acl_main.log_default, __VA_ARGS__) |
#define acl_log_notice | ( | ... | ) | vlib_log(VLIB_LOG_LEVEL_NOTICE, acl_main.log_default, __VA_ARGS__) |
#define acl_log_warn | ( | ... | ) | vlib_log(VLIB_LOG_LEVEL_WARNING, acl_main.log_default, __VA_ARGS__) |
#define foreach_acl_eh |
#define foreach_fa_cleaner_counter |
enum acl_fa_sess_req_t |
enum acl_timeout_e |
|
inlinestatic |
|
inlinestatic |
void aclp_post_session_change_request | ( | acl_main_t * | am, |
u32 | target_thread, | ||
u32 | target_session, | ||
acl_fa_sess_req_t | request_type | ||
) |
void aclp_swap_wip_and_pending_session_change_requests | ( | acl_main_t * | am, |
u32 | target_thread | ||
) |
Definition at line 398 of file sess_mgmt_node.c.
void input_acl_packet_match | ( | u32 | sw_if_index, |
vlib_buffer_t * | b0, | ||
u32 * | nextp, | ||
u32 * | acl_match_p, | ||
u32 * | rule_match_p, | ||
u32 * | trace_bitmap | ||
) |
void output_acl_packet_match | ( | u32 | sw_if_index, |
vlib_buffer_t * | b0, | ||
u32 * | nextp, | ||
u32 * | acl_match_p, | ||
u32 * | rule_match_p, | ||
u32 * | trace_bitmap | ||
) |
vlib_node_registration_t acl_in_node |
acl_main_t acl_main |
vlib_node_registration_t acl_out_node |