MrpMacForwardingTable

Package: inet.linklayer.mrp

MrpMacForwardingTable

simple module

C++ definition

This is a variant of ~MacForwardingTable, with added support for the Media Redundancy Protocol (MRP) defined in IEC 62439-2.

<b>See also:</b> ~MrpRelay, ~Mrp, ~MrpInterconnection

Inheritance diagram

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

Extends

Name Type Description
SimpleModule simple module

Base module for all INET simple modules.

Parameters

Name Type Default value Description
displayStringTextFormat string "addr: %a\nvlan: %v"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

agingTime double 120s
forwardingTable object []
forwardingTableFile string ""
interfaceTableModule string

Properties

Name Value Description
class MrpMacForwardingTable
display i=block/table2

Source code

//
// This is a variant of ~MacForwardingTable, with added support for the Media
// Redundancy Protocol (MRP) defined in IEC 62439-2.
//
// @see ~MrpRelay, ~Mrp, ~MrpInterconnection
//
simple MrpMacForwardingTable extends SimpleModule like IMacForwardingTable
{
    parameters:
        @class(MrpMacForwardingTable);
        @display("i=block/table2");
        double agingTime @unit(s) = default(120s);
        object forwardingTable @mutable = default([]);
        string forwardingTableFile = default("");
        string interfaceTableModule;
        displayStringTextFormat = default("addr: %a\nvlan: %v");
}

File: src/inet/linklayer/mrp/MrpMacForwardingTable.ned