Ieee8022Llc

Package: inet.linklayer.ieee8022

Ieee8022Llc

simple module

C++ definition

(no description)

Inheritance diagram

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

Known subclasses

Name Type Description
Ieee80211LlcLpd simple module

An LLC implementation that encapsulates packets in an LLC header, using IEEE 802 LPD-style encoding.

Extends

Name Type Description
SimpleModule simple module

Base module for all INET simple modules.

Parameters

Name Type Default value Description
displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

registerProtocol bool false

FIXME //KLUDGE should redesign the placement of EthernetEncapsulation and LLC modules

Properties

Name Value Description
class Ieee8022Llc
display i=block/layer

Gates

Name Direction Size Description
upperLayerIn input

TODO accepts packets and socket commands with @messageKinds(SocketCommandCode) as well

upperLayerOut output

TODO sends packets and socket indications with @messageKinds(SocketStatusInd) as well

lowerLayerIn input
lowerLayerOut output

Signals

Name Type Unit Description
packetDropped inet::Packet

Source code

simple Ieee8022Llc extends SimpleModule like IIeee8022Llc
{
    parameters:
        @class(Ieee8022Llc);
        bool registerProtocol = default(false);     //FIXME //KLUDGE should redesign the placement of EthernetEncapsulation and LLC modules
        @display("i=block/layer");
        @signal[packetDropped](type=inet::Packet);
    gates:
        input upperLayerIn; // TODO accepts packets and socket commands with  @messageKinds(inet::SocketCommandCode) as well
        output upperLayerOut; // TODO sends packets and socket indications with @messageKinds(inet::SocketStatusInd) as well
        input lowerLayerIn;
        output lowerLayerOut;
}

File: src/inet/linklayer/ieee8022/Ieee8022Llc.ned