|
u8 * | format_l2fib_entry_result_flags (u8 *s, va_list *args) |
|
static void | incr_mac_address (u8 *mac) |
|
u8 * | format_vnet_sw_if_index_name_with_NA (u8 *s, va_list *args) |
| Format sw_if_index. More...
|
|
static int | l2fib_dump_walk_cb (BVT(clib_bihash_kv) *kvp, void *arg) |
|
void | l2fib_table_dump (u32 bd_index, l2fib_entry_key_t **l2fe_key, l2fib_entry_result_t **l2fe_res) |
|
void | l2_fib_extract_seq_num (l2fib_seq_num_t sn, u8 *bd_sn, u8 *if_sn) |
|
u8 * | format_l2_fib_seq_num (u8 *s, va_list *a) |
|
static int | l2fib_show_walk_cb (BVT(clib_bihash_kv) *kvp, void *arg) |
|
static clib_error_t * | show_l2fib (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Display the contents of the l2fib. More...
|
|
void | l2fib_table_init (void) |
|
void | l2fib_clear_table (void) |
|
static clib_error_t * | clear_l2fib (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Clear all entries in L2FIB. More...
|
|
static l2fib_seq_num_t | l2fib_cur_seq_num (u32 bd_index, u32 sw_if_index) |
|
void | l2fib_add_entry (const u8 *mac, u32 bd_index, u32 sw_if_index, l2fib_entry_result_flags_t flags) |
| Add an entry to the l2fib. More...
|
|
static clib_error_t * | l2fib_add (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Add an entry to the L2FIB. More...
|
|
static clib_error_t * | l2fib_test_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
u32 | l2fib_del_entry (const u8 *mac, u32 bd_index, u32 sw_if_index) |
| Delete an entry from the l2fib. More...
|
|
static clib_error_t * | l2fib_del (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Delete an entry from the L2FIB. More...
|
|
static clib_error_t * | l2fib_set_scan_delay (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
void | l2fib_start_ager_scan (vlib_main_t *vm) |
| Kick off ager to scan MACs to age/delete MAC entries. More...
|
|
void | l2fib_flush_int_mac (vlib_main_t *vm, u32 sw_if_index) |
| Flush all non static MACs from an interface. More...
|
|
void | l2fib_flush_bd_mac (vlib_main_t *vm, u32 bd_index) |
| Flush all non static MACs in a bridge domain. More...
|
|
void | l2fib_flush_all_mac (vlib_main_t *vm) |
| Flush all non static MACs - flushes all valid BDs. More...
|
|
static clib_error_t * | l2fib_flush_mac_int (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Flush MACs, except static ones, associated with an interface The CLI format is: l2fib flush-mac interface <if-name> More...
|
|
static clib_error_t * | l2fib_flush_mac_all (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Flush all MACs, except static ones The CLI format is: l2fib flush-mac all. More...
|
|
static clib_error_t * | l2fib_flush_mac_bd (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
| Flush bridge-domain MACs except static ones. More...
|
|
clib_error_t * | l2fib_sw_interface_up_down (vnet_main_t *vnm, u32 sw_if_index, u32 flags) |
|
| VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION (l2fib_sw_interface_up_down) |
|
| BVT (clib_bihash) |
| The table of adjacencies indexed by the rewrite string. More...
|
|
static_always_inline void * | allocate_mac_evt_buf (u32 client, u32 client_index) |
|
static_always_inline f64 | l2fib_scan (vlib_main_t *vm, f64 start_time, u8 event_only) |
|
static uword | l2fib_mac_age_scanner_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
|
clib_error_t * | l2fib_init (vlib_main_t *vm) |
|
static clib_error_t * | lfib_config (vlib_main_t *vm, unformat_input_t *input) |
|
Ethernet MAC Address FIB Table Management.
The MAC Address forwarding table for bridge-domains is called the l2fib. Entries are added automatically as part of mac learning, but MAC Addresses entries can also be added manually.
Definition in file l2_fib.c.