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

ICloudDelayer

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