OmittedEthernetEncapsulation¶
Package: inet.linklayer.ethernet.basic
compound module OmittedEthernetEncapsulation
Implements the given module interface and can be used as an optional module that removes itself from the module hierarchy during initialization.
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
compound module |
Base module for all INET compound 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 |
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¶
//
// Implements the given module interface and can be used as an optional
// module that removes itself from the module hierarchy during initialization.
//
module OmittedEthernetEncapsulation extends Module 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