FD.io VPP
v16.09
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.
Functions | |
void | register_tuntap_inject_node_name (char *name) |
int | vnet_tap_connect (vlib_main_t *vm, u8 *intfc_name, u8 *hwaddr_arg, u32 *sw_if_indexp) |
Connect a TAP interface. More... | |
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) |
Renumber a TAP interface. More... | |
int | vnet_tap_delete (vlib_main_t *vm, u32 sw_if_index) |
Delete TAP interface. More... | |
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) |
Modifies tap interface - can result in new interface being created. 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, |
u8 * | intfc_name, | ||
u8 * | hwaddr_arg, | ||
u32 * | sw_if_indexp | ||
) |
Connect a TAP interface.
vm | - vlib_main_t |
intfc_name | - u8 |
hwaddr_arg | - u8 |
sw_if_indexp | - u32 |
Definition at line 813 of file tapcli.c.
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 | ||
) |
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 994 of file tapcli.c.
int vnet_tap_delete | ( | vlib_main_t * | vm, |
u32 | sw_if_index | ||
) |
Delete TAP interface.
*vm | - vlib_main_t |
sw_if_index | - u32 |
Definition at line 1048 of file tapcli.c.
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 | ||
) |
Modifies tap interface - can result in new interface being created.
*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 1139 of file tapcli.c.