EthernetSinkApp

Package: inet.applications.ethernet

EthernetSinkApp

compound module

This module implements an Ethernet application that only receives packets.

IActivePacketSource IPacketFlow IPacketFlow IPassivePacketSink IPacketFlow EthernetSocketIo

Inheritance diagram

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

Extends

Name Type Description
EthernetApp compound module

This module generates traffic as an Ethernet application. The traffic source and traffic sink modules can be built from queueing model elements.

Parameters

Name Type Default value Description
interfaceTableModule string

relative module path of the interface table

Properties

Name Value Description
application
display i=block/app

Gates

Name Direction Size Description
socketIn input
socketOut output

Unassigned submodule parameters

Name Type Default value Description
io.interfaceTableModule string

relative module path of the interface table

io.interface string ""

network interface name

io.localAddress string ""

local Ethernet MAC address

io.remoteAddress string ""

remove Ethernet MAC address

io.stopOperationExtraTime double -1s

extra time after lifecycle stop operation finished

io.stopOperationTimeout double 2s

timeout value for lifecycle stop operation

Source code

//
// This module implements an Ethernet application that only receives packets.
//
module EthernetSinkApp extends EthernetApp
{
    parameters:
        source.typename = "";
        io.destPort = -1;
}
File: src/inet/applications/ethernet/EthernetSinkApp.ned