Go to the source code of this file.
|
static u8 * | format_l2_xcrw_trace (u8 *s, va_list *args) |
|
static uword | l2_xcrw_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
clib_error_t * | l2_xcrw_init (vlib_main_t *vm) |
|
static uword | dummy_interface_tx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static u8 * | format_xcrw_name (u8 *s, va_list *args) |
|
| VNET_DEVICE_CLASS (xcrw_device_class, static) |
|
static u32 | create_xcrw_interface (vlib_main_t *vm) |
|
int | vnet_configure_l2_xcrw (vlib_main_t *vm, vnet_main_t *vnm, u32 l2_sw_if_index, u32 tx_fib_index, u8 *rewrite, u32 next_node_index, int is_add) |
|
static clib_error_t * | set_l2_xcrw_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static u8 * | format_l2xcrw (u8 *s, va_list *args) |
|
static clib_error_t * | show_l2xcrw_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static u8* format_l2_xcrw_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_l2xcrw |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_xcrw_name |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
VNET_DEVICE_CLASS |
( |
xcrw_device_class |
, |
|
|
static |
|
|
) |
| |
char* l2_xcrw_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_l2_xcrw_error
Definition at line 61 of file l2_xcrw.c.
Initial value:= {
.name = "l2-xcrw",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
static char * l2_xcrw_error_strings[]
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS
static uword l2_xcrw_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static u8 * format_l2_xcrw_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (l2_xcrw_node)
Definition at line 59 of file l2_xcrw.c.
Initial value:= {
.path = "set interface l2 xcrw",
.short_help =
"set int l2 xcrw <interface> next <node-name>\n"
" [del] [tx-fib-id <id>] [ipv6] rw <hex-bytes>",
}
static clib_error_t * set_l2_xcrw_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (set_l2_xcrw_command)
Definition at line 479 of file l2_xcrw.c.
Initial value:= {
.path = "show l2xcrw",
.short_help = "Display L2/L3 rewrite cross-connects",
}
static clib_error_t * show_l2xcrw_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_l2xcrw_command)
Definition at line 555 of file l2_xcrw.c.