ILinkLayerLower

Package: inet.linklayer.contract

module interface ILinkLayerLower

Interface for the lower interface of different link layers.

Inheritance 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 lower interface of
// different link layers.
//
moduleinterface ILinkLayerLower
{
    parameters:
        @display("i=block/rxtx");
    gates:
        input lowerLayerIn @labels(ILinkFrame/up);
        output lowerLayerOut @labels(ILinkFrame/down);
}

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