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#

uint8_t
uint64_t
union otTcpEndpoint::@23
struct otTcpEndpoint *

A pointer to the next TCP endpoint (internal use only)

void *

A pointer to application-specific context.

"Established" callback function

"Send done" callback function

"Forward progress" callback function

"Receive available" callback function

"Disconnected" callback function

uint32_t

Public Attribute Documentation#

mSize#

uint8_t otTcpEndpoint::mSize[OT_TCP_ENDPOINT_TCB_SIZE_BASE+OT_TCP_ENDPOINT_TCB_NUM_PTR *sizeof(void *)]

Definition at line 238 of file include/openthread/tcp.h

mAlign#

uint64_t otTcpEndpoint::mAlign

Definition at line 239 of file include/openthread/tcp.h

mTcb#

union otTcpEndpoint::@23 otTcpEndpoint::mTcb

Definition at line 240 of file include/openthread/tcp.h

mNext#

struct otTcpEndpoint* otTcpEndpoint::mNext

A pointer to the next TCP endpoint (internal use only)


Definition at line 242 of file include/openthread/tcp.h

mContext#

void* otTcpEndpoint::mContext

A pointer to application-specific context.


Definition at line 243 of file include/openthread/tcp.h

mEstablishedCallback#

otTcpEstablished otTcpEndpoint::mEstablishedCallback

"Established" callback function


Definition at line 245 of file include/openthread/tcp.h

mSendDoneCallback#

otTcpSendDone otTcpEndpoint::mSendDoneCallback

"Send done" callback function


Definition at line 246 of file include/openthread/tcp.h

mForwardProgressCallback#

otTcpForwardProgress otTcpEndpoint::mForwardProgressCallback

"Forward progress" callback function


Definition at line 247 of file include/openthread/tcp.h

mReceiveAvailableCallback#

otTcpReceiveAvailable otTcpEndpoint::mReceiveAvailableCallback

"Receive available" callback function


Definition at line 248 of file include/openthread/tcp.h

mDisconnectedCallback#

otTcpDisconnected otTcpEndpoint::mDisconnectedCallback

"Disconnected" callback function


Definition at line 249 of file include/openthread/tcp.h

mTimers#

uint32_t otTcpEndpoint::mTimers[4]

Definition at line 251 of file include/openthread/tcp.h

mReceiveLinks#

otLinkedBuffer otTcpEndpoint::mReceiveLinks[2]

Definition at line 253 of file include/openthread/tcp.h

mSockAddr#

otSockAddr otTcpEndpoint::mSockAddr

Definition at line 254 of file include/openthread/tcp.h

mPendingCallbacks#

uint8_t otTcpEndpoint::mPendingCallbacks

Definition at line 256 of file include/openthread/tcp.h