IRoutingTable

Package: inet.networklayer.contract

IRoutingTable

module interface

This module interface provides an abstraction for different routing tables.

Inheritance diagram

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

Implemented by

Name Type Description
GenericRoutingTable simple module

This module stores generic routes used by the generic network protocol.

IPv4RoutingTable simple module

Stores the routing table. (Per-interface configuration is stored in InterfaceTable.)

IPv6RoutingTable simple module

IPv6 Routing Table and Neighbour Discovery data structures. NOTE: This component MUST be named as "routingTable6" inside a StandardHost/Router etc. in order to be accessible by the IPv6 and other modules

MultiRoutingTable compound module

This module supports multiple different routing tables simultaneously. The actual routes are stored in the submodule routing tables and they are accessed directly by modules.

Used in compound modules

Name Type Description
MultiRoutingTable compound module

This module supports multiple different routing tables simultaneously. The actual routes are stored in the submodule routing tables and they are accessed directly by modules.

NodeBase compound module

Contains the common lower layers (linklayer and networklayer) of Router, StandardHost, WirelessHost etc.

Parameters

Name Type Default value Description
forwarding bool
multicastForwarding bool

Properties

Name Value Description
display i=block/table

Source code

//
// This module interface provides an abstraction for different routing tables.
//
moduleinterface IRoutingTable
{
    parameters:
        @display("i=block/table");
        bool forwarding;
        bool multicastForwarding;
}
File: src/inet/networklayer/contract/IRoutingTable.ned