Ipv4NatTable

Package: inet.networklayer.ipv4

Ipv4NatTable

simple module

C++ definition

Stores the network address translation table.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Used in compound modules

Name Type Description
Ipv4NetworkLayer compound module

Network(1,2,3,4) layer of an IPv4 node.

Extends

Name Type Description
SimpleModule simple module

Base module for all INET simple modules.

Parameters

Name Type Default value Description
displayStringTextFormat string ""

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("")

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);
        string networkProtocolModule = default("^.ip");
        xml config = default(xml("<config></config>")); // XML configuration parameters for network address translation
        @display("i=block/table");
}
File: src/inet/networklayer/ipv4/Ipv4NatTable.ned