Go to the source code of this file.
Defines | |
#define | NUT_THREAD_TCPSMSTACK 512 |
#define | TCP_RETRIES_MAX 7 |
Functions | |
int | NutTcpStatePassiveOpenEvent (TCPSOCKET *sock) |
Initiated by the application. | |
int | NutTcpStateActiveOpenEvent (TCPSOCKET *sock) |
Initiated by the application. | |
int | NutTcpStateCloseEvent (TCPSOCKET *sock) |
Socket close by application. | |
int | NutTcpStateWindowEvent (TCPSOCKET *sock) |
Initiated by the application. | |
int | NutTcpStateRetranTimeout (TCPSOCKET *sock) |
Retransmit a segment after ACK timeout. | |
void | NutTcpSm (void *arg) |
TCP state machine thread. | |
void | NutTcpStateMachine (NETBUF *nb) |
Process incoming TCP segments. | |
int | NutTcpInitStateMachine (void) |
Start TCP state machine. | |
int | NutTcpAbortSocket (TCPSOCKET *sock, u_short last_error) |
Closes socket with error. | |
Variables | |
TCPSOCKET * | tcpSocketList |
HANDLE | tcp_in_rdy |
NETBUF *volatile | tcp_in_nbq |
#define NUT_THREAD_TCPSMSTACK 512 |
#define TCP_RETRIES_MAX 7 |