FD.io VPP  v19.08.2-294-g37e99c22d
Vector Packet Processing
snat_main_s Struct Reference
+ Collaboration diagram for snat_main_s:

Data Fields

snat_icmp_match_function_ticmp_match_in2out_cb
 
snat_icmp_match_function_ticmp_match_out2in_cb
 
u32 num_workers
 
u32 first_worker_index
 
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
 
nat_addr_and_port_alloc_alg_t addr_and_port_alloc_alg
 
u8 psid_offset
 
u8 psid_length
 
u16 psid
 
u16 start_port
 
u16 end_port
 
nat_outside_fib_toutside_fibs
 
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 error_node_index
 
u32 handoff_out2in_index
 
u32 handoff_in2out_index
 
u32 handoff_in2out_output_index
 
u32 pre_out2in_node_index
 
u32 pre_in2out_node_index
 
u32 in2out_node_index
 
u32 in2out_output_node_index
 
u32 in2out_fast_node_index
 
u32 in2out_slowpath_node_index
 
u32 in2out_slowpath_output_node_index
 
u32 in2out_reass_node_index
 
u32 ed_in2out_node_index
 
u32 ed_in2out_slowpath_node_index
 
u32 ed_in2out_reass_node_index
 
u32 out2in_node_index
 
u32 out2in_fast_node_index
 
u32 out2in_reass_node_index
 
u32 ed_out2in_node_index
 
u32 ed_out2in_slowpath_node_index
 
u32 ed_out2in_reass_node_index
 
u32 det_in2out_node_index
 
u32 det_out2in_node_index
 
u32 hairpinning_node_index
 
u32 hairpin_dst_node_index
 
u32 hairpin_src_node_index
 
u32 ed_hairpinning_node_index
 
u32 ed_hairpin_dst_node_index
 
u32 ed_hairpin_src_node_index
 
snat_det_map_tdet_maps
 
u8 forwarding_enabled
 
u8 static_mapping_only
 
u8 static_mapping_connection_tracking
 
u8 deterministic
 
u8 out2in_dpo
 
u8 endpoint_dependent
 
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 mss_clamping
 
u16 mss_value_net
 
vlib_simple_counter_main_t total_users
 
vlib_simple_counter_main_t total_sessions
 
u16 msg_id_base
 
vlib_log_class_t log_class
 
u8 log_level
 
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 548 of file nat.h.

Field Documentation

◆ addr_and_port_alloc_alg

nat_addr_and_port_alloc_alg_t snat_main_s::addr_and_port_alloc_alg

Definition at line 584 of file nat.h.

◆ addresses

snat_address_t* snat_main_s::addresses

Definition at line 580 of file nat.h.

◆ alloc_addr_and_port

nat_alloc_out_addr_and_port_function_t* snat_main_s::alloc_addr_and_port

Definition at line 582 of file nat.h.

◆ api_main

api_main_t* snat_main_s::api_main

Definition at line 702 of file nat.h.

◆ auto_add_sw_if_indices

u32* snat_main_s::auto_add_sw_if_indices

Definition at line 600 of file nat.h.

◆ auto_add_sw_if_indices_twice_nat

u32* snat_main_s::auto_add_sw_if_indices_twice_nat

Definition at line 601 of file nat.h.

◆ det_in2out_node_index

u32 snat_main_s::det_in2out_node_index

Definition at line 641 of file nat.h.

◆ det_maps

snat_det_map_t* snat_main_s::det_maps

Definition at line 653 of file nat.h.

◆ det_out2in_node_index

u32 snat_main_s::det_out2in_node_index

Definition at line 642 of file nat.h.

◆ deterministic

u8 snat_main_s::deterministic

Definition at line 661 of file nat.h.

◆ ed_hairpin_dst_node_index

u32 snat_main_s::ed_hairpin_dst_node_index

Definition at line 648 of file nat.h.

◆ ed_hairpin_src_node_index

u32 snat_main_s::ed_hairpin_src_node_index

Definition at line 649 of file nat.h.

◆ ed_hairpinning_node_index

u32 snat_main_s::ed_hairpinning_node_index

Definition at line 647 of file nat.h.

◆ ed_in2out_node_index

u32 snat_main_s::ed_in2out_node_index

Definition at line 632 of file nat.h.

◆ ed_in2out_reass_node_index

u32 snat_main_s::ed_in2out_reass_node_index

Definition at line 634 of file nat.h.

◆ ed_in2out_slowpath_node_index

u32 snat_main_s::ed_in2out_slowpath_node_index

Definition at line 633 of file nat.h.

◆ ed_out2in_node_index

u32 snat_main_s::ed_out2in_node_index

