IEthernetInterface

Package: inet.linklayer.contract

module interface IEthernetInterface

Interface for Ethernet network interfaces.

Inheritance diagram

Implemented by

Name

Type

Description

ExtLowerEthernetInterface

compound 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

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.

EthernetInterface

compound module

Represents an Ethernet network interface.

EthernetPlcaInterface

compound module

Implements a network interface that is suitable for use in Ethernet 10BASE-T1S multidrop links. Such a multidrop link uses the Ethernet Phyisical Layer Collision Avoidance (PLCA) protocol. The protocol is defined in the IEEE 802.3cg-2019 standard. This network interface can be used in any network node module (e.g. StandardHost) that allows replacing its network interfaces. All network interfaces on the same multidrop link must use this module.

EthernetCutthroughInterface

compound module

Represents an Ethernet network interface with Ethernet cut-through switching support. In contrast with store-and-forward switching, Ethernet cut-through switching can begin the transmission of the outgoing packet before the reception of the corresponding incoming packet ends. Ethernet cut-through switching can significantly reduce end-to-end delay in the network.

LayeredEthernetInterface

compound module

Implements an Ethernet network interface.

Extends

Name

Type

Description

IWiredInterface

module interface

Interface for wired network interfaces.

Parameters

Name

Type

Default value

Description

bitrate

double

Properties

Name

Value

Description

display

i=block/ifcard

Source code

//
// Interface for Ethernet network interfaces.
//
moduleinterface IEthernetInterface extends IWiredInterface
{
    parameters:
        double bitrate @unit(bps);
        @display("i=block/ifcard");
}

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