#include <TCP.h>
Public Member Functions | |
bool | operator< (const SockPair &b) const |
Public Attributes | |
IPvXAddress | localAddr |
IPvXAddress | remoteAddr |
short | localPort |
short | remotePort |
bool TCP::SockPair::operator< | ( | const SockPair & | b | ) | const [inline] |
00120 { 00121 if (remoteAddr!=b.remoteAddr) 00122 return remoteAddr<b.remoteAddr; 00123 else if (localAddr!=b.localAddr) 00124 return localAddr<b.localAddr; 00125 else if (remotePort!=b.remotePort) 00126 return remotePort<b.remotePort; 00127 else 00128 return localPort<b.localPort; 00129 }
Referenced by TCP::addSockPair(), TCP::findConnForSegment(), operator<(), TCP::removeConnection(), and TCP::updateSockPair().
Referenced by TCP::addSockPair(), TCP::findConnForSegment(), operator<(), TCP::removeConnection(), and TCP::updateSockPair().
short TCP::SockPair::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().