FD.io VPP  v18.01.2-1-g9b554f3
Vector Packet Processing
lb_main_t Struct Reference
+ Collaboration diagram for lb_main_t:

Data Fields

lb_vip_tvips
 Pool of all Virtual IPs. More...
 
lb_as_tass
 Pool of ASs. More...
 
vlib_refcount_t as_refcount
 Each AS has an associated reference counter. More...
 
lb_per_cpu_tper_cpu
 Some global data is per-cpu. More...
 
u32 ip_lookup_next_index [LB_VIP_N_TYPES]
 Node next index for IP adjacencies, for each of the traffic types. More...
 
ip6_address_t ip6_src_address
 Source address used in IPv6 encapsulated traffic. More...
 
ip4_address_t ip4_src_address
 Source address used for IPv4 encapsulated traffic. 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 [LB_N_VIP_COUNTERS]
 Per VIP counter. More...
 
dpo_type_t dpo_gre4_type
 DPO used to send packet from IP4/6 lookup to LB node. More...
 
dpo_type_t dpo_gre6_type
 
fib_node_type_t fib_node_type
 Node type for registering to fib changes. More...
 
u16 msg_id_base
 API dynamically registered base ID. More...
 
volatile u32writer_lock
 

Detailed Description

Definition at line 228 of file lb.h.

Field Documentation

vlib_refcount_t lb_main_t::as_refcount

Each AS has an associated reference counter.

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

Definition at line 247 of file lb.h.

lb_as_t* lb_main_t::ass

Pool of ASs.

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

Definition at line 240 of file lb.h.

dpo_type_t lb_main_t::dpo_gre4_type

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

Definition at line 287 of file lb.h.

dpo_type_t lb_main_t::dpo_gre6_type

Definition at line 288 of file lb.h.

fib_node_type_t lb_main_t::fib_node_type

Node type for registering to fib changes.

Definition at line 293 of file lb.h.

u32 lb_main_t::flow_timeout

Flow timeout in seconds.

Definition at line 277 of file lb.h.

ip4_address_t lb_main_t::ip4_src_address

Source address used for IPv4 encapsulated traffic.

Definition at line 267 of file lb.h.

ip6_address_t lb_main_t::ip6_src_address

Source address used in IPv6 encapsulated traffic.

Definition at line 262 of file lb.h.

u32 lb_main_t::ip_lookup_next_index[LB_VIP_N_TYPES]

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

Definition at line 257 of file lb.h.

u16 lb_main_t::msg_id_base

API dynamically registered base ID.

Definition at line 298 of file lb.h.

lb_per_cpu_t* lb_main_t::per_cpu

Some global data is per-cpu.

Definition at line 252 of file lb.h.

u32 lb_main_t::per_cpu_sticky_buckets

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

Definition at line 272 of file lb.h.

Per VIP counter.

Definition at line 282 of file lb.h.

lb_vip_t* lb_main_t::vips

Pool of all Virtual IPs.

Definition at line 232 of file lb.h.

volatile u32* lb_main_t::writer_lock

Definition at line 300 of file lb.h.


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