MacForwardingTableConfigurator

Package: inet.linklayer.configurator.common

simple module MacForwardingTableConfigurator

Configures the forwarding database (MAC address table) of all network nodes in the network based on the automatically discovered network topology. The configurator uses the shortest path algorithm to determine the outgoing network interface for all network nodes and all destination network interfaces. The effect of this configuration is that the network can use the the GlobalArp module and completely eliminate the ARP protocol messages.

See also: MacForwardingTable

inet.linklayer.configurator.common.MacForwardingTableConfiguratorMacForwardingTableConfiguratorsimple

Usage diagram

Inheritance diagram

Used in

Name

Type

Description

WiredNetworkBase

network

(no description)

Extends

Name

Type

Description

SimpleModule

simple module

Base module for all INET simple modules.

Parameters

Name

Type

Default value

Description

displayStringTextFormat

string

“”

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

Properties

Name

Value

Description

class

MacForwardingTableConfigurator

display

i=block/cogwheel

Source code

//
// Configures the forwarding database (MAC address table) of all
// network nodes in the network based on the automatically discovered network
// topology. The configurator uses the shortest path algorithm to determine the
// outgoing network interface for all network nodes and all destination network
// interfaces. The effect of this configuration is that the network can use the
// the ~GlobalArp module and completely eliminate the ARP protocol messages.
//
// @see ~MacForwardingTable
//
simple MacForwardingTableConfigurator extends SimpleModule like INetworkConfigurator
{
    parameters:
        @class(MacForwardingTableConfigurator);
        @display("i=block/cogwheel");
}

File: src/inet/linklayer/configurator/common/MacForwardingTableConfigurator.ned