FD.io VPP
v18.01.2-1-g9b554f3
Vector Packet Processing
|
Load balancing service is provided per VIP. More...
Data Fields | |
lb_new_flow_entry_t * | new_flow_table |
Vector mapping (flow-hash & new_connect_table_mask) to AS index. More... | |
u32 | new_flow_table_mask |
New flows table length - 1 (length MUST be a power of 2) More... | |
u32 | last_garbage_collection |
Last time garbage collection was run to free the ASs. More... | |
ip46_address_t | prefix |
A Virtual IP represents a given service delivered by a set of application servers. More... | |
u8 | plen |
The VIP prefix length. More... | |
lb_vip_type_t | type |
The type of traffic for this. More... | |
u8 | flags |
Flags related to this VIP. More... | |
u32 * | as_indexes |
Pool of AS indexes used for this VIP. More... | |
Load balancing service is provided per VIP.
In this data model, a VIP can be a whole prefix. But load balancing only occurs on a per-source-address/port basis. Meaning that if a given source reuses the same port for multiple destinations within the same VIP, they will be considered as a single flow.
u32* lb_vip_t::as_indexes |
u8 lb_vip_t::flags |
u32 lb_vip_t::last_garbage_collection |
lb_new_flow_entry_t* lb_vip_t::new_flow_table |
u32 lb_vip_t::new_flow_table_mask |
u8 lb_vip_t::plen |
ip46_address_t lb_vip_t::prefix |
lb_vip_type_t lb_vip_t::type |