CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
Loading...
Searching...
No Matches
TxPayloadState Struct Reference

This defines a structure that contains all of the state information for sending a single payload. More...

#include <private.h>

Data Fields

CdiSgList source_sgl
 Scatter-Gather List of payload entries to free.
 
uint64_t start_time
 Time payload Tx started.
 
uint32_t max_latency_microsecs
 
int group_size_bytes
 The size of the units (pixels, audio samples, etc.) in bytes making up the payload. This is to ensure units are not split between packets within a payload.
 
AppPayloadCallbackData app_payload_cb_data
 Used to hold data for application payload callback.
 
CdiPayloadPacketState payload_packet_state
 CDI packet state data.
 
int data_bytes_transferred
 Number of application payload data bytes transferred.
 
CdiSinglyLinkedList completed_packets_list
 List of packets for current payload that have been acknowledged.
 
CdiEndpointHandle cdi_endpoint_handle
 CDI endpoint to use to send this payload.
 

Detailed Description

This defines a structure that contains all of the state information for sending a single payload.

Field Documentation

◆ max_latency_microsecs

uint32_t TxPayloadState::max_latency_microsecs

Maximum latency in microseconds of time to transfer the payload.


The documentation for this struct was generated from the following file: