Represents a TCP endpoint.
A 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 *)]
238
of file include/openthread/tcp.h
mTcb#
union otTcpEndpoint::@23 otTcpEndpoint::mTcb
240
of file include/openthread/tcp.h
mNext#
struct otTcpEndpoint* otTcpEndpoint::mNext
A pointer to the next TCP endpoint (internal use only)
242
of file include/openthread/tcp.h
mContext#
void* otTcpEndpoint::mContext
A pointer to application-specific context.
243
of file include/openthread/tcp.h
mEstablishedCallback#
otTcpEstablished otTcpEndpoint::mEstablishedCallback
"Established" callback function
245
of file include/openthread/tcp.h
mSendDoneCallback#
otTcpSendDone otTcpEndpoint::mSendDoneCallback
"Send done" callback function
246
of file include/openthread/tcp.h
mForwardProgressCallback#
otTcpForwardProgress otTcpEndpoint::mForwardProgressCallback
"Forward progress" callback function
247
of file include/openthread/tcp.h
mReceiveAvailableCallback#
otTcpReceiveAvailable otTcpEndpoint::mReceiveAvailableCallback
"Receive available" callback function
248
of file include/openthread/tcp.h
mDisconnectedCallback#
otTcpDisconnected otTcpEndpoint::mDisconnectedCallback
"Disconnected" callback function
249
of file include/openthread/tcp.h
mReceiveLinks#
otLinkedBuffer otTcpEndpoint::mReceiveLinks[2]
253
of file include/openthread/tcp.h
mSockAddr#
otSockAddr otTcpEndpoint::mSockAddr
254
of file include/openthread/tcp.h
mPendingCallbacks#
uint8_t otTcpEndpoint::mPendingCallbacks
256
of file include/openthread/tcp.h