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

◆ operator<()

bool inet::tcp::Tcp::SockPair::operator< ( const SockPair b) const
inline
102  {
103  if (remoteAddr != b.remoteAddr)
104  return remoteAddr < b.remoteAddr;
105  else if (localAddr != b.localAddr)
106  return localAddr < b.localAddr;
107  else if (remotePort != b.remotePort)
108  return remotePort < b.remotePort;
109  else
110  return localPort < b.localPort;
111  }

Member Data Documentation

◆ localAddr

◆ localPort

◆ remoteAddr

◆ remotePort


The documentation for this struct was generated from the following file:
inet::tcp::Tcp::SockPair::remotePort
int remotePort
Definition: Tcp.h:99
inet::units::values::b
value< int64_t, units::b > b
Definition: Units.h:1241
inet::tcp::Tcp::SockPair::localAddr
L3Address localAddr
Definition: Tcp.h:96
inet::tcp::Tcp::SockPair::remoteAddr
L3Address remoteAddr
Definition: Tcp.h:97
inet::tcp::Tcp::SockPair::localPort
int localPort
Definition: Tcp.h:98