|
u32 | lb_hash_time_now (vlib_main_t *vm) |
|
u8 * | format_lb_main (u8 *s, va_list *args) |
|
u8 * | format_lb_vip_type (u8 *s, va_list *args) |
|
uword | unformat_lb_vip_type (unformat_input_t *input, va_list *args) |
|
u8 * | format_lb_vip (u8 *s, va_list *args) |
|
u8 * | format_lb_as (u8 *s, va_list *args) |
|
u8 * | format_lb_vip_detailed (u8 *s, va_list *args) |
|
static int | lb_pseudorand_compare (void *a, void *b) |
|
static void | lb_vip_garbage_collection (lb_vip_t *vip) |
|
void | lb_garbage_collection () |
|
static void | lb_vip_update_new_flow_table (lb_vip_t *vip) |
|
int | lb_conf (ip4_address_t *ip4_address, ip6_address_t *ip6_address, u32 per_cpu_sticky_buckets, u32 flow_timeout) |
| Fix global load-balancer parameters. More...
|
|
static int | lb_vip_find_index_with_lock (ip46_address_t *prefix, u8 plen, u32 *vip_index) |
|
int | lb_vip_find_index (ip46_address_t *prefix, u8 plen, u32 *vip_index) |
|
static int | lb_as_find_index_vip (lb_vip_t *vip, ip46_address_t *address, u32 *as_index) |
|
int | lb_vip_add_ass (u32 vip_index, ip46_address_t *addresses, u32 n) |
|
int | lb_vip_del_ass_withlock (u32 vip_index, ip46_address_t *addresses, u32 n) |
|
int | lb_vip_del_ass (u32 vip_index, ip46_address_t *addresses, u32 n) |
|
int | lb_as_lookup_bypass (u32 vip_index, ip46_address_t *address, u8 is_disable) |
| Updates the adjacency index stored in the AS such that the second IP lookup (after encap) can be bypassed. More...
|
|
static void | lb_vip_add_adjacency (lb_main_t *lbm, lb_vip_t *vip) |
| Add the VIP adjacency to the ip4 or ip6 fib. More...
|
|
static void | lb_vip_del_adjacency (lb_main_t *lbm, lb_vip_t *vip) |
| Deletes the adjacency associated with the VIP. More...
|
|
int | lb_vip_add (ip46_address_t *prefix, u8 plen, lb_vip_type_t type, u32 new_length, u32 *vip_index) |
|
int | lb_vip_del (u32 vip_index) |
|
clib_error_t * | vlib_plugin_register (vlib_main_t *vm, vnet_plugin_handoff_t *h, int from_early_init) |
|
clib_error_t * | lb_init (vlib_main_t *vm) |
|