FD.io VPP
v19.01.3-6-g70449b9b9
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 858 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 1112 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 1169 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 1266 of file tapcli.c.