MrpMacForwardingTable¶
Package: inet.linklayer.mrp
simple module MrpMacForwardingTable
This is a variant of MacForwardingTable, with added support for the Media Redundancy Protocol (MRP) defined in IEC 62439-2.
See also: MrpRelay, Mrp, MrpInterconnection
Usage diagram¶
Inheritance diagram¶
Used in compound modules¶
Name |
Type |
Description |
|---|---|---|
compound module |
EthernetSwitch models a Layer 2 Ethernet switch with support for various IEEE 802.1 protocols and features. It provides frame forwarding based on MAC addresses and implements multiple switching technologies. |
Extends¶
Name |
Type |
Description |
|---|---|---|
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");
}