GlobalArp

Package: inet.networklayer.arp.ipv4

GlobalArp

simple module

This module provides global address resolution without exchanging packets.

Inheritance diagram

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

Used in compound modules

Name Type Description
NextHopNetworkLayer compound module

This module provides a network layer for the next hop forwarding.

WiseRouteNetworkLayer compound module

This module provides a simple network layer.

Parameters

Name Type Default value Description
interfaceTableModule string

path to the InterfaceTable module

addressType string "ipv4"

Properties

Name Value Description
display i=block/layer

Gates

Name Direction Size Description
ifIn input
ifOut output

Called methods (observed)

functioninfocall from
inet::GlobalArp::handleOperationStagehandleOperationStageScenarioManager
inet::GlobalArp::receiveSignalinterfaceIpv4ConfigChangedInterfaceTable
inet::GlobalArp::receiveSignalinterfaceIpv6ConfigChangedInterfaceTable
inet::GlobalArp::resolveL3AddressresolveL3AddressIpv4, NextHopForwarding

Tagging operations (observed)

tagTypetagAction
inet::Ipv4InterfaceDatafindTag, getTag
inet::Ipv6InterfaceDatafindTag, getTag
inet::NextHopInterfaceDatafindTag

Source code

//
// This module provides global address resolution without exchanging packets.
//
simple GlobalArp like IArp
{
    parameters:
        string interfaceTableModule;   // path to the InterfaceTable module
        string addressType @enum("ipv4","ipv6","mac","moduleid","modulepath") = default("ipv4");
        @display("i=block/layer");
    gates:
        input ifIn @labels(ArpPacket,Ieee802Ctrl);
        output ifOut @labels(ArpPacket,Ieee802Ctrl);
}

File: src/inet/networklayer/arp/ipv4/GlobalArp.ned