Ipv4NatTable¶
Package: inet.networklayer.ipv4
simple module Ipv4NatTable
Stores the network address translation table.
Usage diagram¶
Inheritance diagram¶
Used in compound modules¶
Name |
Type |
Description |
|---|---|---|
compound module |
Network layer of an IPv4 node. |
Extends¶
Name |
Type |
Description |
|---|---|---|
simple module |
Base module for all INET simple modules. |
Parameters¶
Name |
Type |
Default value |
Description |
|---|---|---|---|
displayStringTextFormat |
string |
“{numNatEntries} entries” |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
networkProtocolModule |
string |
“^.ip” |
|
config |
xml |
xml(“<config></config>”) |
XML configuration parameters for network address translation |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
Ipv4NatTable |
|
display |
i=block/table |
Source code¶
//
// Stores the network address translation table.
//
simple Ipv4NatTable extends SimpleModule
{
parameters:
@class(Ipv4NatTable);
displayStringTextFormat = default("{numNatEntries} entries");
string networkProtocolModule = default("^.ip");
xml config = default(xml("<config></config>")); // XML configuration parameters for network address translation
@display("i=block/table");
}