#include <SCTPNatTable.h>
|
| SCTPNatTable () |
|
| ~SCTPNatTable () |
|
SCTPNatEntry * | findNatEntry (L3Address srcAddr, uint16 srcPrt, L3Address destAddr, uint16 destPrt, uint32 globalVtag) |
|
SCTPNatEntry * | getEntry (L3Address globalAddr, uint16 globalPrt, L3Address nattedAddr, uint16 nattedPrt, uint32 localVtag) |
|
SCTPNatEntry * | getSpecialEntry (L3Address globalAddr, uint16 globalPrt, L3Address nattedAddr, uint16 nattedPrt) |
|
SCTPNatEntry * | getLocalInitEntry (L3Address globalAddr, uint16 localPrt, uint16 globalPrt) |
|
SCTPNatEntry * | getLocalEntry (L3Address globalAddr, uint16 localPrt, uint16 globalPrt, uint32 localVtag) |
|
void | removeEntry (SCTPNatEntry *entry) |
|
void | printNatTable () |
|
inet::sctp::SCTPNatTable::SCTPNatTable |
( |
| ) |
|
inet::sctp::SCTPNatTable::~SCTPNatTable |
( |
| ) |
|
SCTPNatEntryTable natEntries
Definition: SCTPNatTable.h:74
Referenced by inet::sctp::SCTPNatHook::datagramForwardHook().
52 Enter_Method_Silent();
54 if ((elem)->getLocalAddress() == srcAddr && (elem)->getLocalPort() == srcPrt &&
55 (elem)->getGlobalAddress() == destAddr && (elem)->getGlobalPort() == destPrt && (elem)->getGlobalVTag() == globalVtag)
SCTPNatEntryTable natEntries
Definition: SCTPNatTable.h:74
Referenced by inet::sctp::SCTPNatHook::datagramPreRoutingHook().
65 Enter_Method_Silent();
67 if ((elem)->getGlobalAddress() == globalAddr && (elem)->getGlobalPort() == globalPrt &&
68 (elem)->getNattedAddress() == nattedAddr && (elem)->getNattedPort() == nattedPrt &&
69 (elem)->getLocalVTag() == localVtag)
SCTPNatEntryTable natEntries
Definition: SCTPNatTable.h:74
Referenced by inet::sctp::SCTPNatHook::datagramPreRoutingHook().
109 Enter_Method_Silent();
111 if ((elem)->getGlobalAddress() == globalAddr && (elem)->getGlobalPort() == localPrt &&
112 (elem)->getLocalPort() == globalPrt && (elem)->getLocalVTag() == localVtag)
SCTPNatEntryTable natEntries
Definition: SCTPNatTable.h:74
Referenced by inet::sctp::SCTPNatHook::datagramPreRoutingHook().
96 Enter_Method_Silent();
98 if ((elem)->getGlobalAddress() == globalAddr && (elem)->getGlobalPort() == localPrt &&
99 (elem)->getLocalPort() == globalPrt)
SCTPNatEntryTable natEntries
Definition: SCTPNatTable.h:74
static uint32 inet::sctp::SCTPNatTable::getNextEntryNumber |
( |
| ) |
|
|
inlinestatic |
static uint32 nextEntryNumber
Definition: SCTPNatTable.h:80
Referenced by inet::sctp::SCTPNatHook::datagramPreRoutingHook().
80 Enter_Method_Silent();
83 if ((elem)->getGlobalAddress() == globalAddr && (elem)->getGlobalPort() == globalPrt &&
84 (elem)->getNattedAddress() == nattedAddr && (elem)->getNattedPort() == nattedPrt &&
85 (elem)->getGlobalVTag() == 0)
SCTPNatEntryTable natEntries
Definition: SCTPNatTable.h:74
void inet::sctp::SCTPNatTable::printNatTable |
( |
| ) |
|
Referenced by inet::sctp::SCTPNatHook::datagramForwardHook(), and inet::sctp::SCTPNatHook::datagramPreRoutingHook().
136 EV <<
"localAddr:" << (elem)->getLocalAddress() <<
" globalAddr:" << (elem)->getGlobalAddress() <<
" localPort:" << (elem)->getLocalPort() <<
" globalPort:" << (elem)->getGlobalPort() <<
" nattedAddr:" << (elem)->getNattedAddress() <<
" nattedPort:" << (elem)->getNattedPort() <<
" localVtag:" << (elem)->getLocalVTag() <<
" globalVtag:" << (elem)->getGlobalVTag() <<
"\n";
SCTPNatEntryTable natEntries
Definition: SCTPNatTable.h:74
void inet::sctp::SCTPNatTable::removeEntry |
( |
SCTPNatEntry * |
entry | ) |
|
121 Enter_Method_Silent();
123 if (((*i)->getGlobalAddress() == entry->getGlobalAddress() && (*i)->getGlobalPort() == entry->getGlobalPort() &&
124 (*i)->getLocalPort() == entry->getLocalPort() && (*i)->getLocalVTag() == entry->getLocalVTag())
125 || (((*i)->getLocalAddress() == entry->getGlobalAddress() && (*i)->getLocalPort() == entry->getGlobalPort() &&
126 (*i)->getGlobalPort() == entry->getLocalPort() && (*i)->getGlobalVTag() == entry->getLocalVTag())))
SCTPNatEntryTable natEntries
Definition: SCTPNatTable.h:74
uint32 inet::sctp::SCTPNatTable::nextEntryNumber = 0 |
|
static |
The documentation for this class was generated from the following files: