Package: inet.linklayer.ieee8021r
Ieee8021rProtocol
compound moduleThis module implements the IEEE 802.1r protocol encapsulation/decapsulation.
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 |
---|---|---|
display | i=block/layer |
Gates
Name | Direction | Size | Description |
---|---|---|---|
upperLayerIn | input | ||
upperLayerOut | output | ||
lowerLayerIn | input | ||
lowerLayerOut | output |
Source code
// // This module implements the IEEE 802.1r protocol encapsulation/decapsulation. // module Ieee8021rProtocol like IIeee8021rLayer { parameters: @display("i=block/layer"); gates: input upperLayerIn; output upperLayerOut; input lowerLayerIn; output lowerLayerOut; submodules: rTagHeaderInserter: <default("Ieee8021rTagEpdHeaderInserter")> like IIeee8021rTagEpdHeaderInserter { @display("p=300,200"); } rTagHeaderChecker: <default("Ieee8021rTagEpdHeaderChecker")> like IIeee8021rTagEpdHeaderChecker { @display("p=600,200"); } connections: upperLayerIn --> { @display("m=n"); } --> rTagHeaderInserter.in; rTagHeaderInserter.out --> { @display("m=s"); } --> lowerLayerOut; lowerLayerIn --> { @display("m=s"); } --> rTagHeaderChecker.in; rTagHeaderChecker.out --> { @display("m=n"); } --> upperLayerOut; }File: src/inet/linklayer/ieee8021r/Ieee8021rProtocol.ned