|
INET Framework for OMNeT++/OMNEST
|
#include <TcpLwipConnection.h>
Classes | |
| class | Stats |
Public Member Functions | |
| TcpLwipConnection (TCP_lwIP &tcpLwipP, int connIdP, int gateIndexP, TCPDataTransferMode dataTransferModeP) | |
| TcpLwipConnection (TcpLwipConnection &tcpLwipConnectionP, int connIdP, LwipTcpLayer::tcp_pcb *pcbP) | |
| ~TcpLwipConnection () | |
| void | sendEstablishedMsg () |
| void | sendIndicationToApp (int code) |
| void | listen (L3Address &localAddr, unsigned short localPort) |
| void | connect (L3Address &localAddr, unsigned short localPort, L3Address &remoteAddr, unsigned short remotePort) |
| void | close () |
| void | abort () |
| void | send (cPacket *msgP) |
| void | fillStatusInfo (TCPStatusInfo &statusInfo) |
| void | notifyAboutSending (const TCPSegment &tcpsegP) |
| int | send_data (void *data, int len) |
| void | do_SEND () |
| INetStreamSocket * | getSocket () |
| void | initStats () |
Static Public Member Functions | |
| static const char * | indicationName (int code) |
Public Attributes | |
| int | connIdM |
| int | appGateIndexM |
| LwipTcpLayer::tcp_pcb * | pcbM |
| TcpLwipSendQueue * | sendQueueM |
| TcpLwipReceiveQueue * | receiveQueueM |
| TCP_lwIP & | tcpLwipM |
Protected Member Functions | |
| TcpLwipConnection (const TcpLwipConnection &) | |
Protected Attributes | |
| long int | totalSentM |
| bool | isListenerM |
| bool | onCloseM |
| Stats * | statsM |
|
protected |
| inet::tcp::TcpLwipConnection::TcpLwipConnection | ( | TCP_lwIP & | tcpLwipP, |
| int | connIdP, | ||
| int | gateIndexP, | ||
| TCPDataTransferMode | dataTransferModeP | ||
| ) |
| inet::tcp::TcpLwipConnection::TcpLwipConnection | ( | TcpLwipConnection & | tcpLwipConnectionP, |
| int | connIdP, | ||
| LwipTcpLayer::tcp_pcb * | pcbP | ||
| ) |
| inet::tcp::TcpLwipConnection::~TcpLwipConnection | ( | ) |
| void inet::tcp::TcpLwipConnection::abort | ( | ) |
Referenced by inet::tcp::TCP_lwIP::process_ABORT().
| void inet::tcp::TcpLwipConnection::close | ( | ) |
Referenced by inet::tcp::TCP_lwIP::process_CLOSE().
| void inet::tcp::TcpLwipConnection::connect | ( | L3Address & | localAddr, |
| unsigned short | localPort, | ||
| L3Address & | remoteAddr, | ||
| unsigned short | remotePort | ||
| ) |
Referenced by inet::tcp::TCP_lwIP::process_OPEN_ACTIVE().
| void inet::tcp::TcpLwipConnection::do_SEND | ( | ) |
Referenced by inet::tcp::TCP_lwIP::tcp_event_accept(), inet::tcp::TCP_lwIP::tcp_event_conn(), inet::tcp::TCP_lwIP::tcp_event_poll(), inet::tcp::TCP_lwIP::tcp_event_recv(), and inet::tcp::TCP_lwIP::tcp_event_sent().
| void inet::tcp::TcpLwipConnection::fillStatusInfo | ( | TCPStatusInfo & | statusInfo | ) |
Referenced by inet::tcp::TCP_lwIP::process_STATUS().
| INetStreamSocket* inet::tcp::TcpLwipConnection::getSocket | ( | ) |
|
static |
Referenced by sendIndicationToApp().
| void inet::tcp::TcpLwipConnection::initStats | ( | ) |
| void inet::tcp::TcpLwipConnection::listen | ( | L3Address & | localAddr, |
| unsigned short | localPort | ||
| ) |
Referenced by inet::tcp::TCP_lwIP::process_OPEN_PASSIVE().
| void inet::tcp::TcpLwipConnection::notifyAboutSending | ( | const TCPSegment & | tcpsegP | ) |
Referenced by inet::tcp::TCP_lwIP::ip_output().
| void inet::tcp::TcpLwipConnection::send | ( | cPacket * | msgP | ) |
Referenced by inet::tcp::TCP_lwIP::process_SEND().
| int inet::tcp::TcpLwipConnection::send_data | ( | void * | data, |
| int | len | ||
| ) |
Referenced by do_SEND().
| void inet::tcp::TcpLwipConnection::sendEstablishedMsg | ( | ) |
Referenced by inet::tcp::TCP_lwIP::sendEstablishedMsg(), inet::tcp::TCP_lwIP::tcp_event_accept(), and inet::tcp::TCP_lwIP::tcp_event_conn().
| void inet::tcp::TcpLwipConnection::sendIndicationToApp | ( | int | code | ) |
Referenced by inet::tcp::TCP_lwIP::tcp_event_err(), and inet::tcp::TCP_lwIP::tcp_event_recv().
| int inet::tcp::TcpLwipConnection::appGateIndexM |
| int inet::tcp::TcpLwipConnection::connIdM |
Referenced by inet::tcp::TcpLwipMsgBasedSendQueue::createSegmentWithBytes(), do_SEND(), inet::tcp::TCP_lwIP::ip_output(), inet::tcp::TCP_lwIP::printConnBrief(), inet::tcp::TCP_lwIP::process_ABORT(), inet::tcp::TCP_lwIP::process_CLOSE(), inet::tcp::TCP_lwIP::process_STATUS(), inet::tcp::TCP_lwIP::removeConnection(), sendEstablishedMsg(), sendIndicationToApp(), inet::tcp::TCP_lwIP::tcp_event_err(), and inet::tcp::TCP_lwIP::tcp_event_recv().
|
protected |
|
protected |
| LwipTcpLayer::tcp_pcb* inet::tcp::TcpLwipConnection::pcbM |
Referenced by abort(), close(), connect(), inet::tcp::TcpLwipMsgBasedSendQueue::discardAckedBytes(), do_SEND(), inet::tcp::TcpLwipMsgBasedReceiveQueue::extractBytesUpTo(), fillStatusInfo(), listen(), inet::tcp::TCP_lwIP::lwip_free_pcb_event(), inet::tcp::TCP_lwIP::lwip_tcp_event(), inet::tcp::TCP_lwIP::removeConnection(), send_data(), sendEstablishedMsg(), inet::tcp::TCP_lwIP::tcp_event_recv(), TcpLwipConnection(), and ~TcpLwipConnection().
| TcpLwipReceiveQueue* inet::tcp::TcpLwipConnection::receiveQueueM |
| TcpLwipSendQueue* inet::tcp::TcpLwipConnection::sendQueueM |
Referenced by close(), do_SEND(), inet::tcp::TCP_lwIP::ip_output(), send(), TcpLwipConnection(), and ~TcpLwipConnection().
|
protected |
Referenced by notifyAboutSending(), TcpLwipConnection(), and ~TcpLwipConnection().
| TCP_lwIP& inet::tcp::TcpLwipConnection::tcpLwipM |
|
protected |