Go to the source code of this file.
|
always_inline u32 | l2fib_compute_hash_bucket (l2fib_entry_key_t *key) |
|
always_inline u64 | l2fib_make_key (u8 *mac_address, u16 bd_index) |
|
static_always_inline void | l2fib_lookup_1 (BVT(clib_bihash)*mac_table, l2fib_entry_key_t *cached_key, l2fib_entry_result_t *cached_result, u8 *mac0, u16 bd_index0, l2fib_entry_key_t *key0, u32 *bucket0, l2fib_entry_result_t *result0) |
|
static_always_inline void | l2fib_lookup_2 (BVT(clib_bihash)*mac_table, l2fib_entry_key_t *cached_key, l2fib_entry_result_t *cached_result, u8 *mac0, u8 *mac1, u16 bd_index0, u16 bd_index1, l2fib_entry_key_t *key0, l2fib_entry_key_t *key1, u32 *bucket0, u32 *bucket1, l2fib_entry_result_t *result0, l2fib_entry_result_t *result1) |
|
| BVT (clib_bihash)*get_mac_table(void) |
|
void | l2fib_clear_table (uint keep_static) |
|
void | l2fib_add_entry (u64 mac, u32 bd_index, u32 sw_if_index, u32 static_mac, u32 drop_mac, u32 bvi_mac) |
|
u32 | l2fib_del_entry (u64 mac, u32 bd_index) |
|
void | l2fib_table_dump (u32 bd_index, l2fib_entry_key_t **l2fe_key, l2fib_entry_result_t **l2fe_res) |
|
u8 * | format_vnet_sw_if_index_name_with_NA (u8 *s, va_list *args) |
|
#define L2FIB_MEMORY_SIZE (256<<20) |
#define L2FIB_NUM_BUCKETS (64 * 1024) |
u8* format_vnet_sw_if_index_name_with_NA |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
void l2fib_clear_table |
( |
uint |
keep_static | ) |
|
u32 l2fib_del_entry |
( |
u64 |
mac, |
|
|
u32 |
bd_index |
|
) |
| |
static_always_inline void l2fib_lookup_2 |
( |
BVT(clib_bihash)* |
mac_table, |
|
|
l2fib_entry_key_t * |
cached_key, |
|
|
l2fib_entry_result_t * |
cached_result, |
|
|
u8 * |
mac0, |
|
|
u8 * |
mac1, |
|
|
u16 |
bd_index0, |
|
|
u16 |
bd_index1, |
|
|
l2fib_entry_key_t * |
key0, |
|
|
l2fib_entry_key_t * |
key1, |
|
|
u32 * |
bucket0, |
|
|
u32 * |
bucket1, |
|
|
l2fib_entry_result_t * |
result0, |
|
|
l2fib_entry_result_t * |
result1 |
|
) |
| |