FD.io VPP
v16.09
Vector Packet Processing
|
Go to the source code of this file.
Functions | |
void | cnat_nat44_add_vrf_map_t_handler (spp_api_cnat_v4_add_vrf_map_t *mp, vlib_main_t *vm) |
void | cnat_nat44_handle_show_stats (vlib_main_t *vm) |
void | cnat_nat44_handle_show_config (vlib_main_t *vm) |
void | cnat_nat44_set_protocol_timeout_value (u16 active, u16 init, u8 *proto, u8 reset, vlib_main_t *vm) |
void | cnat_v4_show_inside_entry_req_t_handler (spp_api_cnat_v4_show_inside_entry_req_t *mp, vlib_main_t *vm) |
#define ADDR_MASK_PER_CORE PLATFORM_ADDR_MASK_PER_CORE |
Definition at line 112 of file cnat_cli.h.
#define ADDR_MASK_PER_CORE_PER_PARTITION PLATFORM_ADDR_MASK_PER_CORE_PER_PARTITION |
Definition at line 113 of file cnat_cli.h.
#define BOUNDARY_VALUE 256 |
Definition at line 126 of file cnat_cli.h.
#define BOUNDARY_VALUE_MASK 0xff |
Definition at line 128 of file cnat_cli.h.
#define CNAT_DB_CLEAR_ADDR (1 << 2) |
Definition at line 105 of file cnat_cli.h.
#define CNAT_DB_CLEAR_ALL (1 << 0) |
Definition at line 103 of file cnat_cli.h.
#define CNAT_DB_CLEAR_PORT (1 << 4) |
Definition at line 107 of file cnat_cli.h.
#define CNAT_DB_CLEAR_PROTO (1 << 3) |
Definition at line 106 of file cnat_cli.h.
#define CNAT_DB_CLEAR_SPECIFIC (0) |
Definition at line 102 of file cnat_cli.h.
#define CNAT_DB_CLEAR_VRF (1 << 1) |
Definition at line 104 of file cnat_cli.h.
#define CNAT_DEBUG_ALL 0x1FF /*all of above*/ |
Definition at line 99 of file cnat_cli.h.
#define CNAT_DEBUG_DROP_ICMP (1 << 2) |
Definition at line 89 of file cnat_cli.h.
#define CNAT_DEBUG_DROP_TCP (1 << 0) |
Definition at line 87 of file cnat_cli.h.
#define CNAT_DEBUG_DROP_UDP (1 << 1) |
Definition at line 88 of file cnat_cli.h.
#define CNAT_DEBUG_ERR_ALG (1 << 6) |
Definition at line 93 of file cnat_cli.h.
#define CNAT_DEBUG_ERR_ALL 0x38 |
Definition at line 100 of file cnat_cli.h.
#define CNAT_DEBUG_ERR_ICMP (1 << 5) |
Definition at line 92 of file cnat_cli.h.
#define CNAT_DEBUG_ERR_TCP (1 << 3) |
Definition at line 90 of file cnat_cli.h.
#define CNAT_DEBUG_ERR_UDP (1 << 4) |
Definition at line 91 of file cnat_cli.h.
#define CNAT_DEBUG_FTP_ALG (1 << 8) |
Definition at line 95 of file cnat_cli.h.
#define CNAT_DEBUG_GLOBAL_ALL (1 << 7) |
Definition at line 94 of file cnat_cli.h.
#define CNAT_DEBUG_GLOBAL_ERR (1 << 0) |
Definition at line 86 of file cnat_cli.h.
#define CNAT_DEBUG_NONE (0) |
Definition at line 85 of file cnat_cli.h.
#define CNAT_FALSE 0 |
Definition at line 82 of file cnat_cli.h.
#define CNAT_MAX_ADDR_POOL_SIZE PLATFORM_CNAT_MAX_ADDR_POOL_SIZE |
Definition at line 122 of file cnat_cli.h.
#define CNAT_MAX_ADDR_POOL_SIZE_PER_CORE (CNAT_MAX_ADDR_POOL_SIZE / MAX_CORES_PER_PARTITION) |
Definition at line 123 of file cnat_cli.h.
#define CNAT_TRUE 1 |
Definition at line 81 of file cnat_cli.h.
#define MAX_CORES PLATFORM_MAX_CORES |
Definition at line 116 of file cnat_cli.h.
#define MAX_CORES_PER_PARTITION PLATFORM_MAX_CORES_PER_PARTITION |
Definition at line 117 of file cnat_cli.h.
#define MAX_UIDX 0x3fff /*the max svi app uidb index */ |
Definition at line 110 of file cnat_cli.h.
#define MIN_NFV9_PATH_MTU 100 |
Definition at line 168 of file cnat_cli.h.
#define NUM_ADDR_IN_RANGE | ( | range, | |
value, | |||
instance | |||
) | ((range / value) + ((instance % MAX_CORES_PER_PARTITION) < (range%value) ? 1 : 0)) |
Definition at line 130 of file cnat_cli.h.
Definition at line 133 of file cnat_cli.h.
enum cnat_errno_t |
Definition at line 26 of file cnat_cli.h.
void cnat_nat44_add_vrf_map_t_handler | ( | spp_api_cnat_v4_add_vrf_map_t * | mp, |
vlib_main_t * | vm | ||
) |
Definition at line 157 of file cnat_cli_handler.c.
void cnat_nat44_handle_show_config | ( | vlib_main_t * | vm | ) |
Definition at line 318 of file cnat_cli_handler.c.
void cnat_nat44_handle_show_stats | ( | vlib_main_t * | vm | ) |
Definition at line 264 of file cnat_cli_handler.c.
void cnat_nat44_set_protocol_timeout_value | ( | u16 | active, |
u16 | init, | ||
u8 * | proto, | ||
u8 | reset, | ||
vlib_main_t * | vm | ||
) |
Definition at line 240 of file cnat_cli_handler.c.
void cnat_v4_show_inside_entry_req_t_handler | ( | spp_api_cnat_v4_show_inside_entry_req_t * | mp, |
vlib_main_t * | vm | ||
) |
Definition at line 489 of file cnat_cli_handler.c.
u32 config_debug_level |
Definition at line 54 of file cnat_debug_msg_handler.c.
u32 debug_i_addr_end |
Definition at line 29 of file cnat_debug_msg_handler.c.
u32 debug_i_addr_start |
Definition at line 28 of file cnat_debug_msg_handler.c.
u32 debug_i_flag |
Definition at line 27 of file cnat_debug_msg_handler.c.
u16 debug_i_vrf |
Definition at line 26 of file cnat_debug_msg_handler.c.
u32 debug_o_addr_end |
Definition at line 34 of file cnat_debug_msg_handler.c.
u32 debug_o_addr_start |
Definition at line 33 of file cnat_debug_msg_handler.c.
u32 debug_o_flag |
Definition at line 32 of file cnat_debug_msg_handler.c.
u16 debug_o_vrf |
Definition at line 31 of file cnat_debug_msg_handler.c.
u32 frag_debug_flag |
Definition at line 44 of file cnat_debug_msg_handler.c.
u32 global_debug_flag |
Definition at line 25 of file cnat_debug_msg_handler.c.
u32 icmp_debug_flag |
Definition at line 43 of file cnat_debug_msg_handler.c.
u32 nfv9_logging_debug_flag |
Definition at line 46 of file cnat_debug_msg_handler.c.
u32 show_debug_level |
Definition at line 44 of file cnat_cli_handler.c.
u32 summary_stats_debug_flag |
Definition at line 49 of file cnat_debug_msg_handler.c.
u32 tcp_logging_enable_flag |
Definition at line 41 of file cnat_debug_msg_handler.c.
u32 udp_inside_checksum_disable |
Definition at line 36 of file cnat_debug_msg_handler.c.
u32 udp_inside_packet_dump_enable |
Definition at line 38 of file cnat_debug_msg_handler.c.
u32 udp_outside_checksum_disable |
Definition at line 37 of file cnat_debug_msg_handler.c.
u32 udp_outside_packet_dump_enable |
Definition at line 39 of file cnat_debug_msg_handler.c.