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

This structure defines a scatter-gather list (SGL) which is used to represent an array of data comprising one or more contiguous regions of memory. More...

#include <cdi_core_api.h>

Data Fields

int total_data_size
 Total size of data in the list, in units of bytes. This value can be calculated by walking the sgl_array, but is provided here for convenience and efficiency. NOTE: This value must be the same as the value calculated from walking the list and summing the size_in_bytes for each CdiSglEntry.
 
CdiSglEntrysgl_head_ptr
 Pointer to the first entry in the singly-linked list of SGL entries.
 
CdiSglEntrysgl_tail_ptr
 Pointer to the last entry in the singly-linked list of SGL entries.
 
void * internal_data_ptr
 Handle to internal data used within the SDK that relates to this SGL. Do not use or modify this value.
 

Detailed Description

This structure defines a scatter-gather list (SGL) which is used to represent an array of data comprising one or more contiguous regions of memory.


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