Functions | |
void | NutTcpInput (NETBUF *nb) |
Process incoming TCP segments from IP layer. | |
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. | |
void | NutTcpStateRetranTimeout (TCPSOCKET *sock) |
Retransmit a segment after ACK timeout. | |
NutTcpSm (void *arg) | |
TCP state machine thread. | |
void | NutTcpStateMachine (NETBUF *nb) |
Process incoming TCP segments. | |
int | NutTcpInitStateMachine (void) |
Start TCP state machine. | |
int | IsInLimits (u_long x, u_long low, u_long high) |
Sequence number comparisons. |
TCP provides reliable, in-sequence delivery of a full-duplex stream of octets. It is used by applications which need a reliable, connection-oriented data transport.
|
Sequence number comparisons. Return true if x is between low and high inclusive, false otherwise |
|
Start TCP state machine.
|
|
Process incoming TCP segments from IP layer.
|
|
Initiated by the application. Optionally specify the local IP address.
|
|
Socket close by application. If socket is in state SYN_RECEIVED or ESTABLISHED, it is changed to FINWAIT1. No further data sending is accepted. Receiving is still allowed.
|
|
Process incoming TCP segments.
|
|
Initiated by the application.
|
|
Retransmit a segment after ACK timeout. This function is called by the TCP timer.
|
|
Initiated by the application.
|