FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
snat_main_s Struct Reference
+ Collaboration diagram for snat_main_s:

Data Fields

u32 num_workers
 
u32 first_worker_index
 
u32workers
 
u16 port_per_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
 
clib_bihash_8_8_t in2out
 
clib_bihash_8_8_t out2in
 
clib_bihash_16_8_t flow_hash
 
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_fib_tfibs
 
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 out2in_node_index
 
u32 in2out_node_index
 
u32 in2out_output_node_index
 
nat44_config_t rconfig
 
u8 forwarding_enabled
 
u8 static_mapping_only
 
u8 static_mapping_connection_tracking
 
u8 translation_memory_size_set
 
u32 translation_buckets
 
u32 max_translations_per_thread
 
u32max_translations_per_fib
 
u32 outside_vrf_id
 
u32 outside_fib_index
 
u32 inside_vrf_id
 
u32 inside_fib_index
 
nat_timeouts_t timeouts
 
u16 mss_clamping
 
vlib_simple_counter_main_t total_sessions
 
u32 max_cfg_sessions_gauge
 
struct {
   struct {
      struct {
            foreach_nat_counter
 
      }   in2out
 
      struct {
            foreach_nat_counter
 
      }   out2in
 
   }   fastpath
 
   struct {
      struct {
            foreach_nat_counter
 
      }   in2out
 
      struct {
            foreach_nat_counter
 
      }   out2in
 
   }   slowpath
 
