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

This defines a structure that contains all of the state information for the receiving side of a payload's work request. The lifespan of the data begins when packet #0 (CDI header) of a Rx CDI packet is received and ends when the user-registered CdiRawRxCallback() Rx callback function is invoked. More...

#include <private.h>

Data Fields

CdiPayloadType payload_type
 Payload type from CDI packet #0 header (app or keep alive).
 
CdiMemoryStatepayload_memory_state_ptr
 Pointer to memory state of the Rx payload.
 
AppPayloadCallbackData app_payload_cb_data
 Used to hold data for application payload callback.
 
uint64_t start_time
 Time payload Rx started.
 
uint32_t max_latency_microsecs
 Maximum latency in microseconds of time to transmit the payload.
 

Detailed Description

This defines a structure that contains all of the state information for the receiving side of a payload's work request. The lifespan of the data begins when packet #0 (CDI header) of a Rx CDI packet is received and ends when the user-registered CdiRawRxCallback() Rx callback function is invoked.


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