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

This defines a structure that contains all of the state information for the sending side of a single flow. Its contents are opaque to the calling program. More...

#include <adapter_efa_probe.h>

Data Fields

MessageFromEndpoint app_msg_from_endpoint_func_ptr
 Saved copy of original function pointer.
 
void * app_msg_from_endpoint_param_ptr
 Saved copy of original parameter.
 
AdapterEndpointHandle app_adapter_endpoint_handle
 Handle to the application's endpoint.
 
union { 
 
   TxEndpointProbeState   tx_probe_state 
 The internal state of the structure if app_adapter_endpoint_handle.direction is kEndpointDirectionSend.
 
   RxEndpointProbeState   rx_probe_state 
 The internal state of the structure if app_adapter_endpoint_handle.direction is kEndpointDirectionReceive.
 
};  
 
CdiLogHandle log_handle
 Handle for the logging function.
 
CdiThreadID probe_thread_id
 Data for worker thread used for ProbeThread().
 
CdiFifoHandle control_packet_fifo_handle
 FIFO of control interface packet CdiSgList structures.
 
uint16_t control_packet_num
 Packet number used for each packet on the control interface.
 
CdiCsID ack_lock
 Provides a critical section for all ack data below.
 
bool ack_is_pending
 A command is in progress that expects an ack.
 
ProbeCommand ack_command
 
uint16_t ack_control_packet_num
 Packet number of the ack command being sent. NOTE: The size of this value must match the size of ack_control_packet_num in the structure ControlPacketAck to avoid wrapping problems when comparing the two values.
 
bool send_ack_command_valid
 If true, the data below is valid.
 
ProbeCommand send_ack_command
 Command that needs to have an ACK returned.
 
uint16_t send_ack_control_packet_num
 Packet number for returned ACK.
 
uint8_t send_ack_probe_version
 Probe protocol version supported by ACK receiver.
 
CdiProtocolHandle protocol_handle_sdk
 Protocol handle of the current CDI-SDK version. See: CDI_PROTOCOL_VERSION.CDI_PROTOCOL_MAJOR_VERSION.CDI_PROBE_VERSION.
 
CdiProtocolHandle protocol_handle_v1
 Protocol handle version 1.0.CDI_PROBE_VERSION.
 

Detailed Description

This defines a structure that contains all of the state information for the sending side of a single flow. Its contents are opaque to the calling program.

Field Documentation

◆ ack_command

ProbeCommand ProbeEndpointState::ack_command

The command issued that needs an ack.

◆ probe_thread_id

CdiThreadID ProbeEndpointState::probe_thread_id

Data for worker thread used for ProbeThread().

Thread identifier


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