367 int max_latency_microsecs);
402 int max_latency_microsecs);
CDI_INTERFACE CdiReturnStatus CdiAvmTxStreamConnectionCreate(CdiTxConfigData *config_data_ptr, CdiAvmTxCallback tx_cb_ptr, CdiConnectionHandle *ret_handle_ptr)
Definition cdi_avm_api.c:58
CDI_INTERFACE CdiReturnStatus CdiAvmTxCreate(CdiTxConfigData *config_data_ptr, CdiAvmTxCallback tx_cb_ptr, CdiConnectionHandle *ret_handle_ptr)
Definition cdi_avm_api.c:48
CDI_INTERFACE CdiReturnStatus CdiAvmStreamEndpointDestroy(CdiEndpointHandle handle)
Definition cdi_avm_api.c:75
CDI_INTERFACE CdiReturnStatus CdiAvmRxCreate(CdiRxConfigData *config_data_ptr, CdiAvmRxCallback rx_cb_ptr, CdiConnectionHandle *ret_handle_ptr)
Definition cdi_avm_api.c:81
void(* CdiAvmTxCallback)(const CdiAvmTxCbData *data_ptr)
Prototype of transmit data callback function. The user code must implement a function with this proto...
Definition cdi_avm_api.h:207
void(* CdiAvmRxCallback)(const CdiAvmRxCbData *data_ptr)
Prototype of receive data callback function. The user code must implement a function with this protot...
Definition cdi_avm_api.h:185
CDI_INTERFACE CdiReturnStatus CdiAvmEndpointTxPayload(CdiEndpointHandle endpoint_handle, const CdiAvmTxPayloadConfig *payload_config_ptr, const CdiAvmConfig *avm_config_ptr, const CdiSgList *sgl_ptr, int max_latency_microsecs)
Definition cdi_avm_api.c:101
CDI_INTERFACE CdiReturnStatus CdiAvmTxStreamEndpointCreate(CdiConnectionHandle handle, CdiTxConfigDataStream *stream_config_ptr, CdiEndpointHandle *ret_handle_ptr)
Definition cdi_avm_api.c:69
CDI_INTERFACE CdiReturnStatus CdiAvmTxPayload(CdiConnectionHandle con_handle, const CdiAvmTxPayloadConfig *payload_config_ptr, const CdiAvmConfig *avm_config_ptr, const CdiSgList *sgl_ptr, int max_latency_microsecs)
Definition cdi_avm_api.c:91
This file declares the public API data types, structures and functions that comprise the CDI low-leve...
CdiReturnStatus
Values used for API function return codes.
Definition cdi_core_api.h:189
This file declares the public API data types, structures and functions that comprise the CDI Raw payl...
#define CDI_INTERFACE
Specify C linkage when compiling as C++ and define API interface export for Windows.
Definition cdi_utility_api.h:34
This is the generic AVM configuration structure which describes the format of each stream.
Definition cdi_avm_api.h:113
int data_size
The length of the data in bytes. Valid values are 0 through 1024, inclusive.
Definition cdi_avm_api.h:133
A structure of this type is passed as the parameter to CdiAvmRxCallback(). It contains a single paylo...
Definition cdi_avm_api.h:157
CdiCoreCbData core_cb_data
Core common data shared between registered user TX/RX callback functions.
Definition cdi_avm_api.h:159
CdiSgList sgl
If no error occurred, the payload's data is a scatter-gather list. If the payload is in linear format...
Definition cdi_avm_api.h:172
CdiAvmConfig * config_ptr
An optionally provided pointer to an AVM configuration structure. This is NULL unless a configuration...
Definition cdi_avm_api.h:168
CdiAvmExtraData avm_extra_data
Extra data sent along with the AVM payload.
Definition cdi_avm_api.h:162
A structure of this type is passed as the parameter to CdiAvmTxCallback(). It contains data related t...
Definition cdi_avm_api.h:191
CdiAvmExtraData avm_extra_data
Extra data that was sent along with the payload.
Definition cdi_avm_api.h:196
CdiCoreCbData core_cb_data
Core common data shared between registered user TX/RX callback functions.
Definition cdi_avm_api.h:193
A structure used to configure a AVM transmit payload.
Definition cdi_avm_api.h:144
CdiAvmExtraData avm_extra_data
AVM extra data that is sent along with the payload.
Definition cdi_avm_api.h:150
CdiCoreTxPayloadConfig core_config_data
Core extra data. Part of the data is sent along with the payload and part is passed to the TX registe...
Definition cdi_avm_api.h:147
Structure definition behind the connection handles shared with the user's application program....
Definition private.h:371
A structure of this type is passed as part of the data to the TX/RX registered user callback function...
Definition cdi_core_api.h:418
A structure used to configure a transmit payload.
Definition cdi_core_api.h:351
Structure definition behind the connection handles shared with the user's application program....
Definition private.h:330
Configuration data used by one of the Cdi...RxCreate() API functions.
Definition cdi_core_api.h:760
This structure defines a scatter-gather list (SGL) which is used to represent an array of data compri...
Definition cdi_core_api.h:728
Stream configuration data used by the CdiAvmTxStreamEndpointCreate() API function.
Definition cdi_avm_api.h:212
const char * dest_ip_addr_str
The IP address of the host which is to receive the flow from this transmit stream....
Definition cdi_avm_api.h:215
const char * stream_name_str
Pointer to name of the stream. It is used as an identifier when generating log messages that are spec...
Definition cdi_avm_api.h:224
int dest_port
The port number to use at the receiving host. The range of valid values is 1 to 65535,...
Definition cdi_avm_api.h:219
Configuration data used by one of the Cdi...TxCreate() API functions.
Definition cdi_core_api.h:624
static uint8_t data[]
Definition test_unit_sgl.c:56