|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
18 #ifndef vapi_common_h_included
19 #define vapi_common_h_included
57 #define VAPI_INVALID_MSG_ID ((vapi_msg_id_t)(~0))
@ VAPI_WAIT_FOR_READ_WRITE
wait until a read or write can be done
@ VAPI_MODE_NONBLOCKING
operations never block
@ VAPI_MODE_BLOCKING
operations block until response received
@ VAPI_EAGAIN
operation would block
@ VAPI_EINCOMPATIBLE
fundamental incompatibility while connecting to vpp (control ping/control ping reply mismatch)
unsigned int vapi_msg_id_t
@ VAPI_WAIT_FOR_READ
wait until some message is readable
@ VAPI_ENORESP
no response to request
@ VAPI_EUSER
user error used for breaking dispatch, never used by VAPI
@ VAPI_WAIT_FOR_WRITE
wait until a message can be written
@ VAPI_ECON_FAIL
failure while connecting to vpp
@ VAPI_ENOMEM
out of memory
@ VAPI_EMAP_FAIL
failure while mapping api
@ VAPI_ENOTSUP
operation not supported
@ VAPI_EINVAL
invalid value encountered
@ VAPI_MUTEX_FAILURE
failure manipulating internal mutex(es)