FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
tapcli.h File Reference

TAPCLI definitions. More...

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

Go to the source code of this file.

Data Structures

struct  tapcli_interface_details_t
 TAP CLI interface details struct. More...
 

Macros

#define foreach_tapcli_error
 TAP CLI errors. More...
 
#define TAP_MTU_MIN   68
 
#define TAP_MTU_MAX   65535
 
#define TAP_MTU_DEFAULT   1500
 

Enumerations

enum  tapcli_error_t { TAPCLI_N_ERROR }
 

Functions

int vnet_tap_dump_ifs (tapcli_interface_details_t **out_tapids)
 Dump TAP interfaces. More...
 

Detailed Description

TAPCLI definitions.

Definition in file tapcli.h.

Macro Definition Documentation

◆ foreach_tapcli_error

#define foreach_tapcli_error
Value:
/* Must be first. */ \
_(NONE, "no error") \
_(READ, "read error") \
_(BUFFER_ALLOC, "buffer allocation error") \
_(UNKNOWN, "unknown error")

TAP CLI errors.

Definition at line 26 of file tapcli.h.

◆ TAP_MTU_DEFAULT

#define TAP_MTU_DEFAULT   1500

Definition at line 52 of file tapcli.h.

◆ TAP_MTU_MAX

#define TAP_MTU_MAX   65535

Definition at line 51 of file tapcli.h.

◆ TAP_MTU_MIN

#define TAP_MTU_MIN   68

Definition at line 50 of file tapcli.h.

Enumeration Type Documentation

◆ tapcli_error_t

Enumerator
TAPCLI_N_ERROR 

Definition at line 33 of file tapcli.h.

Function Documentation

◆ vnet_tap_dump_ifs()

int vnet_tap_dump_ifs ( tapcli_interface_details_t **  out_tapids)

Dump TAP interfaces.

Parameters
**out_tapids- tapcli_interface_details_t
Returns
rc - int

Definition at line 784 of file tapcli.c.

+ Here is the caller graph for this function: