The core Transport interface structure, allowing connections and servers to be created at the transport layer. More...
Data Structures | |
struct | DTLTransportFns_t |
The DTLTransport interface function structure, containing a list of function pointers that implement the interface. More... | |
The core Transport interface structure, allowing connections and servers to be created at the transport layer.
The Transport-specific core interface.
This interface is implemented by a transport that is intended to work with the C OAL.
This interface is called by a Transport Handler in the OAL to open outbound connections and start servers.
The connections and servers are separate interfaces, also implemented by the transport, and are also utilized by the Transport Handler.
This structure should be placed as the first element in a larger structure representing any necessary state of the Transport. All of the functions take as their first argument a pointer to this structure (a DTLServer). Inside each function, it can thus be type-cast as a pointer to the larger structure to access the transport's state. If no additional state is required, this structure may be used directly.
Defined as a pointer to the DTLTransport_t structure. Refer to the structure for more information.