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

NextHopRoutingTable simple module

This module stores next hop routes used by the next hop forwarding protocol.

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