FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
tuntap.h File Reference

Call from VLIB_INIT_FUNCTION to set the Linux kernel inject node name. More...

+ This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Call from VLIB_INIT_FUNCTION to set the Linux kernel inject node name.

Definition in file tuntap.h.

Function Documentation

◆ register_tuntap_inject_node_name()

void register_tuntap_inject_node_name ( char *  name)

◆ vnet_tap_connect()

int vnet_tap_connect ( vlib_main_t vm,
vnet_tap_connect_args_t args 
)

Connect a tap interface.

◆ vnet_tap_connect_renumber()

int vnet_tap_connect_renumber ( vlib_main_t vm,
vnet_tap_connect_args_t args 
)

Connect / renumber a tap interface.

◆ vnet_tap_delete()

int vnet_tap_delete ( vlib_main_t vm,
u32  sw_if_index 
)

delete a tap interface

◆ vnet_tap_modify()

int vnet_tap_modify ( vlib_main_t vm,
vnet_tap_connect_args_t args 
)

Modify a tap interface.