otTcpEndpoint
#include <tcp.h>
This structure represents a TCP endpoint.
Summary
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 |
|
---|---|
mAlign
|
uint64_t
|
mContext
|
void *
A pointer to application-specific context.
|
mDisconnectedCallback
|
"Disconnected" callback function
|
mEstablishedCallback
|
"Established" callback function
|
mForwardProgressCallback
|
"Forward progress" callback function
|
mNext
|
struct otTcpEndpoint *
A pointer to the next TCP endpoint (internal use only)
|
mPendingCallbacks
|
uint8_t
|
mReceiveAvailableCallback
|
"Receive available" callback function
|
mReceiveLinks[2]
|
|
mSendDoneCallback
|
"Send done" callback function
|
mSize[368+36 *sizeof(void *)]
|
uint8_t
|
mSockAddr
|
|
mTcb
|
union otTcpEndpoint::@32
|
mTimers[4]
|
uint32_t
|
Public attributes
mAlign
uint64_t otTcpEndpoint::mAlign
mContext
void * otTcpEndpoint::mContext
A pointer to application-specific context.
mDisconnectedCallback
otTcpDisconnected otTcpEndpoint::mDisconnectedCallback
"Disconnected" callback function
mEstablishedCallback
otTcpEstablished otTcpEndpoint::mEstablishedCallback
"Established" callback function
mForwardProgressCallback
otTcpForwardProgress otTcpEndpoint::mForwardProgressCallback
"Forward progress" callback function
mNext
struct otTcpEndpoint * otTcpEndpoint::mNext
A pointer to the next TCP endpoint (internal use only)
mPendingCallbacks
uint8_t otTcpEndpoint::mPendingCallbacks
mReceiveAvailableCallback
otTcpReceiveAvailable otTcpEndpoint::mReceiveAvailableCallback
"Receive available" callback function
mReceiveLinks
otLinkedBuffer otTcpEndpoint::mReceiveLinks[2]
mSize
uint8_t otTcpEndpoint::mSize[368+36 *sizeof(void *)]