FD.io VPP
v16.09
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | pptp_ctrl_msg_ctrs_t |
struct | pptp_counters_t |
struct | cnat_pptp_config_t |
struct | pptp_show_counters_resp_t |
Typedefs | |
typedef struct _spp_api_cnat_v4_single_vrf_map_req | spp_api_cnat_v4_single_vrf_map_req |
typedef struct _spp_api_cnat_v4_single_vrf_map_rc | spp_api_cnat_v4_single_vrf_map_rc |
typedef struct _spp_api_cnat_v4_bulk_vrf_map_resp | spp_api_cnat_v4_bulk_vrf_map_resp |
typedef struct _spp_api_cnat_v4_bulk_policy_knob_resp | spp_api_cnat_v4_bulk_policy_knob_resp |
typedef struct pptp_ctrl_msg_ctrs_t | pptp_ctrl_msg_ctrs_t |
typedef struct pptp_counters_t | pptp_counters_t |
typedef struct cnat_pptp_config_t | cnat_pptp_config_t |
typedef struct _spp_api_cnat_v4_config_pptp_alg_resp | spp_api_cnat_v4_config_pptp_alg_resp_t |
typedef struct _spp_api_cnat_v4_single_xlat_config_req | spp_api_cnat_v4_single_xlat_config_req |
typedef struct _spp_api_cnat_v4_single_xlat_config_resp | spp_api_cnat_v4_single_xlat_config_resp |
typedef struct _spp_api_cnat_v4_bulk_xlat_config_resp | spp_api_cnat_v4_bulk_xlat_config_resp |
typedef struct _spp_api_v6rd_v4_single_v6rd_config_resp | spp_api_v6rd_v4_single_v6rd_config_resp_t |
typedef struct _spp_api_v6rd_v4_bulk_v6rd_config_resp | spp_api_v6rd_v4_bulk_v6rd_config_resp_t |
typedef struct _spp_api_mape_single_config_req | spp_api_mape_single_config_req |
typedef struct _spp_api_mape_single_config_resp | spp_api_mape_single_config_resp |
typedef struct _spp_api_mape_bulk_config_resp | spp_api_mape_bulk_config_resp |
Enumerations | |
enum | log_format_t { LOG_FORMAT_UNDEFINED =0, LOG_FORMAT_COMPACT, LOG_FORMAT_NF9, LOG_FORMAT_MAX } |
enum | cnat_op_flag_t { CNAT_CONFIG_DEL_OP = 0, CNAT_CONFIG_ADD_OP } |
#define BIDIR_REFRESH_DISABLE 0x02 |
Definition at line 129 of file cnat_config.h.
#define BIDIR_REFRESH_ENABLE 0x01 |
Definition at line 128 of file cnat_config.h.
#define BULK_ALLOC_CHANGE 0x0040 |
Definition at line 161 of file cnat_config.h.
#define CNAT_DEF_STATIC_PORT_RANGE 1024 /* Default range for static ports */ |
Definition at line 49 of file cnat_config.h.
#define CNAT_IPV4_FRAG_TIMEOUT_DEF 2 |
Definition at line 58 of file cnat_config.h.
#define CNAT_PPTP_DEF_TIMEOUT 60 /* secs */ |
Definition at line 256 of file cnat_config.h.
#define CNAT_PPTP_ENABLE 1 |
Definition at line 255 of file cnat_config.h.
#define CNAT_PPTP_ENABLE_FLAG 0x01 |
Definition at line 266 of file cnat_config.h.
#define CNAT_PPTP_TIMEOUT_FLAG 0x02 |
Definition at line 267 of file cnat_config.h.
#define CONSECUTIVE_PORTS_CONFIG 0x10000 /* for map-t */ |
Definition at line 342 of file cnat_config.h.
#define CPE_V4_PREFIX_CONFIG 0x1000 /* for map-t */ |
Definition at line 338 of file cnat_config.h.
#define CPE_V6_PREFIX_CONFIG 0x2000 /* for map-t */ |
Definition at line 339 of file cnat_config.h.
#define DEF_RATE_LIMIT PLATFORM_MAX_CORES /* No of packets/sec icmp generated */ |
Definition at line 36 of file cnat_config.h.
#define DEF_RATE_LIMIT_CORE 1 /* No of packets/sec icmp generated (per core) */ |
Definition at line 37 of file cnat_config.h.
#define DEFAULT_NFV9_LOGGING_SERVER_DISABLE 0x20 |
Definition at line 133 of file cnat_config.h.
#define DEFAULT_NFV9_LOGGING_SERVER_ENABLE 0x10 |
Definition at line 132 of file cnat_config.h.
#define DSLITE_START_ID (NAT44_RESERVED_INST_ID + 1) |
Definition at line 41 of file cnat_config.h.
#define EXTERNAL_V6_PREFIX_CONFIG 0x4000 /* for map-t */ |
Definition at line 340 of file cnat_config.h.
#define FTP_ALG_DISABLE 0x08 |
Definition at line 131 of file cnat_config.h.
#define FTP_ALG_ENABLE 0x04 |
Definition at line 130 of file cnat_config.h.
#define ICMP_MSG_RATE_LIMIT 3 /* rate limit for icmp message */ |
Definition at line 65 of file cnat_config.h.
#define ICMPV6_MTU_SET 0x04 |
Definition at line 373 of file cnat_config.h.
#define ICMPV6_PTB_MTU_SET_CONFIG 0x0400 |
Definition at line 336 of file cnat_config.h.
#define IPV4_DF_BIT_CLEAR 0x02 |
Definition at line 372 of file cnat_config.h.
#define IPV4_DFBIT_CLEAR_CONFIG 0x0200 |
Definition at line 335 of file cnat_config.h.
#define IPV4_PREFIXMASK_LEN_CONFIG 0x10 |
Definition at line 297 of file cnat_config.h.
#define IPV4_SUFFIXMASK_LEN_CONFIG 0x20 |
Definition at line 298 of file cnat_config.h.
#define IPV4_SVI_IF_NUM_CONFIG 0x0002 |
Definition at line 327 of file cnat_config.h.
#define IPV4_TO_IPV6_TCP_MSS_CONFIG 0x0004 |
Definition at line 328 of file cnat_config.h.
#define IPV4_TOS_SET_ENABLED 0x08 |
Definition at line 374 of file cnat_config.h.
#define IPV4_TOS_SETTING_CONFIG 0x0080 |
Definition at line 333 of file cnat_config.h.
#define IPV4_TUNNEL_SRC_CONFIG 0x04 |
Definition at line 295 of file cnat_config.h.
#define IPV6_NON_TRANSLATABLE_PREFIX_MAP_ALG_CONFIG 0x0800 |
Definition at line 337 of file cnat_config.h.
#define IPV6_NON_TRANSLATABLE_PREFIX_MAP_ALG_HASH 0x1 |
Definition at line 381 of file cnat_config.h.
#define IPV6_NON_TRANSLATABLE_PREFIX_MAP_ALG_RANDOM 0x3 |
Definition at line 383 of file cnat_config.h.
#define IPV6_NON_TRANSLATABLE_PREFIX_MAP_ALG_TTL 0x2 |
Definition at line 382 of file cnat_config.h.
#define IPV6_NON_TRANSLATABLE_PREFIX_MAP_CONFIG 0x0040 |
Definition at line 332 of file cnat_config.h.
#define IPV6_PREFIX_CONFIG 0x0010 |
Definition at line 330 of file cnat_config.h.
#define IPV6_SVI_IF_NUM_CONFIG 0x0001 |
Definition at line 326 of file cnat_config.h.
#define IPV6_TC_SET_ENABLED 0x10 |
Definition at line 375 of file cnat_config.h.
#define IPV6_TO_IPV4_TCP_MSS_CONFIG 0x0008 |
Definition at line 329 of file cnat_config.h.
#define IPV6_TOS_SETTING_CONFIG 0x0100 |
Definition at line 334 of file cnat_config.h.
#define IPV6_UBIT_ON_CONFIG 0x0020 |
Definition at line 331 of file cnat_config.h.
#define MAPE_CONSECUTIVE_PORTS_CONFIG 0x0080 |
Definition at line 502 of file cnat_config.h.
#define MAPE_CPE_V4_PREFIX_CONFIG 0x0010 |
Definition at line 499 of file cnat_config.h.
#define MAPE_CPE_V6_PREFIX_CONFIG 0x0020 |
Definition at line 500 of file cnat_config.h.
#define MAPE_ENTRY_DELETE 0x0000 |
Definition at line 494 of file cnat_config.h.
#define MAPE_IPV4_SVI_IF_NUM_CONFIG 0x0001 |
Definition at line 495 of file cnat_config.h.
#define MAPE_IPV4_TO_IPV6_TCP_MSS_CONFIG 0x0004 |
Definition at line 497 of file cnat_config.h.
#define MAPE_IPV6_SVI_IF_NUM_CONFIG 0x0002 |
Definition at line 496 of file cnat_config.h.
#define MAPE_IPV6_TO_IPV4_TCP_MSS_CONFIG 0x0008 |
Definition at line 498 of file cnat_config.h.
#define MAPE_PATH_MTU 0x0100 |
Definition at line 503 of file cnat_config.h.
#define MAPE_PORT_SHARING_RATIO_CONFIG 0x0040 |
Definition at line 501 of file cnat_config.h.
#define MAPE_TUNNEL_ENDPOINT_V6_CONFIG 0x0200 |
Definition at line 504 of file cnat_config.h.
#define MAX_DB_ENTRY_PER_SCAN PLATFORM_MAX_DB_ENTRY_PER_SCAN |
Definition at line 61 of file cnat_config.h.
#define MAX_DB_ENTRY_SELECTED_PER_SCAN PLATFORM_MAX_DB_ENTRY_SELECTED_PER_SCAN |
Definition at line 63 of file cnat_config.h.
#define NAT44_RESERVED_INST_ID 1 |
Definition at line 40 of file cnat_config.h.
#define NFV9_LOGGING_DISABLE 0x0008 |
Definition at line 158 of file cnat_config.h.
#define NFV9_LOGGING_ENABLE 0x0004 |
Definition at line 157 of file cnat_config.h.
#define PORT_SHARING_RATIO_CONFIG 0x8000 /* for map-t */ |
Definition at line 341 of file cnat_config.h.
#define PPTP_DECR | ( | ctr | ) | pptp_cfg.counters.pptp_##ctr-- |
Definition at line 240 of file cnat_config.h.
#define PPTP_INCR | ( | ctr | ) | pptp_cfg.counters.pptp_##ctr++ |
Definition at line 239 of file cnat_config.h.
#define RATE_LIMIT_UDP_CORE 1000 /* Max allowed udp crc zero packets/sec/core */ |
Definition at line 38 of file cnat_config.h.
#define REASSEMBLY_ENABLE 0x8 |
Definition at line 309 of file cnat_config.h.
#define RESET_DF_BIT 0x4 |
Definition at line 308 of file cnat_config.h.
#define TCP_MSS_DISABLE 0x0002 |
Definition at line 156 of file cnat_config.h.
#define TCP_MSS_ENABLE 0x0001 |
Definition at line 155 of file cnat_config.h.
#define TOS_CONFIG 0x80 |
Definition at line 300 of file cnat_config.h.
#define TOS_ENABLE 0x2 |
Definition at line 307 of file cnat_config.h.
#define TTL_CONFIG 0x40 |
Definition at line 299 of file cnat_config.h.
#define TTL_ENABLE 0x1 |
Definition at line 306 of file cnat_config.h.
#define TUNNEL_MTU_CONFIG 0x08 |
Definition at line 296 of file cnat_config.h.
#define UBITS_ON 0x01 |
Definition at line 371 of file cnat_config.h.
#define V4_CONFIG_DELETE_TO 600 /* timeout for entry to be deleted */ |
Definition at line 66 of file cnat_config.h.
#define V4_DEF_DISABLE 0 /* feature disable */ |
Definition at line 47 of file cnat_config.h.
#define V4_DEF_ENABLE 1 /* feature enable */ |
Definition at line 46 of file cnat_config.h.
#define V4_DEF_ICMP_S_TO 60 /*icmp session timeout */ |
Definition at line 29 of file cnat_config.h.
#define V4_DEF_MAX_PORTS 100 /*max port limit per user */ |
Definition at line 35 of file cnat_config.h.
#define V4_DEF_TCP_AS_TO 1800 /*tcp active session timeout, 30 min */ |
Definition at line 33 of file cnat_config.h.
#define V4_DEF_TCP_IS_TO 120 /*tcp init session timeout */ |
Definition at line 32 of file cnat_config.h.
#define V4_DEF_TCP_MSS 1460 /*tcp mss */ |
Definition at line 34 of file cnat_config.h.
#define V4_DEF_UDP_AS_TO 120 /*udp active session timeout */ |
Definition at line 31 of file cnat_config.h.
#define V4_DEF_UDP_IS_TO 30 /*udp init session timeout */ |
Definition at line 30 of file cnat_config.h.
#define V4_DEF_VRF_MAX_PORTS |
Definition at line 42 of file cnat_config.h.
#define V4_TCP_MSS_NOT_CONFIGURED_VALUE 0xffff |
Definition at line 53 of file cnat_config.h.
#define V6RD_ENTRY_DELETE 0x00 |
Definition at line 294 of file cnat_config.h.
#define V6RD_IPV6_PREFIX_CONFIG 0x100 |
Definition at line 301 of file cnat_config.h.
#define V6RD_REASSEMB_CONFIG 0x800 |
Definition at line 304 of file cnat_config.h.
#define V6RD_RESET_DF_BIT_CONFIG 0x200 |
Definition at line 302 of file cnat_config.h.
#define V6RD_UNICAST_ADDR_CONFIG 0x400 |
Definition at line 303 of file cnat_config.h.
#define VRF_MAP_ADD 0x0020 |
Definition at line 160 of file cnat_config.h.
#define VRF_MAP_DELETE 0x0010 |
Definition at line 159 of file cnat_config.h.
#define XLAT_ENTRY_DELETE 0x0000 |
Definition at line 325 of file cnat_config.h.
typedef struct cnat_pptp_config_t cnat_pptp_config_t |
typedef struct pptp_counters_t pptp_counters_t |
typedef struct pptp_ctrl_msg_ctrs_t pptp_ctrl_msg_ctrs_t |
typedef struct _spp_api_cnat_v4_bulk_policy_knob_resp spp_api_cnat_v4_bulk_policy_knob_resp |
typedef struct _spp_api_cnat_v4_bulk_vrf_map_resp spp_api_cnat_v4_bulk_vrf_map_resp |
typedef struct _spp_api_cnat_v4_bulk_xlat_config_resp spp_api_cnat_v4_bulk_xlat_config_resp |
typedef struct _spp_api_cnat_v4_config_pptp_alg_resp spp_api_cnat_v4_config_pptp_alg_resp_t |
typedef struct _spp_api_cnat_v4_single_vrf_map_rc spp_api_cnat_v4_single_vrf_map_rc |
typedef struct _spp_api_cnat_v4_single_vrf_map_req spp_api_cnat_v4_single_vrf_map_req |
typedef struct _spp_api_cnat_v4_single_xlat_config_req spp_api_cnat_v4_single_xlat_config_req |
typedef struct _spp_api_cnat_v4_single_xlat_config_resp spp_api_cnat_v4_single_xlat_config_resp |
typedef struct _spp_api_mape_bulk_config_resp spp_api_mape_bulk_config_resp |
typedef struct _spp_api_mape_single_config_req spp_api_mape_single_config_req |
typedef struct _spp_api_mape_single_config_resp spp_api_mape_single_config_resp |
typedef struct _spp_api_v6rd_v4_bulk_v6rd_config_resp spp_api_v6rd_v4_bulk_v6rd_config_resp_t |
typedef struct _spp_api_v6rd_v4_single_v6rd_config_resp spp_api_v6rd_v4_single_v6rd_config_resp_t |
enum cnat_op_flag_t |
Enumerator | |
---|---|
CNAT_CONFIG_DEL_OP | |
CNAT_CONFIG_ADD_OP |
Definition at line 99 of file cnat_config.h.
enum log_format_t |
Enumerator | |
---|---|
LOG_FORMAT_UNDEFINED | |
LOG_FORMAT_COMPACT | |
LOG_FORMAT_NF9 | |
LOG_FORMAT_MAX |
Definition at line 92 of file cnat_config.h.
u8 address_dependent_filtering |
Definition at line 72 of file cnat_config.c.
u32 cnat_main_db_icmp_rate_limit |
Definition at line 50 of file cnat_config.c.
u32 cnat_main_db_icmp_rate_limit_core |
Definition at line 51 of file cnat_config.c.
u16 cnat_main_db_max_ports_per_user |
Definition at line 48 of file cnat_config.c.
u16 cnat_static_port_range |
Definition at line 53 of file cnat_config.c.
u16 config_delete_timeout |
Definition at line 76 of file cnat_config.c.
u32 crc_zero_udp_rate_limit_core |
Definition at line 52 of file cnat_config.c.
u8 ftp_alg_enabled |
Definition at line 59 of file cnat_config.c.
u16 icmp_session_timeout |
Definition at line 30 of file cnat_config.c.
u8 lb_debug_enable |
Definition at line 65 of file cnat_config.c.
u8 mapping_refresh_both_direction |
Definition at line 46 of file cnat_config.c.
u16 per_user_icmp_msg_limit |
Definition at line 74 of file cnat_config.c.
cnat_pptp_config_t pptp_cfg |
Definition at line 32 of file cnat_config.c.
u16 rtsp_alg_port_num |
Definition at line 60 of file cnat_config.c.
u16 tcp_active_timeout |
Definition at line 27 of file cnat_config.c.
u16 tcp_initial_setup_timeout |
Definition at line 26 of file cnat_config.c.
u8 timeout_dirty_flag |
Definition at line 41 of file cnat_config.c.
u16 udp_act_session_timeout |
Definition at line 29 of file cnat_config.c.
u16 udp_init_session_timeout |
Definition at line 28 of file cnat_config.c.