otTcpEndpoint Struct Reference

This structure represents a TCP endpoint.

#include < include/openthread/tcp.h >

Public Attributes

union {
uint8_t mSize [ OT_TCP_ENDPOINT_TCB_SIZE_BASE +OT_TCP_ENDPOINT_TCB_NUM_PTR
*sizeof(void *)]
uint64_t mAlign
} mTcb
struct otTcpEndpoint * mNext
A pointer to the next TCP endpoint (internal use only)
void * mContext
A pointer to application-specific context.
otTcpEstablished mEstablishedCallback
"Established" callback function
otTcpSendDone mSendDoneCallback
"Send done" callback function
otTcpForwardProgress mForwardProgressCallback
"Forward progress" callback function
otTcpReceiveAvailable mReceiveAvailableCallback
"Receive available" callback function
otTcpDisconnected mDisconnectedCallback
"Disconnected" callback function
uint32_t mTimers [4]
otLinkedBuffer mReceiveLinks [2]
otSockAddr mSockAddr
uint8_t mPendingCallbacks

This structure represents a TCP endpoint.

An TCP endpoint acts an endpoint of TCP connection. It can be used to initiate TCP connections, and, once a TCP connection is established, send data to and receive data from the connection peer.

The application should not inspect the fields of this structure directly; it should only interact with it via the TCP API functions whose signatures are provided in this file.


The documentation for this struct was generated from the following file:
  • include/openthread/ tcp.h