FD.io VPP
v18.01.2-1-g9b554f3
Vector Packet Processing
|
IPv4 Source and Port Range Checking. More...
Go to the source code of this file.
Data Structures | |
struct | ip4_source_and_port_range_check_trace_t |
Macros | |
#define | foreach_ip4_source_and_port_range_check_error |
Variables | |
source_range_check_main_t | source_range_check_main |
static protocol_port_range_dpo_t * | ppr_dpo_pool |
The pool of range chack DPOs. More... | |
static dpo_type_t | ppr_dpo_type |
Dynamically registered DPO type. More... | |
vlib_node_registration_t | ip4_source_port_and_range_check_rx |
(constructor) VLIB_REGISTER_NODE (ip4_source_port_and_range_check_rx) More... | |
vlib_node_registration_t | ip4_source_port_and_range_check_tx |
(constructor) VLIB_REGISTER_NODE (ip4_source_port_and_range_check_tx) More... | |
static char * | ip4_source_and_port_range_check_error_strings [] |
static vlib_cli_command_t | set_interface_ip_source_and_port_range_check_command |
(constructor) VLIB_CLI_COMMAND (set_interface_ip_source_and_port_range_check_command) More... | |
static const dpo_vft_t | ppr_vft |
static const char *const | ppr_ip4_nodes [] |
static const char *const *const | ppr_nodes [DPO_PROTO_NUM] |
static vlib_cli_command_t | ip_source_and_port_range_check_command |
(constructor) VLIB_CLI_COMMAND (ip_source_and_port_range_check_command) More... | |
static vlib_cli_command_t | show_source_and_port_range_check |
(constructor) VLIB_CLI_COMMAND (show_source_and_port_range_check) More... | |
IPv4 Source and Port Range Checking.
This file contains the source code for IPv4 source and port range checking.
Definition in file ip4_source_and_port_range_check.c.
#define foreach_ip4_source_and_port_range_check_error |
Definition at line 45 of file ip4_source_and_port_range_check.c.
Enumerator | |
---|---|
IP4_SOURCE_AND_PORT_RANGE_CHECK_N_ERROR |
Definition at line 49 of file ip4_source_and_port_range_check.c.
Enumerator | |
---|---|
IP4_SOURCE_AND_PORT_RANGE_CHECK_NEXT_DROP | |
IP4_SOURCE_AND_PORT_RANGE_CHECK_N_NEXT |
Definition at line 91 of file ip4_source_and_port_range_check.c.
|
static |
Definition at line 917 of file ip4_source_and_port_range_check.c.
|
inlinestatic |
Definition at line 99 of file ip4_source_and_port_range_check.c.
Definition at line 74 of file ip4_source_and_port_range_check.c.
Definition at line 827 of file ip4_source_and_port_range_check.c.
int ip4_source_and_port_range_check_add_del | ( | ip4_address_t * | address, |
u32 | length, | ||
u32 | vrf_id, | ||
u16 * | low_ports, | ||
u16 * | high_ports, | ||
int | is_add | ||
) |
Definition at line 1143 of file ip4_source_and_port_range_check.c.
clib_error_t* ip4_source_and_port_range_check_init | ( | vlib_main_t * | vm | ) |
Definition at line 888 of file ip4_source_and_port_range_check.c.
|
inlinestatic |
Definition at line 155 of file ip4_source_and_port_range_check.c.
|
static |
Definition at line 563 of file ip4_source_and_port_range_check.c.
|
static |
Definition at line 572 of file ip4_source_and_port_range_check.c.
int ip6_source_and_port_range_check_add_del | ( | ip6_address_t * | address, |
u32 | length, | ||
u32 | vrf_id, | ||
u16 * | low_ports, | ||
u16 * | high_ports, | ||
int | is_add | ||
) |
Definition at line 1125 of file ip4_source_and_port_range_check.c.
|
static |
Definition at line 1169 of file ip4_source_and_port_range_check.c.
|
static |
Definition at line 863 of file ip4_source_and_port_range_check.c.
|
static |
Definition at line 868 of file ip4_source_and_port_range_check.c.
protocol_port_range_dpo_t* protocol_port_range_dpo_alloc | ( | void | ) |
Definition at line 903 of file ip4_source_and_port_range_check.c.
|
inlinestatic |
Definition at line 149 of file ip4_source_and_port_range_check.c.
|
static |
Definition at line 1021 of file ip4_source_and_port_range_check.c.
int set_ip_source_and_port_range_check | ( | vlib_main_t * | vm, |
u32 * | fib_index, | ||
u32 | sw_if_index, | ||
u32 | is_add | ||
) |
Definition at line 624 of file ip4_source_and_port_range_check.c.
|
static |
Definition at line 660 of file ip4_source_and_port_range_check.c.
|
static |
Definition at line 1296 of file ip4_source_and_port_range_check.c.
|
static |
Definition at line 57 of file ip4_source_and_port_range_check.c.
vlib_node_registration_t ip4_source_port_and_range_check_rx |
(constructor) VLIB_REGISTER_NODE (ip4_source_port_and_range_check_rx)
Definition at line 42 of file ip4_source_and_port_range_check.c.
vlib_node_registration_t ip4_source_port_and_range_check_tx |
(constructor) VLIB_REGISTER_NODE (ip4_source_port_and_range_check_tx)
Definition at line 43 of file ip4_source_and_port_range_check.c.
|
static |
(constructor) VLIB_CLI_COMMAND (ip_source_and_port_range_check_command)
Definition at line 1286 of file ip4_source_and_port_range_check.c.
|
static |
The pool of range chack DPOs.
Definition at line 35 of file ip4_source_and_port_range_check.c.
|
static |
Dynamically registered DPO type.
Definition at line 40 of file ip4_source_and_port_range_check.c.
|
static |
Definition at line 878 of file ip4_source_and_port_range_check.c.
|
static |
Definition at line 883 of file ip4_source_and_port_range_check.c.
|
static |
Definition at line 872 of file ip4_source_and_port_range_check.c.
|
static |
(constructor) VLIB_CLI_COMMAND (set_interface_ip_source_and_port_range_check_command)
Definition at line 819 of file ip4_source_and_port_range_check.c.
|
static |
(constructor) VLIB_CLI_COMMAND (show_source_and_port_range_check)
Definition at line 1412 of file ip4_source_and_port_range_check.c.
source_range_check_main_t source_range_check_main |
Definition at line 21 of file ip4_source_and_port_range_check.c.