FD.io VPP  v18.01.2-1-g9b554f3
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

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

#define TAP_MTU_DEFAULT   1500

Definition at line 52 of file tapcli.h.

#define TAP_MTU_MAX   65535

Definition at line 51 of file tapcli.h.

#define TAP_MTU_MIN   68

Definition at line 50 of file tapcli.h.

Enumeration Type Documentation

Enumerator
TAPCLI_N_ERROR 

Definition at line 33 of file tapcli.h.

Function Documentation

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 781 of file tapcli.c.

+ Here is the caller graph for this function: