INET Framework for OMNeT++/OMNEST
inet::sctp::SCTPNatEntry Class Reference

#include <SCTPNatTable.h>

Inheritance diagram for inet::sctp::SCTPNatEntry:

Public Member Functions

 SCTPNatEntry ()
 
 ~SCTPNatEntry ()
 
void setLocalAddress (L3Address addr)
 
void setGlobalAddress (L3Address addr)
 
void setNattedAddress (L3Address addr)
 
void setLocalPort (uint16 port)
 
void setGlobalPort (uint16 port)
 
void setNattedPort (uint16 port)
 
void setGlobalVTag (uint32 tag)
 
void setLocalVTag (uint32 tag)
 
void setEntryNumber (uint32 number)
 
L3Address getLocalAddress ()
 
L3Address getGlobalAddress ()
 
L3Address getNattedAddress ()
 
uint16 getLocalPort ()
 
uint16 getGlobalPort ()
 
uint16 getNattedPort ()
 
uint32 getGlobalVTag ()
 
uint32 getLocalVTag ()
 

Protected Attributes

uint32 entryNumber
 
L3Address localAddress
 
L3Address globalAddress
 
L3Address nattedAddress
 
uint16 localPort
 
uint16 globalPort
 
uint16 nattedPort
 
uint32 globalVtag
 
uint32 localVtag
 

Constructor & Destructor Documentation

inet::sctp::SCTPNatEntry::SCTPNatEntry ( )
141 {
142  localAddress = L3Address();
143  globalAddress = L3Address();
144  nattedAddress = L3Address();
145  localPort = 0;
146  globalPort = 0;
147  nattedPort = 0;
148  globalVtag = 0;
149  localVtag = 0;
150  entryNumber = 0;
151 }
uint16 localPort
Definition: SCTPNatTable.h:38
uint16 nattedPort
Definition: SCTPNatTable.h:40
uint32 entryNumber
Definition: SCTPNatTable.h:34
uint16 globalPort
Definition: SCTPNatTable.h:39
uint32 localVtag
Definition: SCTPNatTable.h:42
L3Address localAddress
Definition: SCTPNatTable.h:35
L3Address globalAddress
Definition: SCTPNatTable.h:36
uint32 globalVtag
Definition: SCTPNatTable.h:41
L3Address nattedAddress
Definition: SCTPNatTable.h:37
inet::sctp::SCTPNatEntry::~SCTPNatEntry ( )
154 {
155 }

Member Function Documentation

L3Address inet::sctp::SCTPNatEntry::getGlobalAddress ( )
inline
uint16 inet::sctp::SCTPNatEntry::getGlobalPort ( )
inline
uint32 inet::sctp::SCTPNatEntry::getGlobalVTag ( )
inline

Referenced by inet::sctp::SCTPNatHook::datagramPreRoutingHook().

64 { return globalVtag; };
uint32 globalVtag
Definition: SCTPNatTable.h:41
L3Address inet::sctp::SCTPNatEntry::getLocalAddress ( )
inline

Referenced by inet::sctp::SCTPNatHook::datagramPreRoutingHook().

58 { return localAddress; };
L3Address localAddress
Definition: SCTPNatTable.h:35
uint16 inet::sctp::SCTPNatEntry::getLocalPort ( )
inline
uint32 inet::sctp::SCTPNatEntry::getLocalVTag ( )
inline

Referenced by inet::sctp::SCTPNatHook::datagramForwardHook(), and inet::sctp::SCTPNatTable::removeEntry().

65 { return localVtag; };
uint32 localVtag
Definition: SCTPNatTable.h:42
L3Address inet::sctp::SCTPNatEntry::getNattedAddress ( )
inline
60 { return nattedAddress; };
L3Address nattedAddress
Definition: SCTPNatTable.h:37
uint16 inet::sctp::SCTPNatEntry::getNattedPort ( )
inline

Referenced by inet::sctp::SCTPNatHook::datagramForwardHook().

63 { return nattedPort; };
uint16 nattedPort
Definition: SCTPNatTable.h:40
void inet::sctp::SCTPNatEntry::setEntryNumber ( uint32  number)
inline
56 { entryNumber = number; };
uint32 entryNumber
Definition: SCTPNatTable.h:34
void inet::sctp::SCTPNatEntry::setGlobalAddress ( L3Address  addr)
inline
void inet::sctp::SCTPNatEntry::setGlobalPort ( uint16  port)
inline
void inet::sctp::SCTPNatEntry::setGlobalVTag ( uint32  tag)
inline
void inet::sctp::SCTPNatEntry::setLocalAddress ( L3Address  addr)
inline
void inet::sctp::SCTPNatEntry::setLocalPort ( uint16  port)
inline
void inet::sctp::SCTPNatEntry::setLocalVTag ( uint32  tag)
inline
void inet::sctp::SCTPNatEntry::setNattedAddress ( L3Address  addr)
inline
void inet::sctp::SCTPNatEntry::setNattedPort ( uint16  port)
inline

Member Data Documentation

uint32 inet::sctp::SCTPNatEntry::entryNumber
protected
L3Address inet::sctp::SCTPNatEntry::globalAddress
protected
uint16 inet::sctp::SCTPNatEntry::globalPort
protected
uint32 inet::sctp::SCTPNatEntry::globalVtag
protected
L3Address inet::sctp::SCTPNatEntry::localAddress
protected
uint16 inet::sctp::SCTPNatEntry::localPort
protected
uint32 inet::sctp::SCTPNatEntry::localVtag
protected
L3Address inet::sctp::SCTPNatEntry::nattedAddress
protected
uint16 inet::sctp::SCTPNatEntry::nattedPort
protected

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