CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
|
#include <adapter_api.h>
Data Fields | ||
CdiSinglyLinkedListEntry | list_entry | |
This member is needed for these to be members of a list. | ||
CdiSgList | sg_list | |
List of buffer fragments that comprise the packet's data. | ||
bool | payload_last_packet | |
True if last packet of a payload. | ||
union { | ||
struct TxState { | ||
AdapterPacketAckStatus ack_status | ||
Status of the packet. | ||
} tx_state | ||
}; | ||
union { | ||
struct SocketAdapterState { | ||
struct sockaddr_in address | ||
Socket address. If packet is being transmitted, this contains the address of the sender, otherwise it contains the packet destination address. | ||
} socket_adapter_state | ||
}; | ||
Structure to represent a single packet that can also belong to a list of packets.