Go to the source code of this file.
|
static int | vpp_daq_qpair_lock (VPPQueuePair *p) |
|
static void | vpp_daq_qpair_unlock (VPPQueuePair *p) |
|
static int | vpp_daq_module_load (const DAQ_BaseAPI_t *base_api) |
|
static int | vpp_daq_module_unload (void) |
|
static int | vpp_daq_get_variable_descs (const DAQ_VariableDesc_t **var_desc_table) |
|
static int | vpp_daq_recvmsg (int fd, daq_vpp_msg_t *msg, int n_fds, int *fds) |
|
static void | vpp_daq_destroy (void *handle) |
|
static int | vpp_daq_instantiate (const DAQ_ModuleConfig_h modcfg, DAQ_ModuleInstance_h modinst, void **ctxt_ptr) |
|
static int | vpp_daq_start (void *handle) |
|
static int | vpp_daq_interrupt (void *handle) |
|
static int | vpp_daq_get_stats (void *handle, DAQ_Stats_t *stats) |
|
static void | vpp_daq_reset_stats (void *handle) |
|
static uint32_t | vpp_daq_get_capabilities (void *handle) |
|
static int | vpp_daq_get_datalink_type (void *handle) |
|
static uint32_t | vpp_daq_msg_receive_one (VPP_Context_t *vc, VPPQueuePair *qp, const DAQ_Msg_t *msgs[], unsigned max_recv) |
|
static unsigned | vpp_daq_msg_receive (void *handle, const unsigned max_recv, const DAQ_Msg_t *msgs[], DAQ_RecvStatus *rstat) |
|
static int | vpp_daq_msg_finalize (void *handle, const DAQ_Msg_t *msg, DAQ_Verdict verdict) |
|
static int | vpp_daq_get_msg_pool_info (void *handle, DAQ_MsgPoolInfo_t *info) |
|
◆ DAQ_VPP_VERSION
#define DAQ_VPP_VERSION 1 |
◆ ERR
Value: { \
SET_ERROR (modinst, __VA_ARGS__); \
goto err; \
}
Definition at line 257 of file daq_vpp.c.
◆ SET_ERROR
#define SET_ERROR |
( |
|
modinst, |
|
|
|
... |
|
) |
| daq_base_api.set_errbuf (modinst, __VA_ARGS__) |
◆ VPP_DAQ_PAUSE
#define VPP_DAQ_PAUSE |
( |
| ) |
__builtin_ia32_pause () |
◆ VPP_Context_t
◆ VPPBufferPool
◆ VPPDescData
◆ VPPMsgPool
◆ VPPQueuePair
◆ daq_vpp_input_mode_t
Enumerator |
---|
DAQ_VPP_INPUT_MODE_INTERRUPT | |
DAQ_VPP_INPUT_MODE_POLLING | |
Definition at line 77 of file daq_vpp.c.
◆ vpp_daq_destroy()
static void vpp_daq_destroy |
( |
void * |
handle | ) |
|
|
static |
◆ vpp_daq_get_capabilities()
static uint32_t vpp_daq_get_capabilities |
( |
void * |
handle | ) |
|
|
static |
◆ vpp_daq_get_datalink_type()
static int vpp_daq_get_datalink_type |
( |
void * |
handle | ) |
|
|
static |
◆ vpp_daq_get_msg_pool_info()
static int vpp_daq_get_msg_pool_info |
( |
void * |
handle, |
|
|
DAQ_MsgPoolInfo_t * |
info |
|
) |
| |
|
static |
◆ vpp_daq_get_stats()
static int vpp_daq_get_stats |
( |
void * |
handle, |
|
|
DAQ_Stats_t * |
stats |
|
) |
| |
|
static |
◆ vpp_daq_get_variable_descs()
static int vpp_daq_get_variable_descs |
( |
const DAQ_VariableDesc_t ** |
var_desc_table | ) |
|
|
static |
◆ vpp_daq_instantiate()
static int vpp_daq_instantiate |
( |
const DAQ_ModuleConfig_h |
modcfg, |
|
|
DAQ_ModuleInstance_h |
modinst, |
|
|
void ** |
ctxt_ptr |
|
) |
| |
|
static |
◆ vpp_daq_interrupt()
static int vpp_daq_interrupt |
( |
void * |
handle | ) |
|
|
static |
◆ vpp_daq_module_load()
static int vpp_daq_module_load |
( |
const DAQ_BaseAPI_t * |
base_api | ) |
|
|
static |
◆ vpp_daq_module_unload()
static int vpp_daq_module_unload |
( |
void |
| ) |
|
|
static |
◆ vpp_daq_msg_finalize()
static int vpp_daq_msg_finalize |
( |
void * |
handle, |
|
|
const DAQ_Msg_t * |
msg, |
|
|
DAQ_Verdict |
verdict |
|
) |
| |
|
static |
◆ vpp_daq_msg_receive()
static unsigned vpp_daq_msg_receive |
( |
void * |
handle, |
|
|
const unsigned |
max_recv, |
|
|
const DAQ_Msg_t * |
msgs[], |
|
|
DAQ_RecvStatus * |
rstat |
|
) |
| |
|
static |
◆ vpp_daq_msg_receive_one()
static uint32_t vpp_daq_msg_receive_one |
( |
VPP_Context_t * |
vc, |
|
|
VPPQueuePair * |
qp, |
|
|
const DAQ_Msg_t * |
msgs[], |
|
|
unsigned |
max_recv |
|
) |
| |
|
inlinestatic |
◆ vpp_daq_qpair_lock()
◆ vpp_daq_qpair_unlock()
◆ vpp_daq_recvmsg()
static int vpp_daq_recvmsg |
( |
int |
fd, |
|
|
daq_vpp_msg_t * |
msg, |
|
|
int |
n_fds, |
|
|
int * |
fds |
|
) |
| |
|
static |
◆ vpp_daq_reset_stats()
static void vpp_daq_reset_stats |
( |
void * |
handle | ) |
|
|
static |
◆ vpp_daq_start()
static int vpp_daq_start |
( |
void * |
handle | ) |
|
|
static |
◆ daq_base_api
DAQ_BaseAPI_t daq_base_api |
|
static |
◆ DAQ_MODULE_DATA
const DAQ_SO_PUBLIC DAQ_ModuleAPI_t DAQ_MODULE_DATA |
Initial value:= {
DAQ_MODULE_API_VERSION,
sizeof (DAQ_ModuleAPI_t),
"vpp",
DAQ_TYPE_INTF_CAPABLE | DAQ_TYPE_INLINE_CAPABLE |
DAQ_TYPE_MULTI_INSTANCE,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
}
Definition at line 689 of file daq_vpp.c.
◆ global_vpp_ctx
◆ vpp_variable_descriptions
DAQ_VariableDesc_t vpp_variable_descriptions[] |
|
static |
Initial value:= {
{ "debug", "Enable debugging output to stdout",
DAQ_VAR_DESC_FORBIDS_ARGUMENT },
}
Definition at line 32 of file daq_vpp.c.