ICloudDelayer

Package: inet.networklayer.internetcloud

ICloudDelayer

module interface

Delay module interface for InternetCloud.

Delays or drops the packets based on which interface card the packet has arrived on and on which interface it is leaving the cloud. This module registers self to Ipv4 module as an INetfilter::IHook hook and uses the datagramForwardHook for delay/drop packets

See also: InternetCloud

Inheritance diagram

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

Implemented by

Name Type Description
MatrixCloudDelayer simple module

Delay module for InternetCloud. This is essentially equivalent to a full graph with edges being differently configured DatarateChannels. It delays and/or drops incoming packets based on rules specified in an xml configuration.

Used in compound modules

Name Type Description
InternetCloud compound module

This module is an IPv4 router that can delay or drop packets (while retaining their order) based on which interface card the packet arrived on and on which interface it is leaving the cloud. The delayer module is replaceable.

Parameters

Name Type Default value Description
networkProtocolModule string

Properties

Name Value Description
display i=block/delay

Source code

//
// Delay module interface for InternetCloud.
//
// Delays or drops the packets based on which interface card the packet
// has arrived on and on which interface it is leaving the cloud.
// This module registers self to ~Ipv4 module as an INetfilter::IHook hook
// and uses the datagramForwardHook for delay/drop packets
//
// @see ~InternetCloud
//
moduleinterface ICloudDelayer
{
    parameters:
        string networkProtocolModule;
        @display("i=block/delay");
}

File: src/inet/networklayer/internetcloud/ICloudDelayer.ned