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_t port)
 
void setGlobalPort (uint16_t port)
 
void setNattedPort (uint16_t port)
 
void setGlobalVTag (uint32_t tag)
 
void setLocalVTag (uint32_t tag)
 
void setEntryNumber (uint32_t number)
 
L3Address getLocalAddress ()
 
L3Address getGlobalAddress ()
 
L3Address getNattedAddress ()
 
uint16_t getLocalPort ()
 
uint16_t getGlobalPort ()
 
uint16_t getNattedPort ()
 
uint32_t getGlobalVTag ()
 
uint32_t getLocalVTag ()
 

Protected Attributes

uint32_t entryNumber
 
L3Address localAddress
 
L3Address globalAddress
 
L3Address nattedAddress
 
uint16_t localPort
 
uint16_t globalPort
 
uint16_t nattedPort
 
uint32_t globalVtag
 
uint32_t localVtag
 

Constructor & Destructor Documentation

◆ SctpNatEntry()

inet::sctp::SctpNatEntry::SctpNatEntry ( )
130 {
131  localAddress = L3Address();
132  globalAddress = L3Address();
133  nattedAddress = L3Address();
134  localPort = 0;
135  globalPort = 0;
136  nattedPort = 0;
137  globalVtag = 0;
138  localVtag = 0;
139  entryNumber = 0;
140 }

◆ ~SctpNatEntry()

inet::sctp::SctpNatEntry::~SctpNatEntry ( )
143 {
144 }

Member Function Documentation

◆ getGlobalAddress()

L3Address inet::sctp::SctpNatEntry::getGlobalAddress ( )
inline

◆ getGlobalPort()

uint16_t inet::sctp::SctpNatEntry::getGlobalPort ( )
inline

◆ getGlobalVTag()

uint32_t inet::sctp::SctpNatEntry::getGlobalVTag ( )
inline

◆ getLocalAddress()

L3Address inet::sctp::SctpNatEntry::getLocalAddress ( )
inline

◆ getLocalPort()

uint16_t inet::sctp::SctpNatEntry::getLocalPort ( )
inline

◆ getLocalVTag()

uint32_t inet::sctp::SctpNatEntry::getLocalVTag ( )
inline

◆ getNattedAddress()

L3Address inet::sctp::SctpNatEntry::getNattedAddress ( )
inline
47 { return nattedAddress; };

◆ getNattedPort()

uint16_t inet::sctp::SctpNatEntry::getNattedPort ( )
inline

◆ setEntryNumber()

void inet::sctp::SctpNatEntry::setEntryNumber ( uint32_t  number)
inline
43 { entryNumber = number; }

◆ setGlobalAddress()

void inet::sctp::SctpNatEntry::setGlobalAddress ( L3Address  addr)
inline

◆ setGlobalPort()

void inet::sctp::SctpNatEntry::setGlobalPort ( uint16_t  port)
inline

◆ setGlobalVTag()

void inet::sctp::SctpNatEntry::setGlobalVTag ( uint32_t  tag)
inline

◆ setLocalAddress()

void inet::sctp::SctpNatEntry::setLocalAddress ( L3Address  addr)
inline

◆ setLocalPort()

void inet::sctp::SctpNatEntry::setLocalPort ( uint16_t  port)
inline

◆ setLocalVTag()

void inet::sctp::SctpNatEntry::setLocalVTag ( uint32_t  tag)
inline

◆ setNattedAddress()

void inet::sctp::SctpNatEntry::setNattedAddress ( L3Address  addr)
inline

◆ setNattedPort()

void inet::sctp::SctpNatEntry::setNattedPort ( uint16_t  port)
inline

Member Data Documentation

◆ entryNumber

uint32_t inet::sctp::SctpNatEntry::entryNumber
protected

Referenced by SctpNatEntry().

◆ globalAddress

L3Address inet::sctp::SctpNatEntry::globalAddress
protected

Referenced by SctpNatEntry().

◆ globalPort

uint16_t inet::sctp::SctpNatEntry::globalPort
protected

Referenced by SctpNatEntry().

◆ globalVtag

uint32_t inet::sctp::SctpNatEntry::globalVtag
protected

Referenced by SctpNatEntry().

◆ localAddress

L3Address inet::sctp::SctpNatEntry::localAddress
protected

Referenced by SctpNatEntry().

◆ localPort

uint16_t inet::sctp::SctpNatEntry::localPort
protected

Referenced by SctpNatEntry().

◆ localVtag

uint32_t inet::sctp::SctpNatEntry::localVtag
protected

Referenced by SctpNatEntry().

◆ nattedAddress

L3Address inet::sctp::SctpNatEntry::nattedAddress
protected

Referenced by SctpNatEntry().

◆ nattedPort

uint16_t inet::sctp::SctpNatEntry::nattedPort
protected

Referenced by SctpNatEntry().


The documentation for this class was generated from the following files:
inet::sctp::SctpNatEntry::globalVtag
uint32_t globalVtag
Definition: SctpNatTable.h:28
inet::sctp::SctpNatEntry::globalPort
uint16_t globalPort
Definition: SctpNatTable.h:26
inet::sctp::SctpNatEntry::globalAddress
L3Address globalAddress
Definition: SctpNatTable.h:23
inet::sctp::SctpNatEntry::localAddress
L3Address localAddress
Definition: SctpNatTable.h:22
inet::sctp::SctpNatEntry::localPort
uint16_t localPort
Definition: SctpNatTable.h:25
inet::sctp::SctpNatEntry::nattedAddress
L3Address nattedAddress
Definition: SctpNatTable.h:24
inet::sctp::SctpNatEntry::localVtag
uint32_t localVtag
Definition: SctpNatTable.h:29
inet::sctp::SctpNatEntry::entryNumber
uint32_t entryNumber
Definition: SctpNatTable.h:21
inet::sctp::SctpNatEntry::nattedPort
uint16_t nattedPort
Definition: SctpNatTable.h:27