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

#include <SCTP.h>

List of all members.

Public Member Functions

bool operator< (const SockPair &b) const

Public Attributes

IPvXAddress localAddr
IPvXAddress remoteAddr
uint16 localPort
uint16 remotePort

Member Function Documentation

bool SCTP::SockPair::operator< ( const SockPair b) const [inline]
            {
                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;
            }

Member Data Documentation


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