43void tcpProcessSegment(NetInterface *interface,
45 const NetRxAncillary *ancillary);
47void tcpStateClosed(NetInterface *interface,
const IpPseudoHeader *pseudoHeader,
48 const TcpHeader *segment,
size_t length);
50void tcpStateListen(Socket *socket, NetInterface *interface,
51 const IpPseudoHeader *pseudoHeader,
const TcpHeader *segment,
size_t length);
53void tcpStateSynSent(Socket *socket,
const TcpHeader *segment,
size_t length);
55void tcpStateSynReceived(Socket *socket,
const TcpHeader *segment,
56 const NetBuffer *buffer,
size_t offset,
size_t length);
58void tcpStateEstablished(Socket *socket,
const TcpHeader *segment,
59 const NetBuffer *buffer,
size_t offset,
size_t length);
61void tcpStateCloseWait(Socket *socket,
const TcpHeader *segment,
size_t length);
63void tcpStateLastAck(Socket *socket,
const TcpHeader *segment,
size_t length);
65void tcpStateFinWait1(Socket *socket,
const TcpHeader *segment,
66 const NetBuffer *buffer,
size_t offset,
size_t length);
68void tcpStateFinWait2(Socket *socket,
const TcpHeader *segment,
69 const NetBuffer *buffer,
size_t offset,
size_t length);
71void tcpStateClosing(Socket *socket,
const TcpHeader *segment,
size_t length);
73void tcpStateTimeWait(Socket *socket,
const TcpHeader *segment,
size_t length);
Structure describing a buffer that spans multiple chunks.
Definition net_mem.h:89
TCP (Transmission Control Protocol)