FD.io VPP
v18.07-rc0-415-g6c78436
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | INVALID_MSG_ID ((vapi_msg_id_t)(~0)) |
Typedefs | |
typedef unsigned int | vapi_msg_id_t |
Enumerations | |
enum | vapi_error_e { VAPI_OK = 0, VAPI_EINVAL, VAPI_EAGAIN, VAPI_ENOTSUP, VAPI_ENOMEM, VAPI_ENORESP, VAPI_EMAP_FAIL, VAPI_ECON_FAIL, VAPI_EINCOMPATIBLE, VAPI_MUTEX_FAILURE, VAPI_EUSER } |
enum | vapi_mode_e { VAPI_MODE_BLOCKING = 1, VAPI_MODE_NONBLOCKING = 2 } |
enum | vapi_wait_mode_e { VAPI_WAIT_FOR_READ, VAPI_WAIT_FOR_WRITE, VAPI_WAIT_FOR_READ_WRITE } |
#define INVALID_MSG_ID ((vapi_msg_id_t)(~0)) |
Definition at line 57 of file vapi_common.h.
typedef unsigned int vapi_msg_id_t |
Definition at line 55 of file vapi_common.h.
enum vapi_error_e |
Definition at line 25 of file vapi_common.h.
enum vapi_mode_e |
Enumerator | |
---|---|
VAPI_MODE_BLOCKING |
operations block until response received |
VAPI_MODE_NONBLOCKING |
operations never block |
Definition at line 42 of file vapi_common.h.
enum vapi_wait_mode_e |
Enumerator | |
---|---|
VAPI_WAIT_FOR_READ |
wait until some message is readable |
VAPI_WAIT_FOR_WRITE |
wait until a message can be written |
VAPI_WAIT_FOR_READ_WRITE |
wait until a read or write can be done |
Definition at line 48 of file vapi_common.h.