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.
Public Attributes#
A pointer to the next TCP endpoint (internal use only)
A pointer to application-specific context.
"Established" callback function
"Send done" callback function
"Forward progress" callback function
"Receive available" callback function
"Disconnected" callback function
Public Attribute Documentation#
mSize#
uint8_t otTcpEndpoint::mSize[OT_TCP_ENDPOINT_TCB_SIZE_BASE+OT_TCP_ENDPOINT_TCB_NUM_PTR *sizeof(void *)]
247
of file include/openthread/tcp.h
mTcb#
union otTcpEndpoint::@27 otTcpEndpoint::mTcb
249
of file include/openthread/tcp.h
mNext#
struct otTcpEndpoint* otTcpEndpoint::mNext
A pointer to the next TCP endpoint (internal use only)
251
of file include/openthread/tcp.h
mContext#
void* otTcpEndpoint::mContext
A pointer to application-specific context.
252
of file include/openthread/tcp.h
mEstablishedCallback#
otTcpEstablished otTcpEndpoint::mEstablishedCallback
"Established" callback function
254
of file include/openthread/tcp.h
mSendDoneCallback#
otTcpSendDone otTcpEndpoint::mSendDoneCallback
"Send done" callback function
255
of file include/openthread/tcp.h
mForwardProgressCallback#
otTcpForwardProgress otTcpEndpoint::mForwardProgressCallback
"Forward progress" callback function
256
of file include/openthread/tcp.h
mReceiveAvailableCallback#
otTcpReceiveAvailable otTcpEndpoint::mReceiveAvailableCallback
"Receive available" callback function
257
of file include/openthread/tcp.h
mDisconnectedCallback#
otTcpDisconnected otTcpEndpoint::mDisconnectedCallback
"Disconnected" callback function
258
of file include/openthread/tcp.h
mReceiveLinks#
otLinkedBuffer otTcpEndpoint::mReceiveLinks[2]
262
of file include/openthread/tcp.h
mSockAddr#
otSockAddr otTcpEndpoint::mSockAddr
263
of file include/openthread/tcp.h
mPendingCallbacks#
uint8_t otTcpEndpoint::mPendingCallbacks
265
of file include/openthread/tcp.h