ICloudDelayer

Package: inet.networklayer.internetcloud

module interface ICloudDelayer

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

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 DatarateChannel’s. It delays and/or drops incoming packets based on rules specified in an xml configuration.

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