FD.io VPP  v18.01-8-g0eacf49
Vector Packet Processing
snat_main_s Struct Reference
+ Collaboration diagram for snat_main_s:

Data Fields

clib_bihash_16_8_t out2in_ed
 
clib_bihash_16_8_t in2out_ed
 
snat_icmp_match_function_ticmp_match_in2out_cb
 
snat_icmp_match_function_ticmp_match_out2in_cb
 
u32 num_workers
 
u32 first_worker_index
 
u32 next_worker
 
u32workers
 
snat_get_worker_function_tworker_in2out_cb
 
snat_get_worker_function_tworker_out2in_cb
 
u16 port_per_thread
 
u32 num_snat_thread
 
snat_main_per_thread_data_tper_thread_data
 
clib_bihash_8_8_t static_mapping_by_local
 
clib_bihash_8_8_t static_mapping_by_external
 
snat_static_mapping_tstatic_mappings
 
snat_interface_tinterfaces
 
snat_interface_toutput_feature_interfaces
 
snat_address_taddresses
 
nat_alloc_out_addr_and_port_function_talloc_addr_and_port
 
u8 psid_offset
 
u8 psid_length
 
u16 psid
 
snat_address_ttwice_nat_addresses
 
u32auto_add_sw_if_indices
 
u32auto_add_sw_if_indices_twice_nat
 
snat_static_map_resolve_tto_resolve
 
u32 random_seed
 
u32 fq_in2out_index
 
u32 fq_in2out_output_index
 
u32 fq_out2in_index
 
u32 in2out_node_index
 
u32 in2out_output_node_index
 
u32 out2in_node_index
 
snat_det_map_tdet_maps
 
u8 forwarding_enabled
 
u8 static_mapping_only
 
u8 static_mapping_connection_tracking
 
u8 deterministic
 
u32 translation_buckets
 
u32 translation_memory_size
 
u32 max_translations
 
u32 user_buckets
 
u32 user_memory_size
 
u32 max_translations_per_user
 
u32 outside_vrf_id
 
u32 outside_fib_index
 
u32 inside_vrf_id
 
u32 inside_fib_index
 
u32 udp_timeout
 
u32 tcp_established_timeout
 
u32 tcp_transitory_timeout
 
u32 icmp_timeout
 
u16 msg_id_base
 
vlib_main_tvlib_main
 
vnet_main_tvnet_main
 
ip4_main_tip4_main
 
ip_lookup_main_tip4_lookup_main
 
api_main_tapi_main
 

Detailed Description

Definition at line 287 of file nat.h.

Field Documentation

snat_address_t* snat_main_s::addresses

Definition at line 321 of file nat.h.

nat_alloc_out_addr_and_port_function_t* snat_main_s::alloc_addr_and_port

Definition at line 322 of file nat.h.

api_main_t* snat_main_s::api_main

Definition at line 385 of file nat.h.

u32* snat_main_s::auto_add_sw_if_indices

Definition at line 331 of file nat.h.

u32* snat_main_s::auto_add_sw_if_indices_twice_nat

Definition at line 332 of file nat.h.

snat_det_map_t* snat_main_s::det_maps

Definition at line 351 of file nat.h.

u8 snat_main_s::deterministic

Definition at line 359 of file nat.h.

u32 snat_main_s::first_worker_index

Definition at line 296 of file nat.h.

u8 snat_main_s::forwarding_enabled

Definition at line 354 of file nat.h.

u32 snat_main_s::fq_in2out_index

Definition at line 341 of file nat.h.

u32 snat_main_s::fq_in2out_output_index

Definition at line 342 of file nat.h.

u32 snat_main_s::fq_out2in_index

Definition at line 343 of file nat.h.

snat_icmp_match_function_t* snat_main_s::icmp_match_in2out_cb

Definition at line 292 of file nat.h.

snat_icmp_match_function_t* snat_main_s::icmp_match_out2in_cb

Definition at line 293 of file nat.h.

u32 snat_main_s::icmp_timeout

Definition at line 375 of file nat.h.

