Go to the source code of this file.
|
static void | tapcli_nopunt_frame (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
u8 * | format_tapcli_rx_trace (u8 *s, va_list *va) |
|
static uword | tapcli_tx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static uword | tapcli_rx_iface (vlib_main_t *vm, vlib_node_runtime_t *node, tapcli_interface_t *ti) |
|
static uword | tapcli_rx (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static clib_error_t * | tapcli_read_ready (unix_file_t *uf) |
|
static clib_error_t * | tapcli_config (vlib_main_t *vm, unformat_input_t *input) |
|
static int | tap_name_renumber (vnet_hw_interface_t *hi, u32 new_dev_instance) |
|
| VNET_HW_INTERFACE_CLASS (tapcli_interface_class, static) |
|
static u8 * | format_tapcli_interface_name (u8 *s, va_list *args) |
|
static u32 | tapcli_flag_change (vnet_main_t *vnm, vnet_hw_interface_t *hw, u32 flags) |
|
static void | tapcli_set_interface_next_node (vnet_main_t *vnm, u32 hw_if_index, u32 node_index) |
|
static clib_error_t * | tapcli_interface_admin_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
|
| VNET_DEVICE_CLASS (tapcli_dev_class, static) |
|
int | vnet_tap_dump_ifs (tapcli_interface_details_t **out_tapids) |
|
static tapcli_interface_t * | tapcli_get_new_tapif () |
|
int | vnet_tap_connect (vlib_main_t *vm, u8 *intfc_name, u8 *hwaddr_arg, u32 *sw_if_indexp) |
|
int | vnet_tap_connect_renumber (vlib_main_t *vm, u8 *intfc_name, u8 *hwaddr_arg, u32 *sw_if_indexp, u8 renumber, u32 custom_dev_instance) |
|
static int | tapcli_tap_disconnect (tapcli_interface_t *ti) |
|
int | vnet_tap_delete (vlib_main_t *vm, u32 sw_if_index) |
|
static clib_error_t * | tap_delete_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
int | vnet_tap_modify (vlib_main_t *vm, u32 orig_sw_if_index, u8 *intfc_name, u8 *hwaddr_arg, u32 *sw_if_indexp, u8 renumber, u32 custom_dev_instance) |
|
static clib_error_t * | tap_modify_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | tap_connect_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
clib_error_t * | tapcli_init (vlib_main_t *vm) |
|
Enumerator |
---|
TAPCLI_RX_NEXT_IP4_INPUT |
|
TAPCLI_RX_NEXT_IP6_INPUT |
|
TAPCLI_RX_NEXT_ETHERNET_INPUT |
|
TAPCLI_RX_NEXT_DROP |
|
TAPCLI_RX_N_NEXT |
|
Definition at line 208 of file tapcli.c.
static u8* format_tapcli_interface_name |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
u8* format_tapcli_rx_trace |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
int vnet_tap_connect |
( |
vlib_main_t * |
vm, |
|
|
u8 * |
intfc_name, |
|
|
u8 * |
hwaddr_arg, |
|
|
u32 * |
sw_if_indexp |
|
) |
| |
int vnet_tap_connect_renumber |
( |
vlib_main_t * |
vm, |
|
|
u8 * |
intfc_name, |
|
|
u8 * |
hwaddr_arg, |
|
|
u32 * |
sw_if_indexp, |
|
|
u8 |
renumber, |
|
|
u32 |
custom_dev_instance |
|
) |
| |
int vnet_tap_modify |
( |
vlib_main_t * |
vm, |
|
|
u32 |
orig_sw_if_index, |
|
|
u8 * |
intfc_name, |
|
|
u8 * |
hwaddr_arg, |
|
|
u32 * |
sw_if_indexp, |
|
|
u8 |
renumber, |
|
|
u32 |
custom_dev_instance |
|
) |
| |
Initial value:= {
.path = "tap connect",
.short_help = "tap connect <intfc-name> [hwaddr [<addr> | random]]",
}
static clib_error_t * tap_connect_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (tap_connect_command)
Definition at line 1101 of file tapcli.c.
Initial value:= {
.path = "tap delete",
.short_help = "tap delete <vpp-tap-intfc-name>",
}
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 924 of file tapcli.c.
Initial value:= {
.path = "tap modify",
.short_help = "tap modify <vpp-tap-intfc-name> <linux-intfc-name> [hwaddr [<addr> | random]]",
}
static clib_error_t * tap_modify_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (tap_modify_command)
Definition at line 997 of file tapcli.c.
char* tapcli_rx_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
#define foreach_tapcli_error
Definition at line 386 of file tapcli.c.
Initial value:= {
.name = "tapcli-rx",
.state = VLIB_NODE_STATE_INTERRUPT,
.vector_size = 4,
.next_nodes = {
},
}
static char * tapcli_rx_error_strings[]
static uword tapcli_rx(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
u8 * format_tapcli_rx_trace(u8 *s, va_list *va)
(constructor) VLIB_REGISTER_NODE (tapcli_rx_node)
Definition at line 46 of file tapcli.c.
Initial value:= {
.name = "tapcli-tx",
.vector_size = 4,
}
static uword tapcli_tx(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (tapcli_tx_node)
Definition at line 201 of file tapcli.c.