Definition at line 638 of file nat.h.

◆ ed_out2in_reass_node_index

u32 snat_main_s::ed_out2in_reass_node_index

Definition at line 640 of file nat.h.

◆ ed_out2in_slowpath_node_index

u32 snat_main_s::ed_out2in_slowpath_node_index

Definition at line 639 of file nat.h.

◆ end_port

u16 snat_main_s::end_port

Definition at line 591 of file nat.h.

◆ endpoint_dependent

u8 snat_main_s::endpoint_dependent

Definition at line 663 of file nat.h.

◆ error_node_index

u32 snat_main_s::error_node_index

Definition at line 615 of file nat.h.

◆ first_worker_index

u32 snat_main_s::first_worker_index

Definition at line 556 of file nat.h.

◆ forwarding_enabled

u8 snat_main_s::forwarding_enabled

Definition at line 656 of file nat.h.

◆ fq_in2out_index

u32 snat_main_s::fq_in2out_index

Definition at line 610 of file nat.h.

◆ fq_in2out_output_index

u32 snat_main_s::fq_in2out_output_index

Definition at line 611 of file nat.h.

◆ fq_out2in_index

u32 snat_main_s::fq_out2in_index

Definition at line 612 of file nat.h.

◆ hairpin_dst_node_index

u32 snat_main_s::hairpin_dst_node_index

Definition at line 645 of file nat.h.

◆ hairpin_src_node_index

u32 snat_main_s::hairpin_src_node_index

Definition at line 646 of file nat.h.

◆ hairpinning_node_index

u32 snat_main_s::hairpinning_node_index

Definition at line 644 of file nat.h.

◆ handoff_in2out_index

u32 snat_main_s::handoff_in2out_index

Definition at line 619 of file nat.h.

◆ handoff_in2out_output_index

u32 snat_main_s::handoff_in2out_output_index

Definition at line 620 of file nat.h.

◆ handoff_out2in_index

u32 snat_main_s::handoff_out2in_index

Definition at line 618 of file nat.h.

◆ icmp_match_in2out_cb

snat_icmp_match_function_t* snat_main_s::icmp_match_in2out_cb

Definition at line 551 of file nat.h.

◆ icmp_match_out2in_cb

snat_icmp_match_function_t* snat_main_s::icmp_match_out2in_cb

Definition at line 552 of file nat.h.

◆ icmp_timeout

u32 snat_main_s::icmp_timeout

Definition at line 679 of file nat.h.

◆ in2out_fast_node_index

u32 snat_main_s::in2out_fast_node_index

Definition at line 628 of file nat.h.

◆ in2out_node_index

u32 snat_main_s::in2out_node_index

Definition at line 626 of file nat.h.

◆ in2out_output_node_index

u32 snat_main_s::in2out_output_node_index

Definition at line 627 of file nat.h.

◆ in2out_reass_node_index

u32 snat_main_s::in2out_reass_node_index

Definition at line 631 of file nat.h.

◆ in2out_slowpath_node_index

u32 snat_main_s::in2out_slowpath_node_index

Definition at line 629 of file nat.h.

◆ in2out_slowpath_output_node_index

u32 snat_main_s::in2out_slowpath_output_node_index

Definition at line 630 of file nat.h.

◆ inside_fib_index

u32 snat_main_s::inside_fib_index

Definition at line 673 of file nat.h.

◆ inside_vrf_id

u32 snat_main_s::inside_vrf_id

Definition at line 672 of file nat.h.

◆ interfaces

snat_interface_t* snat_main_s::interfaces

Definition at line 576 of file nat.h.

◆ ip4_lookup_main

ip_lookup_main_t* snat_main_s::ip4_lookup_main

Definition at line 701 of file nat.h.

◆ ip4_main

ip4_main_t* snat_main_s::ip4_main

Definition at line 700 of file nat.h.

◆ log_class

vlib_log_class_t snat_main_s::log_class

Definition at line 693 of file nat.h.

◆ log_level

u8 snat_main_s::log_level

Definition at line 695 of file nat.h.

◆ max_translations

u32 snat_main_s::max_translations

Definition at line 666 of file nat.h.

◆ max_translations_per_user

u32 snat_main_s::max_translations_per_user

Definition at line 669 of file nat.h.

◆ msg_id_base

u16 snat_main_s::msg_id_base

Definition at line 690 of file nat.h.

◆ mss_clamping

u16 snat_main_s::mss_clamping

Definition at line 682 of file nat.h.

◆ mss_value_net

u16 snat_main_s::mss_value_net

Definition at line 683 of file nat.h.

◆ num_snat_thread

u32 snat_main_s::num_snat_thread

Definition at line 561 of file nat.h.

