INET Framework for OMNeT++/OMNEST
inet::sctp::SCTP::SockPair Struct Reference

#include <SCTP.h>

Public Member Functions

bool operator< (const SockPair &b) const
 

Public Attributes

L3Address localAddr
 
L3Address remoteAddr
 
uint16 localPort
 
uint16 remotePort
 

Member Function Documentation

bool inet::sctp::SCTP::SockPair::operator< ( const SockPair b) const
inline
114  {
115  if (remoteAddr != b.remoteAddr)
116  return remoteAddr < b.remoteAddr;
117  else if (localAddr != b.localAddr)
118  return localAddr < b.localAddr;
119  else if (remotePort != b.remotePort)
120  return remotePort < b.remotePort;
121  else
122  return localPort < b.localPort;
123  }
uint16 localPort
Definition: SCTP.h:110
L3Address localAddr
Definition: SCTP.h:108
uint16 remotePort
Definition: SCTP.h:111
L3Address remoteAddr
Definition: SCTP.h:109
value< double, units::m > b
Definition: Units.h:1054

Member Data Documentation


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