FD.io VPP  v18.01.1-37-g7ea3975
Vector Packet Processing
kp_main_t Struct Reference
+ Collaboration diagram for kp_main_t:

Data Fields

kp_vip_tvips
 Pool of all Virtual IPs. More...
 
kp_pod_tpods
 Pool of PODs. More...
 
vlib_refcount_t pod_refcount
 Each POD has an associated reference counter. More...
 
uwordnodeport_by_key
 
kp_per_cpu_tper_cpu
 Some global data is per-cpu. More...
 
u32 ip_lookup_next_index [KP_VIP_N_TYPES]
 Node next index for IP adjacencies, for each of the traffic types. More...
 
u32 per_cpu_sticky_buckets
 Number of buckets in the per-cpu sticky hash table. More...
 
u32 flow_timeout
 Flow timeout in seconds. More...
 
vlib_simple_counter_main_t vip_counters [KP_N_VIP_COUNTERS]
 Per VIP counter. More...
 
dpo_type_t dpo_nat4_type
 DPO used to send packet from IP4/6 lookup to KP node. More...
 
dpo_type_t dpo_nat6_type
 
fib_node_type_t fib_node_type
 Node type for registering to fib changes. More...
 
clib_bihash_8_8_t mapping_by_pod
 
kp_snat_mapping_tsnat_mappings
 
u16 msg_id_base
 API dynamically registered base ID. More...
 
volatile u32writer_lock
 
vlib_main_tvlib_main
 
vnet_main_tvnet_main
 

Detailed Description

Definition at line 352 of file kp.h.

Field Documentation

dpo_type_t kp_main_t::dpo_nat4_type

DPO used to send packet from IP4/6 lookup to KP node.

Definition at line 405 of file kp.h.

dpo_type_t kp_main_t::dpo_nat6_type

Definition at line 406 of file kp.h.

fib_node_type_t kp_main_t::fib_node_type

Node type for registering to fib changes.

Definition at line 411 of file kp.h.

u32 kp_main_t::flow_timeout

Flow timeout in seconds.

Definition at line 395 of file kp.h.

u32 kp_main_t::ip_lookup_next_index[KP_VIP_N_TYPES]

Node next index for IP adjacencies, for each of the traffic types.

Definition at line 385 of file kp.h.

clib_bihash_8_8_t kp_main_t::mapping_by_pod

Definition at line 414 of file kp.h.

u16 kp_main_t::msg_id_base

API dynamically registered base ID.

Definition at line 422 of file kp.h.

uword* kp_main_t::nodeport_by_key

Definition at line 374 of file kp.h.

kp_per_cpu_t* kp_main_t::per_cpu

Some global data is per-cpu.

Definition at line 380 of file kp.h.

u32 kp_main_t::per_cpu_sticky_buckets

Number of buckets in the per-cpu sticky hash table.

Definition at line 390 of file kp.h.

vlib_refcount_t kp_main_t::pod_refcount

Each POD has an associated reference counter.

As pods[0] has a special meaning, its associated counter starts at 0 and is decremented instead. i.e. do not use it.

Definition at line 371 of file kp.h.

kp_pod_t* kp_main_t::pods

Pool of PODs.

PODs are referenced by address and vip index. The first element (index 0) is special and used only to fill new_flow_tables when no POD has been configured.

Definition at line 364 of file kp.h.

kp_snat_mapping_t* kp_main_t::snat_mappings

Definition at line 417 of file kp.h.

Per VIP counter.

Definition at line 400 of file kp.h.

kp_vip_t* kp_main_t::vips

Pool of all Virtual IPs.

Definition at line 356 of file kp.h.

vlib_main_t* kp_main_t::vlib_main

Definition at line 427 of file kp.h.

vnet_main_t* kp_main_t::vnet_main

Definition at line 428 of file kp.h.

volatile u32* kp_main_t::writer_lock

Definition at line 424 of file kp.h.


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