|
OverSim
|
#include <SimpleTCP.h>
Public Member Functions | |
| SimpleTCPConnection () | |
| SimpleTCPConnection (TCP *mod, int appGateIndex, int connId) | |
| virtual void | sendToIP (TCPSegment *tcpseg) |
| Utility: adds control info to segment and sends it to the destination node. | |
| void | sendRst (uint32 seq, IPvXAddress src, IPvXAddress dest, int srcPort, int destPort) |
| Utility: sends RST; does not use connection state. | |
| void | sendRstAck (uint32 seq, uint32 ack, IPvXAddress src, IPvXAddress dest, int srcPort, int destPort) |
| Utility: sends RST+ACK; does not use connection state. | |
Static Public Attributes | |
| static StatisticsAndDelay | sad |
Protected Member Functions | |
| virtual void | sendToIP (TCPSegment *tcpseg, IPvXAddress src, IPvXAddress dest) |
| Utility: send IP packet to destination node. | |
| SimpleTCPConnection * | cloneListeningConnection () |
| Utility: clone a listening connection. | |
Definition at line 73 of file SimpleTCP.h.
|
inline |
Definition at line 76 of file SimpleTCP.h.
Referenced by cloneListeningConnection().
|
inline |
Definition at line 77 of file SimpleTCP.h.
|
protected |
Utility: clone a listening connection.
Used for forking.
Definition at line 248 of file SimpleTCP.cc.
| void SimpleTCPConnection::sendRst | ( | uint32 | seq, |
| IPvXAddress | src, | ||
| IPvXAddress | dest, | ||
| int | srcPort, | ||
| int | destPort | ||
| ) |
Utility: sends RST; does not use connection state.
Definition at line 284 of file SimpleTCP.cc.
| void SimpleTCPConnection::sendRstAck | ( | uint32 | seq, |
| uint32 | ack, | ||
| IPvXAddress | src, | ||
| IPvXAddress | dest, | ||
| int | srcPort, | ||
| int | destPort | ||
| ) |
Utility: sends RST+ACK; does not use connection state.
Definition at line 298 of file SimpleTCP.cc.
|
virtual |
Utility: adds control info to segment and sends it to the destination node.
Definition at line 314 of file SimpleTCP.cc.
Referenced by sendRst(), and sendRstAck().
|
protectedvirtual |
Utility: send IP packet to destination node.
Definition at line 454 of file SimpleTCP.cc.
|
static |
Definition at line 82 of file SimpleTCP.h.
Referenced by sendToIP().