IMacForwardingTable

Package: inet.linklayer.contract

module interface IMacForwardingTable

Interface for MAC address tables, used by MAC relay units in Ethenet switches.

Inheritance diagram

Implemented by

Name

Type

Description

MacForwardingTable

simple module

Handles the mapping between ports and MAC addresses.

MrpMacForwardingTable

simple module

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

Parameters

Name

Type

Default value

Description

agingTime

double

forwardingTableFile

string

Properties

Name

Value

Description

display

i=block/table2

Source code

//
// Interface for MAC address tables, used by MAC relay units in Ethenet switches.
//
moduleinterface IMacForwardingTable
{
    parameters:
        @display("i=block/table2");
        double agingTime @unit(s);
        string forwardingTableFile;
}

File: src/inet/linklayer/contract/IMacForwardingTable.ned