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

This defines a structure that contains all of the state information for the receiving side of a payload. The data is only required internally by the RxPacketReceive() function and not used elsewhere. More...

#include <private.h>

Data Fields

CdiListEntry list_entry
 Allows this structure to be used as part of a list.
 
CdiPayloadState payload_state
 Current processing state of this payload (ie. idle, in progress, etc).
 
RxPayloadWorkRequestState work_request_state
 Rx work request state.
 
int payload_num
 Payload number obtained from CDI packet #0 header.
 
int packet_count
 Number of Rx packets in this payload.
 
int ignore_packet_count
 Number of Rx packets received since payload was set to ignore state.
 
bool suspend_warnings
 Use this flag to suspend packet warnings for a payload.
 
int expected_payload_data_size
 Expected total payload size in bytes obtained from CDI packet #0 header.
 
int data_bytes_received
 Number of payload bytes received.
 
CdiReorderListreorder_list_ptr
 Pointer to what will end up being the single SGL that comprises the payload.
 
uint32_t last_total_packet_count
 Value of total_packet_count when most recent packet of the payload was received.
 
uint8_t * linear_buffer_ptr
 Address to be used if assembling into a linear buffer.
 

Detailed Description

This defines a structure that contains all of the state information for the receiving side of a payload. The data is only required internally by the RxPacketReceive() function and not used elsewhere.


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