◆ num_workers

u32 snat_main_s::num_workers

Definition at line 555 of file nat.h.

◆ out2in_dpo

u8 snat_main_s::out2in_dpo

Definition at line 662 of file nat.h.

◆ out2in_fast_node_index

u32 snat_main_s::out2in_fast_node_index

Definition at line 636 of file nat.h.

◆ out2in_node_index

u32 snat_main_s::out2in_node_index

Definition at line 635 of file nat.h.

◆ out2in_reass_node_index

u32 snat_main_s::out2in_reass_node_index

Definition at line 637 of file nat.h.

◆ output_feature_interfaces

snat_interface_t* snat_main_s::output_feature_interfaces

Definition at line 577 of file nat.h.

◆ outside_fib_index

u32 snat_main_s::outside_fib_index

Definition at line 671 of file nat.h.

◆ outside_fibs

nat_outside_fib_t* snat_main_s::outside_fibs

Definition at line 594 of file nat.h.

◆ outside_vrf_id

u32 snat_main_s::outside_vrf_id

Definition at line 670 of file nat.h.

◆ per_thread_data

snat_main_per_thread_data_t* snat_main_s::per_thread_data

Definition at line 564 of file nat.h.

◆ port_per_thread

u16 snat_main_s::port_per_thread

Definition at line 560 of file nat.h.

◆ pre_in2out_node_index

u32 snat_main_s::pre_in2out_node_index

Definition at line 624 of file nat.h.

◆ pre_out2in_node_index

u32 snat_main_s::pre_out2in_node_index

Definition at line 623 of file nat.h.

◆ psid

u16 snat_main_s::psid

Definition at line 588 of file nat.h.

◆ psid_length

u8 snat_main_s::psid_length

Definition at line 587 of file nat.h.

◆ psid_offset

u8 snat_main_s::psid_offset

Definition at line 586 of file nat.h.

◆ random_seed

u32 snat_main_s::random_seed

Definition at line 607 of file nat.h.

◆ start_port

u16 snat_main_s::start_port

Definition at line 590 of file nat.h.

◆ static_mapping_by_external

clib_bihash_8_8_t snat_main_s::static_mapping_by_external

Definition at line 570 of file nat.h.

◆ static_mapping_by_local

clib_bihash_8_8_t snat_main_s::static_mapping_by_local

Definition at line 567 of file nat.h.

◆ static_mapping_connection_tracking

u8 snat_main_s::static_mapping_connection_tracking

Definition at line 660 of file nat.h.

◆ static_mapping_only

u8 snat_main_s::static_mapping_only

Definition at line 659 of file nat.h.

◆ static_mappings

snat_static_mapping_t* snat_main_s::static_mappings

Definition at line 573 of file nat.h.

◆ tcp_established_timeout

u32 snat_main_s::tcp_established_timeout

Definition at line 677 of file nat.h.

◆ tcp_transitory_timeout

u32 snat_main_s::tcp_transitory_timeout

Definition at line 678 of file nat.h.

◆ to_resolve

snat_static_map_resolve_t* snat_main_s::to_resolve

Definition at line 604 of file nat.h.

◆ total_sessions

vlib_simple_counter_main_t snat_main_s::total_sessions

Definition at line 687 of file nat.h.

◆ total_users

vlib_simple_counter_main_t snat_main_s::total_users

Definition at line 686 of file nat.h.

◆ translation_buckets

u32 snat_main_s::translation_buckets

Definition at line 664 of file nat.h.

◆ translation_memory_size

u32 snat_main_s::translation_memory_size

Definition at line 665 of file nat.h.

◆ twice_nat_addresses

snat_address_t* snat_main_s::twice_nat_addresses

Definition at line 597 of file nat.h.

◆ udp_timeout

u32 snat_main_s::udp_timeout

Definition at line 676 of file nat.h.

◆ user_buckets

u32 snat_main_s::user_buckets

Definition at line 667 of file nat.h.

◆ user_memory_size

u32 snat_main_s::user_memory_size

Definition at line 668 of file nat.h.

◆ vlib_main

vlib_main_t* snat_main_s::vlib_main

Definition at line 698 of file nat.h.

◆ vnet_main

vnet_main_t* snat_main_s::vnet_main

Definition at line 699 of file nat.h.

◆ worker_in2out_cb

snat_get_worker_function_t* snat_main_s::worker_in2out_cb

Definition at line 558 of file nat.h.

◆ worker_out2in_cb

snat_get_worker_function_t* snat_main_s::worker_out2in_cb

Definition at line 559 of file nat.h.

◆ workers

u32* snat_main_s::workers

Definition at line 557 of file nat.h.


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