|
INET Framework for OMNeT++/OMNEST
|
#include <TCP_old.h>
Public Member Functions | |
| bool | operator< (const SockPair &b) const |
Public Attributes | |
| IPvXAddress | localAddr |
| IPvXAddress | remoteAddr |
| int | localPort |
| int | remotePort |
| bool tcp_old::TCP::SockPair::operator< | ( | const SockPair & | b | ) | const [inline] |
Definition at line 121 of file TCP_old.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 116 of file TCP_old.h.
Referenced by tcp_old::TCP::addSockPair(), tcp_old::TCP::findConnForSegment(), operator<(), tcp_old::TCP::removeConnection(), and tcp_old::TCP::updateSockPair().
Definition at line 118 of file TCP_old.h.
Referenced by tcp_old::TCP::addSockPair(), tcp_old::TCP::findConnForSegment(), operator<(), tcp_old::TCP::removeConnection(), and tcp_old::TCP::updateSockPair().
Definition at line 117 of file TCP_old.h.
Referenced by tcp_old::TCP::addSockPair(), tcp_old::TCP::findConnForSegment(), operator<(), tcp_old::TCP::removeConnection(), and tcp_old::TCP::updateSockPair().
Definition at line 119 of file TCP_old.h.
Referenced by tcp_old::TCP::addSockPair(), tcp_old::TCP::findConnForSegment(), operator<(), tcp_old::TCP::removeConnection(), and tcp_old::TCP::updateSockPair().