Go to the source code of this file.
◆ tap_cli_init()
◆ tap_create_command_fn()
Definition at line 34 of file cli.c.
◆ tap_delete_command_fn()
◆ tap_offload_command_fn()
◆ tap_show_command_fn()
◆ tap_create_command
Initial value:= {
.path = "create tap",
.short_help = "create tap {id <if-id>} [hw-addr <mac-address>] "
"[rx-ring-size <size>] [tx-ring-size <size>] [host-ns <netns>] "
"[host-bridge <bridge-name>] [host-ip4-addr <ip4addr/mask>] "
"[host-ip6-addr <ip6-addr>] [host-ip4-gw <ip4-addr>] "
"[host-ip6-gw <ip6-addr>] [host-mac-addr <host-mac-address>] "
"[host-if-name <name>] [host-mtu-size <size>] [no-gso|gso|csum-offload]",
}
static clib_error_t * tap_create_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (tap_create_command)
Definition at line 127 of file cli.c.
◆ tap_delete__command
Initial value:=
{
.path = "delete tap",
.short_help = "delete tap {<interface> | sw_if_index <sw_idx>}",
}
static clib_error_t * tap_delete_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (tap_delete__command)
Definition at line 179 of file cli.c.
◆ tap_offload_command
Initial value:=
{
.path = "set tap offload",
.short_help = "set tap offload {<interface> | sw_if_index <sw_idx>}"
" <gso-enable | gso-disable | csum-offload-enable | csum-offload-disable>",
}
static clib_error_t * tap_offload_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (tap_offload_command)
Definition at line 245 of file cli.c.
◆ tap_show_command
Initial value:= {
.path = "show tap",
.short_help = "show tap {<interface>] [descriptors]",
}
static clib_error_t * tap_show_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (tap_show_command)
Definition at line 297 of file cli.c.