OmittedEthernetEncapsulation

Package: inet.linklayer.ethernet.basic

OmittedEthernetEncapsulation

compound module

This module implements the module given interface and can be used as an omitted optional module that removes itself from the module hierarchy during initialize.

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram

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

Properties

Name Value Description
class ::inet::OmittedModule
display i=block/square,black,50

Gates

Name Direction Size Description
upperLayerIn input
upperLayerOut output
lowerLayerIn input
lowerLayerOut output

Source code

//
// This module implements the module given interface and can be used as an omitted
// optional module that removes itself from the module hierarchy during initialize.
//
module OmittedEthernetEncapsulation like IEthernetLayer
{
    parameters:
        @class(::inet::OmittedModule);
        @display("i=block/square,black,50");
    gates:
        input upperLayerIn @labels(EtherFrame);
        output upperLayerOut @labels(EtherFrame);
        input lowerLayerIn @labels(EtherFrame);
        output lowerLayerOut @labels(EtherFrame);
    connections:
        upperLayerIn --> lowerLayerOut;
        lowerLayerIn --> upperLayerOut;
}

File: src/inet/linklayer/ethernet/basic/OmittedEthernetEncapsulation.ned