FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
tap.c File Reference
+ Include dependency graph for tap.c:

Go to the source code of this file.

Macros

#define TAP_MAX_INSTANCE   1024
 

Functions

static u32 virtio_eth_flag_change (vnet_main_t *vnm, vnet_hw_interface_t *hi, u32 flags)
 
static int open_netns_fd (char *netns)
 
void tap_create_if (vlib_main_t *vm, tap_create_if_args_t *args)
 
int tap_delete_if (vlib_main_t *vm, u32 sw_if_index)
 
int tap_dump_ifs (tap_interface_details_t **out_tapids)
 
static clib_error_ttap_init (vlib_main_t *vm)
 

Variables

tap_main_t tap_main
 

Macro Definition Documentation

#define TAP_MAX_INSTANCE   1024

Definition at line 78 of file tap.c.

Function Documentation

static int open_netns_fd ( char *  netns)
static

Definition at line 61 of file tap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void tap_create_if ( vlib_main_t vm,
tap_create_if_args_t args 
)

Definition at line 81 of file tap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int tap_delete_if ( vlib_main_t vm,
u32  sw_if_index 
)

Definition at line 419 of file tap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int tap_dump_ifs ( tap_interface_details_t **  out_tapids)

Definition at line 459 of file tap.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* tap_init ( vlib_main_t vm)
static

Definition at line 514 of file tap.c.

+ Here is the call graph for this function:

static u32 virtio_eth_flag_change ( vnet_main_t vnm,
vnet_hw_interface_t hi,
u32  flags 
)
static

Definition at line 52 of file tap.c.

+ Here is the caller graph for this function:

Variable Documentation

tap_main_t tap_main

Definition at line 42 of file tap.c.