![]() |
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Load balancing service is provided per VIP+protocol+port. More...
Collaboration diagram for lb_vip_t: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... | |
| u8 | protocol |
| u16 | port |
| u32 | vip_prefix_index |
| lb_vip_type_t | type |
| The type of traffic for this. More... | |
| lb_vip_encap_args_t | encap_args |
| 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+protocol+port.
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 |
| lb_vip_encap_args_t lb_vip_t::encap_args |
| 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 |