INET Framework for OMNeT++/OMNEST
inet::IPv6Tunneling::Tunnel Struct Reference

#include <IPv6Tunneling.h>

Public Member Functions

 Tunnel (const IPv6Address &entry=IPv6Address::UNSPECIFIED_ADDRESS, const IPv6Address &exit=IPv6Address::UNSPECIFIED_ADDRESS, const IPv6Address &destTrigger=IPv6Address::UNSPECIFIED_ADDRESS)
 
bool operator== (const Tunnel &rhs)
 

Public Attributes

IPv6Address entry
 
IPv6Address exit
 
int hopLimit = 0
 
int trafficClass = 0
 
int flowLabel = 0
 
int tunnelMTU = 0
 
TunnelType tunnelType = INVALID
 Specifies the type of the tunnel. More...
 
IPv6Address destTrigger
 
bool isTriggerPrefix = false
 

Constructor & Destructor Documentation

inet::IPv6Tunneling::Tunnel::Tunnel ( const IPv6Address entry = IPv6Address::UNSPECIFIED_ADDRESS,
const IPv6Address exit = IPv6Address::UNSPECIFIED_ADDRESS,
const IPv6Address destTrigger = IPv6Address::UNSPECIFIED_ADDRESS 
)

Referenced by inet::IPv6Tunneling::createTunnel(), and inet::IPv6Tunneling::findTunnel().

106  : entry(_entry), exit(_exit), tunnelMTU(IPv6_MIN_MTU - 40), tunnelType(SPLIT), destTrigger(_destTrigger)
107 {
108 }
IPv6Address exit
Definition: IPv6Tunneling.h:78
Definition: IPv6Tunneling.h:50
TunnelType tunnelType
Specifies the type of the tunnel.
Definition: IPv6Tunneling.h:99
IPv6Address entry
Definition: IPv6Tunneling.h:75
#define IPv6_MIN_MTU
Definition: IPv6InterfaceData.h:38
IPv6Address destTrigger
Definition: IPv6Tunneling.h:105
int tunnelMTU
Definition: IPv6Tunneling.h:90

Member Function Documentation

bool inet::IPv6Tunneling::Tunnel::operator== ( const Tunnel rhs)
inline
70  {
71  return entry == rhs.entry && exit == rhs.exit && destTrigger == rhs.destTrigger;
72  }
IPv6Address exit
Definition: IPv6Tunneling.h:78
IPv6Address entry
Definition: IPv6Tunneling.h:75
IPv6Address destTrigger
Definition: IPv6Tunneling.h:105

Member Data Documentation

IPv6Address inet::IPv6Tunneling::Tunnel::destTrigger

Referenced by inet::operator<<(), and operator==().

IPv6Address inet::IPv6Tunneling::Tunnel::entry
IPv6Address inet::IPv6Tunneling::Tunnel::exit
int inet::IPv6Tunneling::Tunnel::flowLabel = 0
int inet::IPv6Tunneling::Tunnel::hopLimit = 0
bool inet::IPv6Tunneling::Tunnel::isTriggerPrefix = false
int inet::IPv6Tunneling::Tunnel::trafficClass = 0
int inet::IPv6Tunneling::Tunnel::tunnelMTU = 0

Referenced by inet::operator<<().

TunnelType inet::IPv6Tunneling::Tunnel::tunnelType = INVALID

Specifies the type of the tunnel.

  • split tunnel
  • non-split tunnel
  • type 2 routing header pseudo tunnel for communication with MNs (RFC 3775)
  • home address option header pseudo tunnel for communication with CNs (RFC 3775)

Referenced by inet::IPv6Tunneling::createTunnel(), inet::IPv6Tunneling::destroyTunnel(), inet::IPv6Tunneling::encapsulateDatagram(), and inet::operator<<().


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