FD.io VPP
v18.01.2-1-g9b554f3
Vector Packet Processing
|
Call from VLIB_INIT_FUNCTION to set the Linux kernel inject node name. More...
Go to the source code of this file.
Data Structures | |
struct | vnet_tap_connect_args_t |
arguments structure for vnet_tap_connect, vnet_tap_connect_renumber, etc. More... | |
Functions | |
void | register_tuntap_inject_node_name (char *name) |
int | vnet_tap_connect (vlib_main_t *vm, vnet_tap_connect_args_t *args) |
Connect a tap interface. More... | |
int | vnet_tap_connect_renumber (vlib_main_t *vm, vnet_tap_connect_args_t *args) |
Connect / renumber a tap interface. More... | |
int | vnet_tap_modify (vlib_main_t *vm, vnet_tap_connect_args_t *args) |
Modify a tap interface. More... | |
int | vnet_tap_delete (vlib_main_t *vm, u32 sw_if_index) |
delete a tap interface More... | |
Call from VLIB_INIT_FUNCTION to set the Linux kernel inject node name.
Definition in file tuntap.h.
void register_tuntap_inject_node_name | ( | char * | name | ) |
int vnet_tap_connect | ( | vlib_main_t * | vm, |
vnet_tap_connect_args_t * | ap | ||
) |
Connect a tap interface.
Connect a tap interface.
vm | - vlib_main_t |
ap | - vnet_tap_connect_args_t |
Definition at line 855 of file tapcli.c.
int vnet_tap_connect_renumber | ( | vlib_main_t * | vm, |
vnet_tap_connect_args_t * | ap | ||
) |
Connect / renumber a tap interface.
Connect / renumber a tap interface.
*vm | - vlib_main_t |
*intfc_name | - u8 |
*hwaddr_arg | - u8 |
*sw_if_indexp | - u32 |
renumber | - u8 |
custom_dev_instance | - u32 |
Definition at line 1110 of file tapcli.c.
int vnet_tap_delete | ( | vlib_main_t * | vm, |
u32 | sw_if_index | ||
) |
delete a tap interface
delete a tap interface
*vm | - vlib_main_t |
sw_if_index | - u32 |
Definition at line 1167 of file tapcli.c.
int vnet_tap_modify | ( | vlib_main_t * | vm, |
vnet_tap_connect_args_t * | ap | ||
) |
Modify a tap interface.
Modify a tap interface.
*vm | - vlib_main_t |
orig_sw_if_index | - u32 |
*intfc_name | - u8 |
*hwaddr_arg | - u8 |
*sw_if_indexp | - u32 |
renumber | - u8 |
custom_dev_instance | - u32 |
Definition at line 1264 of file tapcli.c.