#include <TCP.h>
Public Member Functions | |
bool | operator< (const SockPair &b) const |
Public Attributes | |
IPvXAddress | localAddr |
IPvXAddress | remoteAddr |
int | localPort |
int | remotePort |
Definition at line 113 of file TCP.h.
bool TCP::SockPair::operator< | ( | const SockPair & | b | ) | const [inline] |
Definition at line 120 of file TCP.h.
{ 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; }
Definition at line 115 of file TCP.h.
Referenced by TCP::addSockPair(), TCP::findConnForSegment(), operator<(), TCP::removeConnection(), and TCP::updateSockPair().
Definition at line 117 of file TCP.h.
Referenced by TCP::addSockPair(), TCP::findConnForSegment(), operator<(), TCP::removeConnection(), and TCP::updateSockPair().
Definition at line 116 of file TCP.h.
Referenced by TCP::addSockPair(), TCP::findConnForSegment(), operator<(), TCP::removeConnection(), and TCP::updateSockPair().
Definition at line 118 of file TCP.h.
Referenced by TCP::addSockPair(), TCP::findConnForSegment(), operator<(), TCP::removeConnection(), and TCP::updateSockPair().