IMacForwardingTable

Package: inet.linklayer.contract

IMacForwardingTable

module interface

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

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the 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.

Used in compound modules

Name Type Description
AccessPoint compound module

A wireless access point device that connects wireless stations (like WirelessHost) to a wired network. Supports multiple wireless radios and multiple Ethernet ports.

EthernetSwitch 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.

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