clib_bihash_16_8_t snat_main_s::in2out_ed

Definition at line 290 of file nat.h.

u32 snat_main_s::in2out_node_index

Definition at line 346 of file nat.h.

u32 snat_main_s::in2out_output_node_index

Definition at line 347 of file nat.h.

u32 snat_main_s::inside_fib_index

Definition at line 369 of file nat.h.

u32 snat_main_s::inside_vrf_id

Definition at line 368 of file nat.h.

snat_interface_t* snat_main_s::interfaces

Definition at line 317 of file nat.h.

ip_lookup_main_t* snat_main_s::ip4_lookup_main

Definition at line 384 of file nat.h.

ip4_main_t* snat_main_s::ip4_main

Definition at line 383 of file nat.h.

u32 snat_main_s::max_translations

Definition at line 362 of file nat.h.

u32 snat_main_s::max_translations_per_user

Definition at line 365 of file nat.h.

u16 snat_main_s::msg_id_base

Definition at line 378 of file nat.h.

u32 snat_main_s::next_worker

Definition at line 297 of file nat.h.

u32 snat_main_s::num_snat_thread

Definition at line 302 of file nat.h.

u32 snat_main_s::num_workers

Definition at line 295 of file nat.h.

clib_bihash_16_8_t snat_main_s::out2in_ed

Definition at line 289 of file nat.h.

u32 snat_main_s::out2in_node_index

Definition at line 348 of file nat.h.

snat_interface_t* snat_main_s::output_feature_interfaces

Definition at line 318 of file nat.h.

u32 snat_main_s::outside_fib_index

Definition at line 367 of file nat.h.

u32 snat_main_s::outside_vrf_id

Definition at line 366 of file nat.h.

snat_main_per_thread_data_t* snat_main_s::per_thread_data

Definition at line 305 of file nat.h.

u16 snat_main_s::port_per_thread

Definition at line 301 of file nat.h.

u16 snat_main_s::psid

Definition at line 325 of file nat.h.

u8 snat_main_s::psid_length

Definition at line 324 of file nat.h.

u8 snat_main_s::psid_offset

Definition at line 323 of file nat.h.

u32 snat_main_s::random_seed

Definition at line 338 of file nat.h.

clib_bihash_8_8_t snat_main_s::static_mapping_by_external

Definition at line 311 of file nat.h.

clib_bihash_8_8_t snat_main_s::static_mapping_by_local

Definition at line 308 of file nat.h.

u8 snat_main_s::static_mapping_connection_tracking

Definition at line 358 of file nat.h.

u8 snat_main_s::static_mapping_only

Definition at line 357 of file nat.h.

snat_static_mapping_t* snat_main_s::static_mappings

Definition at line 314 of file nat.h.

u32 snat_main_s::tcp_established_timeout

Definition at line 373 of file nat.h.

u32 snat_main_s::tcp_transitory_timeout

Definition at line 374 of file nat.h.

snat_static_map_resolve_t* snat_main_s::to_resolve

Definition at line 335 of file nat.h.

u32 snat_main_s::translation_buckets

Definition at line 360 of file nat.h.

u32 snat_main_s::translation_memory_size

Definition at line 361 of file nat.h.

snat_address_t* snat_main_s::twice_nat_addresses

Definition at line 328 of file nat.h.

u32 snat_main_s::udp_timeout

Definition at line 372 of file nat.h.

u32 snat_main_s::user_buckets

Definition at line 363 of file nat.h.

u32 snat_main_s::user_memory_size

Definition at line 364 of file nat.h.

vlib_main_t* snat_main_s::vlib_main

Definition at line 381 of file nat.h.

vnet_main_t* snat_main_s::vnet_main

Definition at line 382 of file nat.h.

snat_get_worker_function_t* snat_main_s::worker_in2out_cb

Definition at line 299 of file nat.h.

snat_get_worker_function_t* snat_main_s::worker_out2in_cb

Definition at line 300 of file nat.h.

u32* snat_main_s::workers

Definition at line 298 of file nat.h.


The documentation for this struct was generated from the following file: