GlobalArp

Package: inet.networklayer.arp.ipv4

simple module GlobalArp

Provides global address resolution without exchanging packets.

inet.networklayer.arp.ipv4.GlobalArpGlobalArpsimple

Usage diagram

Inheritance diagram

Used in compound modules

Name

Type

Description

NextHopNetworkLayer

compound module

Provides a network layer for the next hop forwarding.

WiseRouteNetworkLayer

compound module

Provides a simple network layer.

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

interfaceTableModule

string

Path to the InterfaceTable module

addressType

string

“ipv4”

Properties

Name

Value

Description

class

GlobalArp

display

i=block/layer

Gates

Name

Direction

Size

Description

ifIn

input

ifOut

output

Source code

//
// Provides global address resolution without exchanging packets.
//
simple GlobalArp extends SimpleModule like IArp
{
    parameters:
        @class(GlobalArp);
        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