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

Structure definition behind the Scatter-Gather List internal data handles shared with the user's application program. Its contents are opaque to the user's program where it only has a pointer to a declared but not defined structure. More...

#include <private.h>

Data Fields

uint32_t magic
 Set to kMagicMem when allocated, checked at every API function to help ensure validity.
 
CdiConnectionHandle cdi_connection_handle
 Which connection this memory state belongs to.
 
CdiEndpointHandle cdi_endpoint_handle
 Which endpoint this belongs to. NOTE: May not be valid if endpoint has been destroyed. Must acquire cdi_connection_handle->endpoint_lock and ensure that cdi_endpoint_handle is valid.
 
CdiBufferType buffer_type
 Indicates which structure of the union is valid.
 
MemoryLinearState linear_state
 The internal state of the structure if handleType is HandleTypeLinear.
 
CdiSgList endpoint_packet_buffer_sgl
 The SGL and entries to be returned to the endpoint's free lists.
 

Detailed Description

Structure definition behind the Scatter-Gather List internal data handles shared with the user's application program. Its contents are opaque to the user's program where it only has a pointer to a declared but not defined structure.


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