|
static u8 * | format_l2_rw_entry (u8 *s, va_list *args) |
|
static u8 * | format_l2_rw_config (u8 *s, va_list *args) |
|
static u8 * | format_l2_rw_trace (u8 *s, va_list *args) |
|
static l2_rw_config_t * | l2_rw_get_config (u32 sw_if_index) |
|
static_always_inline void | l2_rw_rewrite (l2_rw_entry_t *rwe, u8 *h) |
|
static uword | l2_rw_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
int | l2_rw_mod_entry (u32 *index, u8 *mask, u8 *value, u32 len, u32 skip, u8 is_del) |
|
static clib_error_t * | l2_rw_entry_cli_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
int | l2_rw_interface_set_table (u32 sw_if_index, u32 table_index, u32 miss_index) |
|
static clib_error_t * | l2_rw_interface_cli_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | l2_rw_show_interfaces_cli_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | l2_rw_show_entries_cli_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
int | l2_rw_enable_disable (u32 bridge_domain, u8 disable) |
|
static clib_error_t * | l2_rw_set_cli_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | l2_rw_init (vlib_main_t *vm) |
|
Layer 2 Rewrite.
Layer 2-Rewrite node uses classify tables to match packets. Then, using the provisioned mask and value, modifies the packet header.
Definition in file l2_rw.c.