ILinkLayerUpper

Package: inet.linklayer.contract

ILinkLayerUpper

module interface

Interface for the upper interface of different link layers.

Inheritance diagram

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

Implemented by

Name Type Description
AckingMac compound module

Implements a trivial MAC protocol for use in ~AckingWirelessInterface.

ShortcutMac simple module

Implements a simple shortcut to peer MAC protocol that completely bypasses the physical layer. Packets received from the upper layer protocols are never lost. The MAC protocol directly sends packets to the destination MAC protocol without any physical layer processing. Physical layer overhead is simply simulated by overhead bits, overhead transmission duration and a propagation delay.

Known subclasses

Name Type Description
ILinkLayer module interface

Interface for both upper and lower interfaces of different link layers.

Properties

Name Value Description
display i=block/rxtx

Source code

//
// Interface for the upper interface of
// different link layers.
//
moduleinterface ILinkLayerUpper
{
    parameters:
        @display("i=block/rxtx");
    gates:
        input upperLayerIn @labels(INetworkHeader/down);
        output upperLayerOut @labels(INetworkHeader/up);
}

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