Ipv4NatTable

Package: inet.networklayer.ipv4

simple module Ipv4NatTable

Stores the network address translation table.

inet.networklayer.ipv4.Ipv4NatTableIpv4NatTablesimple

Usage diagram

Inheritance diagram

Used in compound modules

Name

Type

Description

Ipv4NetworkLayer

compound module

Network 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

“{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");
}

File: src/inet/networklayer/ipv4/Ipv4NatTable.ned