|
void | bd_validate (l2_bridge_domain_t *bd_config) |
| Init bridge domain if not done already. More...
|
|
u32 | bd_find_index (bd_main_t *bdm, u32 bd_id) |
| Get a bridge domain. More...
|
|
u32 | bd_add_bd_index (bd_main_t *bdm, u32 bd_id) |
| Create a bridge domain. More...
|
|
static void | bd_free_ip_mac_tables (l2_bridge_domain_t *bd) |
|
static int | bd_delete (bd_main_t *bdm, u32 bd_index) |
|
static void | update_flood_count (l2_bridge_domain_t *bd_config) |
|
void | bd_add_member (l2_bridge_domain_t *bd_config, l2_flood_member_t *member) |
|
u32 | bd_remove_member (l2_bridge_domain_t *bd_config, u32 sw_if_index) |
|
clib_error_t * | l2bd_init (vlib_main_t *vm) |
|
l2_bridge_domain_t * | bd_get (u32 bd_index) |
|
u32 | bd_input_walk (u32 bd_index, bd_input_walk_fn_t fn, void *data) |
|
static void | b2_input_recache (u32 bd_index) |
|
u32 | bd_set_flags (vlib_main_t *vm, u32 bd_index, bd_flags_t flags, u32 enable) |
| Set the learn/forward/flood flags for the bridge domain. More...
|
|
void | bd_set_mac_age (vlib_main_t *vm, u32 bd_index, u8 age) |
| Set the mac age for the bridge domain. More...
|
|
void | bd_set_learn_limit (vlib_main_t *vm, u32 bd_index, u32 learn_limit) |
| Set learn limit for the bridge domain. More...
|
|
static void | bd_set_bd_tag (vlib_main_t *vm, u32 bd_index, u8 *bd_tag) |
| Set the tag for the bridge domain. More...
|
|
static clib_error_t * | bd_learn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Set bridge-domain learn enable/disable. More...
|
|
static clib_error_t * | bd_default_learn_limit (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | bd_fwd (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Set bridge-domain forward enable/disable. More...
|
|
static clib_error_t * | bd_flood (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Set bridge-domain flood enable/disable. More...
|
|
static clib_error_t * | bd_uu_flood (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Set bridge-domain unknown-unicast flood enable/disable. More...
|
|
static clib_error_t * | bd_arp_ufwd (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Set bridge-domain arp-unicast forward enable/disable. More...
|
|
static clib_error_t * | bd_arp_term (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Set bridge-domain arp term enable/disable. More...
|
|
static clib_error_t * | bd_mac_age (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | bd_learn_limit (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
u32 | bd_add_del_ip_mac (u32 bd_index, ip46_type_t type, const ip46_address_t *ip, const mac_address_t *mac, u8 is_add) |
| Add/delete IP address to MAC address mapping. More...
|
|
void | bd_flush_ip_mac (u32 bd_index) |
| Flush IP address to MAC address mapping tables in a BD. More...
|
|
static clib_error_t * | bd_arp_entry (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Set bridge-domain arp entry add/delete. More...
|
|
static u8 * | format_uu_cfg (u8 *s, va_list *args) |
|
static clib_error_t * | bd_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Show bridge-domain state. More...
|
|
int | bd_add_del (l2_bridge_domain_add_del_args_t *a) |
|
static clib_error_t * | bd_add_del_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Create or delete bridge-domain. More...
|
|
Ethernet Bridge Domain.
Code in this file manages Layer 2 bridge domains.
Definition in file l2_bd.c.