INET Framework for OMNeT++/OMNEST
|
#include <TCP.h>
Public Member Functions | |
bool | operator< (const SockPair &b) const |
Public Attributes | |
IPvXAddress | localAddr |
IPvXAddress | remoteAddr |
int | localPort |
int | remotePort |
bool TCP::SockPair::operator< | ( | const SockPair & | b | ) | const [inline] |
{ if (remoteAddr!=b.remoteAddr) return remoteAddr<b.remoteAddr; else if (localAddr!=b.localAddr) return localAddr<b.localAddr; else if (remotePort!=b.remotePort) return remotePort<b.remotePort; else return localPort<b.localPort; }
Referenced by TCP::addSockPair(), TCP::findConnForSegment(), operator<(), TCP::removeConnection(), and TCP::updateSockPair().
Referenced by TCP::addSockPair(), TCP::findConnForSegment(), operator<(), TCP::removeConnection(), and TCP::updateSockPair().
Referenced by TCP::addSockPair(), TCP::findConnForSegment(), operator<(), TCP::removeConnection(), and TCP::updateSockPair().
Referenced by TCP::addSockPair(), TCP::findConnForSegment(), operator<(), TCP::removeConnection(), and TCP::updateSockPair().