FD.io VPP  v16.12-rc0-308-g931be3a
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 50 of file tapcli.h.

#define TAP_MTU_MAX   65535

Definition at line 49 of file tapcli.h.

#define TAP_MTU_MIN   68

Definition at line 48 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 751 of file tapcli.c.

+ Here is the caller graph for this function: