FD.io VPP
v17.10-9-gd594711
Vector Packet Processing
|
IPv4 Unicast Source Check. More...
Go to the source code of this file.
Data Structures | |
struct | ip4_source_check_trace_t |
union | ip4_source_check_config_t |
Functions | |
static u8 * | format_ip4_source_check_trace (u8 *s, va_list *va) |
static uword | ip4_source_check_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, ip4_source_check_type_t source_check_type) |
static uword | ip4_source_check_reachable_via_any (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
static uword | ip4_source_check_reachable_via_rx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
VLIB_NODE_FUNCTION_MULTIARCH (ip4_check_source_reachable_via_any, ip4_source_check_reachable_via_any) | |
VLIB_NODE_FUNCTION_MULTIARCH (ip4_check_source_reachable_via_rx, ip4_source_check_reachable_via_rx) | |
static clib_error_t * | set_ip_source_check (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
static clib_error_t * | ip_source_check_accept (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
clib_error_t * | ip4_source_check_init (vlib_main_t *vm) |
Variables | |
vlib_node_registration_t | ip4_check_source_reachable_via_any |
(constructor) VLIB_REGISTER_NODE (ip4_check_source_reachable_via_any) More... | |
vlib_node_registration_t | ip4_check_source_reachable_via_rx |
(constructor) VLIB_REGISTER_NODE (ip4_check_source_reachable_via_rx) More... | |
static vlib_cli_command_t | set_interface_ip_source_check_command |
(constructor) VLIB_CLI_COMMAND (set_interface_ip_source_check_command) More... | |
static vlib_cli_command_t | ip_source_check_accept_command |
(constructor) VLIB_CLI_COMMAND (ip_source_check_accept_command) More... | |
IPv4 Unicast Source Check.
This file contains the IPv4 interface unicast source check.
Definition in file ip4_source_check.c.
Enumerator | |
---|---|
IP4_SOURCE_CHECK_NEXT_DROP | |
IP4_SOURCE_CHECK_N_NEXT |
Definition at line 72 of file ip4_source_check.c.
Enumerator | |
---|---|
IP4_SOURCE_CHECK_REACHABLE_VIA_RX | |
IP4_SOURCE_CHECK_REACHABLE_VIA_ANY |
Definition at line 78 of file ip4_source_check.c.
clib_error_t* ip4_source_check_init | ( | vlib_main_t * | vm | ) |
|
inlinestatic |
Definition at line 90 of file ip4_source_check.c.
|
static |
|
static |
|
static |
|
static |
VLIB_NODE_FUNCTION_MULTIARCH | ( | ip4_check_source_reachable_via_any | , |
ip4_source_check_reachable_via_any | |||
) |
VLIB_NODE_FUNCTION_MULTIARCH | ( | ip4_check_source_reachable_via_rx | , |
ip4_source_check_reachable_via_rx | |||
) |
vlib_node_registration_t ip4_check_source_reachable_via_any |
(constructor) VLIB_REGISTER_NODE (ip4_check_source_reachable_via_any)
Definition at line 305 of file ip4_source_check.c.
vlib_node_registration_t ip4_check_source_reachable_via_rx |
(constructor) VLIB_REGISTER_NODE (ip4_check_source_reachable_via_rx)
Definition at line 324 of file ip4_source_check.c.
|
static |
(constructor) VLIB_CLI_COMMAND (ip_source_check_accept_command)
Definition at line 539 of file ip4_source_check.c.
|
static |
(constructor) VLIB_CLI_COMMAND (set_interface_ip_source_check_command)
Definition at line 450 of file ip4_source_check.c.