|
static void | lb_as_stack (lb_as_t *as) |
|
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_port_find_index (ip46_address_t *prefix, u8 plen, u8 protocol, u16 port, lb_lkp_type_t lkp_type, u32 *vip_index) |
|
static int | lb_vip_port_find_index_with_lock (ip46_address_t *prefix, u8 plen, u8 protocol, u16 port, u32 *vip_index) |
|
static int | lb_vip_port_find_all_port_vip (ip46_address_t *prefix, u8 plen, u32 *vip_index) |
|
static int | lb_vip_port_find_diff_port (ip46_address_t *prefix, u8 plen, u8 protocol, u16 port, u32 *vip_index) |
|
int | lb_vip_find_index (ip46_address_t *prefix, u8 plen, u8 protocol, u16 port, 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_flush_vip_as (u32 vip_index, u32 as_index) |
|
int | lb_vip_del_ass_withlock (u32 vip_index, ip46_address_t *addresses, u32 n, u8 flush) |
|
int | lb_vip_del_ass (u32 vip_index, ip46_address_t *addresses, u32 n, u8 flush) |
|
static int | lb_vip_prefix_index_alloc (lb_main_t *lbm) |
|
static int | lb_vip_prefix_index_free (lb_main_t *lbm, u32 instance) |
|
static void | lb_vip_add_adjacency (lb_main_t *lbm, lb_vip_t *vip, u32 *vip_prefix_index) |
| Add the VIP adjacency to the ip4 or ip6 fib. More...
|
|
static int | lb_vip_add_port_filter (lb_main_t *lbm, lb_vip_t *vip, u32 vip_prefix_index, u32 vip_idx) |
| Add the VIP filter entry. More...
|
|
static int | lb_vip_del_port_filter (lb_main_t *lbm, lb_vip_t *vip) |
| Del the VIP filter entry. 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 (lb_vip_add_args_t args, u32 *vip_index) |
|
int | lb_vip_del (u32 vip_index) |
|
| VLIB_PLUGIN_REGISTER () |
|
u8 * | format_lb_dpo (u8 *s, va_list *va) |
|
static void | lb_dpo_lock (dpo_id_t *dpo) |
|
static void | lb_dpo_unlock (dpo_id_t *dpo) |
|
static fib_node_t * | lb_fib_node_get_node (fib_node_index_t index) |
|
static void | lb_fib_node_last_lock_gone (fib_node_t *node) |
|
static lb_as_t * | lb_as_from_fib_node (fib_node_t *node) |
|
static fib_node_back_walk_rc_t | lb_fib_node_back_walk_notify (fib_node_t *node, fib_node_back_walk_ctx_t *ctx) |
|
int | lb_nat4_interface_add_del (u32 sw_if_index, int is_del) |
|
int | lb_nat6_interface_add_del (u32 sw_if_index, int is_del) |
|
clib_error_t * | lb_init (vlib_main_t *vm) |
|
|
static fib_source_t | lb_fib_src |
|
lb_main_t | lb_main |
|
const static char *const | lb_dpo_gre4_ip4 [] = { "lb4-gre4" , NULL } |
|
const static char *const | lb_dpo_gre4_ip6 [] = { "lb6-gre4" , NULL } |
|
const static char *const *const | lb_dpo_gre4_nodes [DPO_PROTO_NUM] |
|
const static char *const | lb_dpo_gre6_ip4 [] = { "lb4-gre6" , NULL } |
|
const static char *const | lb_dpo_gre6_ip6 [] = { "lb6-gre6" , NULL } |
|
const static char *const *const | lb_dpo_gre6_nodes [DPO_PROTO_NUM] |
|
const static char *const | lb_dpo_gre4_ip4_port [] = { "lb4-gre4-port" , NULL } |
|
const static char *const | lb_dpo_gre4_ip6_port [] = { "lb6-gre4-port" , NULL } |
|
const static char *const *const | lb_dpo_gre4_port_nodes [DPO_PROTO_NUM] |
|
const static char *const | lb_dpo_gre6_ip4_port [] = { "lb4-gre6-port" , NULL } |
|
const static char *const | lb_dpo_gre6_ip6_port [] = { "lb6-gre6-port" , NULL } |
|
const static char *const *const | lb_dpo_gre6_port_nodes [DPO_PROTO_NUM] |
|
const static char *const | lb_dpo_l3dsr_ip4 [] = {"lb4-l3dsr" , NULL} |
|
const static char *const *const | lb_dpo_l3dsr_nodes [DPO_PROTO_NUM] |
|
const static char *const | lb_dpo_l3dsr_ip4_port [] = {"lb4-l3dsr-port" , NULL} |
|
const static char *const *const | lb_dpo_l3dsr_port_nodes [DPO_PROTO_NUM] |
|
const static char *const | lb_dpo_nat4_ip4_port [] = { "lb4-nat4-port" , NULL } |
|
const static char *const *const | lb_dpo_nat4_port_nodes [DPO_PROTO_NUM] |
|
const static char *const | lb_dpo_nat6_ip6_port [] = { "lb6-nat6-port" , NULL } |
|
const static char *const *const | lb_dpo_nat6_port_nodes [DPO_PROTO_NUM] |
|
static char * | lb_vip_type_strings [] |
|