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

This defines a structure that contains the state information for an Rx endpoint. The data is only required internally by the RxPacketReceive() API and not used elsewhere. More...

#include <private.h>

Data Fields

uint32_t total_packet_count
 The total number of packets received since the connection was established. Value wraps to zero, so must use wrap logic when calculating differences.
 
CdiQueueHandle free_buffer_queue_handle
 Circular queue of CdiSgList structures.
 
RxPayloadStatepayload_state_array_ptr [CDI_MAX_RX_PAYLOAD_OUT_OF_ORDER_BUFFER]
 Current state of the payload number being processed. Array is addressed by payload_num, masked by CDI_MAX_RX_PAYLOAD_OUT_OF_ORDER_BUFFER-1.
 
int rxreorder_current_index
 The current payload_state_array_ptr index that is pending completion or an error state, waiting to be sent in payload sequence order.
 
int rxreorder_buffered_packet_count
 The number of packets that are currently buffered in the Rx payload reorder process.
 

Detailed Description

This defines a structure that contains the state information for an Rx endpoint. The data is only required internally by the RxPacketReceive() API and not used elsewhere.


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