|
CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
|
This file contains definitions and functions for the Adapter Control Interface. More...
#include "adapter_efa_probe.h"#include "adapter_control_interface.h"#include "adapter_api.h"#include "endpoint_manager.h"#include "internal_tx.h"#include "private.h"#include "cdi_os_api.h"Data Structures | |
| struct | ControlInterfaceState |
| Type used to hold control interface state data. More... | |
Functions | |
| CdiReturnStatus | ControlInterfaceInitialize (const char *adapter_ip_addr_str, CdiAdapterHandle *ret_handle_ptr) |
| AdapterConnectionHandle | ControlInterfaceGetConnection (ControlInterfaceHandle handle) |
| AdapterEndpointHandle | ControlInterfaceGetEndpoint (ControlInterfaceHandle handle) |
| CdiPoolHandle | ControlInterfaceGetWorkRequestPoolHandle (ControlInterfaceHandle handle) |
| CdiReturnStatus | ControlInterfaceCreate (const ControlInterfaceConfigData *config_data_ptr, ControlInterfaceHandle *ret_handle_ptr) |
| void | ControlInterfaceDestroy (ControlInterfaceHandle handle) |
This file contains definitions and functions for the Adapter Control Interface.
| CdiReturnStatus ControlInterfaceCreate | ( | const ControlInterfaceConfigData * | config_data_ptr, |
| ControlInterfaceHandle * | ret_handle_ptr ) |
Create a Tx control interface. NOTE: For a receiver (which is a server), we have to get the destination IP and port information from the transmitter (the client) before this function can be used.
| config_data_ptr | Pointer to control interface configuration data. |
| ret_handle_ptr | Address where to write returned handle of the control interface. |
| void ControlInterfaceDestroy | ( | ControlInterfaceHandle | handle | ) |
Destroy a specific TX or RX control interface and free resources that were created for it.
| handle | Handle of control interface to destroy. |
| AdapterConnectionHandle ControlInterfaceGetConnection | ( | ControlInterfaceHandle | handle | ) |
Return the adapter connection associated with the specified control interface.
| handle | Handle of control interface. |
| AdapterEndpointHandle ControlInterfaceGetEndpoint | ( | ControlInterfaceHandle | handle | ) |
Return the adapter endpoint associated with the specified control interface.
| handle | Handle of control interface. |
| CdiPoolHandle ControlInterfaceGetWorkRequestPoolHandle | ( | ControlInterfaceHandle | handle | ) |
Return the handle of the work request pool associated with the specified control interface.
| handle | Handle of control interface. |
| CdiReturnStatus ControlInterfaceInitialize | ( | const char * | adapter_ip_addr_str, |
| CdiAdapterHandle * | ret_handle_ptr ) |
Initialize the control interface using the specific adapter IP and return a handle to the adapter.
| adapter_ip_addr_str | Pointer to adapter's IP address string. |
| ret_handle_ptr | Address where to write returned handle of the adapter. |