IEthernetInterface

Package: inet.linklayer.contract

IEthernetInterface

module interface

This module interface is implemented by Ethernet network interfaces.

Inheritance diagram

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

Implemented by

Name Type Description
EthernetCutthroughInterface compound module

This module represents an Ethernet network interface with cut-through support.

EthernetInterface compound module

This module represents an Ethernet network interface.

ExtLowerEthernetInterface compound module

This module provides an Ethernet network interface suitable for emulation. The lower part of the network interface is realized in the real world using a real ethernet socket of the host computer which is running the simulation.

ExtUpperEthernetInterface compound module

This module provides an Ethernet network interface suitable for emulation. The upper part of the network interface is realized in the real world using a real TAP device of the host computer which is running the simulation.

LayeredEthernetInterface compound module

This module implements an Ethernet network interface.

Used in compound modules

Name Type Description
AccessPoint compound module

A generic access point supporting multiple wireless radios, and multiple ethernet ports. The type of the ethernet MAC, relay unit and wireless card can be specified as parameters.

EthernetHost compound module

An example host with one Ethernet port and a traffic generator that generates request-reply traffic directly over Ethernet. This host model does not contain higher layer protocols (IP, TCP). By default it is configured to use half-duplex MAC (CSMA/CD).

EthernetSwitch compound module

Model of an Ethernet switch.

LinkLayerNodeBase compound module (no description)

Extends

Name Type Description
IWiredInterface module interface

This module interface is implemented by wired network interfaces.

Parameters

Name Type Default value Description
bitrate double

Properties

Name Value Description
display i=block/ifcard

Source code

//
// This module interface is implemented by Ethernet network interfaces.
//
moduleinterface IEthernetInterface extends IWiredInterface
{
    parameters:
        double bitrate @unit(bps);
        @display("i=block/ifcard");
}

File: src/inet/linklayer/contract/IEthernetInterface.ned