Package: inet.linklayer.loopback
LoopbackInterface
compound moduleLoopback interface. Complements the Loopback module.
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.
Extends
| Name | Type | Description |
|---|---|---|
| InterfaceEntry | compound module | (no description) |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| displayStringTextFormat | string | "%a (%i)\n%m" | |
| interfaceTableModule | string |
Properties
| Name | Value | Description |
|---|---|---|
| class | InterfaceEntry | |
| display | i=block/ifcard;bgl=53 |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| upperLayerIn | input | ||
| upperLayerOut | output |
Unassigned submodule parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| lo.interfaceTableModule | string |
The path to the InterfaceTable module |
|
| lo.mtu | int | 4470B |
Source code
// // Loopback interface. Complements the ~Loopback module. // module LoopbackInterface extends InterfaceEntry like ILoopbackInterface { parameters: @class(InterfaceEntry); @display("i=block/ifcard;bgl=53"); string interfaceTableModule; *.interfaceTableModule = default(absPath(interfaceTableModule)); gates: input upperLayerIn; output upperLayerOut; submodules: lo: Loopback { parameters: @display("p=250,200"); } connections: upperLayerIn --> { @display("m=n"); } --> lo.upperLayerIn; lo.upperLayerOut --> { @display("m=n"); } --> upperLayerOut; }File: src/inet/linklayer/loopback/LoopbackInterface.ned