CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
|
Structure definition used to configure an adapter endpoint. More...
#include <adapter_api.h>
Data Fields | |
CdiAdapterHandle | cdi_adapter_handle |
A handle to the adapter using this connection. | |
CdiConnectionHandle | cdi_connection_handle |
A handle to the CDI connection. | |
EndpointManagerHandle | endpoint_manager_handle |
A handle to the Endpoint Manager for this connection. | |
CdiCoreConnectionCallback | connection_cb_ptr |
Address of connection callback function. | |
CdiUserCbParameter | connection_user_cb_param |
User defined connection callback parameter. | |
CdiLogHandle | log_handle |
A handle to the log to use for this endpoint. | |
EndpointDirection | direction |
Indicates whether the endpoint will be used for sending or for receiving packets. | |
int | port_number |
For send type endpoints, the port number on the remote host to connect to. For receive type endpoints, the port number on the local host to listen to. | |
const char * | bind_ip_addr_str |
Address IP to bind to. | |
int | shared_thread_id |
Identifier of poll thread to associate with this connection. Specify -1 to create a unique poll thread only used by this connection. | |
int | thread_core_num |
The core to dedicate to this connection's hardware poll thread. The value is the 0-based CPU number or -1 to disable pinning the thread to a specific core. | |
RxAdapterConnectionState | rx_state |
Valid if direction = kEndpointDirectionReceive or kEndpointDirectionBidirectional. | |
EndpointDataType | data_type |
Indicates the type of transmission data this endpoint supports. | |
Structure definition used to configure an adapter endpoint.