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

Union of decoded probe headers. Use to reserve memory that can be used to hold any type of decoded CDI probe header. Decoded headers are protocol independent. More...

#include <protocol.h>

Data Fields

CdiProtocolVersionNumber senders_version
 Sender's CDI protocol version number.
 
ProbeCommand command
 Sender's command.
 
union { 
 
   CdiDecodedProbeCommand   command_packet 
 < Valid if command is not kProbeCommandAck. Command packet transmitted over the control interface. More...
 
   CdiDecodedProbeAck   ack_packet 
 
};  
 
const char * senders_ip_str
 Pointer to sender's IP address.
 
const uint8_t * senders_gid_array
 Pointer to sender's device GID. contains GID + QPN (see efa_ep_addr).
 
const char * senders_stream_name_str
 Pointer to sender's stream name string.
 
int senders_stream_identifier
 Only valid for probe version 2.
 
uint16_t senders_control_dest_port
 Sender's control interface destination port. Sent from Tx (client) to Rx (server) so the Rx can establish a transmit connection back to the Tx.
 
uint16_t control_packet_num
 Probe packet number that is incremented for each command sent. Value begins at zero when a new connection is established and is only unique to the connection.
 

Detailed Description

Union of decoded probe headers. Use to reserve memory that can be used to hold any type of decoded CDI probe header. Decoded headers are protocol independent.

Field Documentation

◆ command_packet

CdiDecodedProbeCommand CdiDecodedProbeHeader::command_packet

< Valid if command is not kProbeCommandAck. Command packet transmitted over the control interface.

Valid if command is kProbeCommandAck. ACK packet transmitted over the control interface.


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