Package: inet.emulation.common
ExtInterface
compound moduleThis module provides a base module for external network interfaces.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Known subclasses
Name | Type | Description |
---|---|---|
ExtLowerEthernetInterface | compound module |
This module provides an Ethernet network interface suitable for emulation. The lower part of the network interface is realized in the real world using a real ethernet socket of the host computer which is running the simulation. |
ExtUpperEthernetInterface | compound module |
This module provides an Ethernet network interface suitable for emulation. The upper part of the network interface is realized in the real world using a real TAP device of the host computer which is running the simulation. |
ExtUpperIeee80211Interface | compound module |
This module provides an IEEE 802.11 network interface suitable for emulation. The upper part of the network interface is realized in the real world using a real TAP device of the host computer which is running the simulation. |
Extends
Name | Type | Description |
---|---|---|
InterfaceEntry | compound module | (no description) |
Parameters
Name | Type | Default value | Description |
---|---|---|---|
displayStringTextFormat | string | "%a (%i)\n%m" | |
interfaceTableModule | string | ||
device | string | ||
namespace | string | "" | |
copyConfiguration | string | "" | |
address | string | "auto" | |
broadcast | bool | true | |
multicast | bool | true | |
pointToPoint | bool | false | |
mtu | int | 4470B |
Properties
Name | Value | Description |
---|---|---|
class | ExtInterface |
Gates
Name | Direction | Size | Description |
---|---|---|---|
upperLayerIn | input | ||
upperLayerOut | output |
Source code
// // This module provides a base module for external network interfaces. // module ExtInterface extends InterfaceEntry like IExternalInterface { parameters: string interfaceTableModule; string device; string namespace = default(""); string copyConfiguration @enum("","copyToExt","copyFromExt") = default(""); string address = default("auto"); bool broadcast = default(true); bool multicast = default(true); bool pointToPoint = default(false); int mtu @unit(B) = default(4470B); *.interfaceTableModule = default(absPath(interfaceTableModule)); *.device = default(device); *.namespace = default(namespace); @class(ExtInterface); gates: input upperLayerIn @loose; output upperLayerOut @loose; }File: src/inet/emulation/common/ExtInterface.ned