   vlib_simple_counter_main_t   hairpinning
 
counters
 
u16 msg_id_base
 
vlib_log_class_t log_class
 
u8 log_level
 
api_main_tapi_main
 
ip4_main_tip4_main
 
ip_lookup_main_tip4_lookup_main
 
fib_source_t fib_src_hi
 
fib_source_t fib_src_low
 
u8 pat
 
u32 frame_queue_nelts
 
u8 enabled
 
vnet_main_tvnet_main
 

Detailed Description

Definition at line 510 of file nat44_ed.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 546 of file nat44_ed.h.

◆ addresses

snat_address_t* snat_main_s::addresses

Definition at line 542 of file nat44_ed.h.

◆ alloc_addr_and_port

nat_alloc_out_addr_and_port_function_t* snat_main_s::alloc_addr_and_port

Definition at line 544 of file nat44_ed.h.

◆ api_main

api_main_t* snat_main_s::api_main

Definition at line 657 of file nat44_ed.h.

◆ auto_add_sw_if_indices

u32* snat_main_s::auto_add_sw_if_indices

Definition at line 565 of file nat44_ed.h.

◆ auto_add_sw_if_indices_twice_nat

u32* snat_main_s::auto_add_sw_if_indices_twice_nat

Definition at line 566 of file nat44_ed.h.

◆ counters

struct { ... } snat_main_s::counters

◆ enabled

u8 snat_main_s::enabled

Definition at line 671 of file nat44_ed.h.

◆ end_port

u16 snat_main_s::end_port

Definition at line 553 of file nat44_ed.h.

◆ fastpath

struct { ... } snat_main_s::fastpath

◆ fib_src_hi

fib_source_t snat_main_s::fib_src_hi

Definition at line 661 of file nat44_ed.h.

◆ fib_src_low

fib_source_t snat_main_s::fib_src_low

Definition at line 662 of file nat44_ed.h.

◆ fibs

nat_fib_t* snat_main_s::fibs

Definition at line 556 of file nat44_ed.h.

◆ first_worker_index

u32 snat_main_s::first_worker_index

Definition at line 514 of file nat44_ed.h.

◆ flow_hash

clib_bihash_16_8_t snat_main_s::flow_hash

Definition at line 535 of file nat44_ed.h.

◆ foreach_nat_counter

snat_main_s::foreach_nat_counter

Definition at line 622 of file nat44_ed.h.

◆ forwarding_enabled

u8 snat_main_s::forwarding_enabled

Definition at line 587 of file nat44_ed.h.

◆ fq_in2out_index

u32 snat_main_s::fq_in2out_index

Definition at line 575 of file nat44_ed.h.

◆ fq_in2out_output_index

u32 snat_main_s::fq_in2out_output_index

Definition at line 576 of file nat44_ed.h.

◆ fq_out2in_index

u32 snat_main_s::fq_out2in_index

Definition at line 577 of file nat44_ed.h.

◆ frame_queue_nelts

u32 snat_main_s::frame_queue_nelts

Definition at line 668 of file nat44_ed.h.

◆ hairpinning

vlib_simple_counter_main_t snat_main_s::hairpinning

Definition at line 644 of file nat44_ed.h.

◆ in2out [1/3]

clib_bihash_8_8_t snat_main_s::in2out

Definition at line 531 of file nat44_ed.h.

◆ in2out [2/3]

struct { ... } snat_main_s::in2out

◆ in2out [3/3]

struct { ... } snat_main_s::in2out

◆ in2out_node_index

u32 snat_main_s::in2out_node_index

Definition at line 580 of file nat44_ed.h.

◆ in2out_output_node_index

u32 snat_main_s::in2out_output_node_index

Definition at line 581 of file nat44_ed.h.

◆ inside_fib_index

u32 snat_main_s::inside_fib_index

Definition at line 603 of file nat44_ed.h.

◆ inside_vrf_id

u32 snat_main_s::inside_vrf_id

Definition at line 602 of file nat44_ed.h.

◆ interfaces

snat_interface_t* snat_main_s::interfaces

Definition at line 538 of file nat44_ed.h.

◆ ip4_lookup_main

ip_lookup_main_t* snat_main_s::ip4_lookup_main

Definition at line 659 of file nat44_ed.h.

◆ ip4_main

ip4_main_t* snat_main_s::ip4_main

Definition at line 658 of file nat44_ed.h.

◆ log_class

vlib_log_class_t snat_main_s::log_class

Definition at line 652 of file nat44_ed.h.

◆ log_level

u8 snat_main_s::log_level

Definition at line 654 of file nat44_ed.h.

◆ max_cfg_sessions_gauge

u32 snat_main_s::max_cfg_sessions_gauge

Definition at line 612 of file nat44_ed.h.

◆ max_translations_per_fib

u32* snat_main_s::max_translations_per_fib

Definition at line 598 of file nat44_ed.h.

◆ max_translations_per_thread

u32 snat_main_s::max_translations_per_thread

Definition at line 597 of file nat44_ed.h.

◆ msg_id_base

u16 snat_main_s::msg_id_base

Definition at line 649 of file nat44_ed.h.

◆ mss_clamping

u16 snat_main_s::mss_clamping

Definition at line 608 of file nat44_ed.h.

◆ num_workers

u32 snat_main_s::num_workers

Definition at line 513 of file nat44_ed.h.

◆ out2in [1/3]

clib_bihash_8_8_t snat_main_s::out2in

Definition at line 532 of file nat44_ed.h.

◆ out2in [2/3]

struct { ... } snat_main_s::out2in

◆ out2in [3/3]

struct { ... } snat_main_s::out2in

◆ out2in_node_index

u32 snat_main_s::out2in_node_index

Definition at line 579 of file nat44_ed.h.

◆ output_feature_interfaces

snat_interface_t* snat_main_s::output_feature_interfaces

Definition at line 539 of file nat44_ed.h.

◆ outside_fib_index

u32 snat_main_s::outside_fib_index

Definition at line 601 of file nat44_ed.h.

◆ outside_fibs

nat_outside_fib_t* snat_main_s::outside_fibs

Definition at line 559 of file nat44_ed.h.

◆ outside_vrf_id

u32 snat_main_s::outside_vrf_id

Definition at line 600 of file nat44_ed.h.

◆ pat

u8 snat_main_s::pat

Definition at line 665 of file nat44_ed.h.

◆ per_thread_data

snat_main_per_thread_data_t* snat_main_s::per_thread_data

Definition at line 519 of file nat44_ed.h.

◆ port_per_thread

u16 snat_main_s::port_per_thread

Definition at line 516 of file nat44_ed.h.

◆ psid

u16 snat_main_s::psid

Definition at line 550 of file nat44_ed.h.

◆ psid_length

u8 snat_main_s::psid_length

Definition at line 549 of file nat44_ed.h.

◆ psid_offset

u8 snat_main_s::psid_offset

Definition at line 548 of file nat44_ed.h.

◆ random_seed

u32 snat_main_s::random_seed

Definition at line 572 of file nat44_ed.h.

◆ rconfig

nat44_config_t snat_main_s::rconfig

Definition at line 583 of file nat44_ed.h.

◆ slowpath

struct { ... } snat_main_s::slowpath

◆ start_port

u16 snat_main_s::start_port

Definition at line 552 of file nat44_ed.h.

◆ static_mapping_by_external

clib_bihash_8_8_t snat_main_s::static_mapping_by_external

Definition at line 525 of file nat44_ed.h.

◆ static_mapping_by_local

clib_bihash_8_8_t snat_main_s::static_mapping_by_local

Definition at line 522 of file nat44_ed.h.

◆ static_mapping_connection_tracking

u8 snat_main_s::static_mapping_connection_tracking

Definition at line 591 of file nat44_ed.h.

◆ static_mapping_only

u8 snat_main_s::static_mapping_only

Definition at line 590 of file nat44_ed.h.

◆ static_mappings

snat_static_mapping_t* snat_main_s::static_mappings

Definition at line 528 of file nat44_ed.h.

◆ timeouts

nat_timeouts_t snat_main_s::timeouts

Definition at line 605 of file nat44_ed.h.

◆ to_resolve

snat_static_map_resolve_t* snat_main_s::to_resolve

Definition at line 569 of file nat44_ed.h.

◆ total_sessions

vlib_simple_counter_main_t snat_main_s::total_sessions

Definition at line 611 of file nat44_ed.h.

◆ translation_buckets

u32 snat_main_s::translation_buckets

Definition at line 596 of file nat44_ed.h.

◆ translation_memory_size_set

u8 snat_main_s::translation_memory_size_set

Definition at line 594 of file nat44_ed.h.

◆ twice_nat_addresses

snat_address_t* snat_main_s::twice_nat_addresses

Definition at line 562 of file nat44_ed.h.

◆ vnet_main

vnet_main_t* snat_main_s::vnet_main

Definition at line 673 of file nat44_ed.h.

◆ workers

u32* snat_main_s::workers

Definition at line 515 of file nat44_ed.h.


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