INET Framework for OMNeT++/OMNEST
inet::tcp::TCP::SockPair Struct Reference

#include <TCP.h>

Public Member Functions

bool operator< (const SockPair &b) const
 

Public Attributes

L3Address localAddr
 
L3Address remoteAddr
 
int localPort
 
int remotePort
 

Member Function Documentation

bool inet::tcp::TCP::SockPair::operator< ( const SockPair b) const
inline
121  {
122  if (remoteAddr != b.remoteAddr)
123  return remoteAddr < b.remoteAddr;
124  else if (localAddr != b.localAddr)
125  return localAddr < b.localAddr;
126  else if (remotePort != b.remotePort)
127  return remotePort < b.remotePort;
128  else
129  return localPort < b.localPort;
130  }
int localPort
Definition: TCP.h:117
L3Address remoteAddr
Definition: TCP.h:116
int remotePort
Definition: TCP.h:118
value< double, units::m > b
Definition: Units.h:1054
L3Address localAddr
Definition: TCP.h:115

Member Data Documentation


The documentation for this struct was generated from the following file: