Package: inet.linklayer.ext
ExtInterface
simple moduleImplements an interface that corresponds to a real interface on the host running the simulation. Suitable for hardware-in-the-loop simulations.
Requires cSocketRTScheduler to be configured as scheduler in omnetpp.ini.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| interfaceTableModule | string |
The path to the InterfaceTable module |
|
| filterString | string | ||
| device | string | ||
| mtu | int | 1500B |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| upperLayerIn | input | ||
| upperLayerOut | output |
Source code
// // Implements an interface that corresponds to a real interface // on the host running the simulation. Suitable for hardware-in-the-loop // simulations. // // Requires cSocketRTScheduler to be configured as scheduler in omnetpp.ini. // simple ExtInterface like IExternalNic { parameters: string interfaceTableModule; // The path to the InterfaceTable module string filterString; string device; int mtu @unit("B") = default(1500B); gates: input upperLayerIn; output upperLayerOut; }File: src/inet/linklayer/ext/ExtInterface.ned