Package: inet.applications.ethernet
EthernetSourceApp
compound moduleImplements an Ethernet application that only sends packets.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| EthernetApp | compound module |
Generates traffic as an Ethernet application. The traffic source and traffic sink modules can be built from queueing model elements. |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| interfaceTableModule | string |
Relative module path of the interface table |
Properties
| Name | Value | Description |
|---|---|---|
| application | ||
| display | i=block/app |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| socketIn | input | ||
| socketOut | output |
Unassigned submodule parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| io.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| io.interfaceTableModule | string |
Relative module path of the interface table |
|
| io.interface | string | "" | |
| io.protocol | string | "" |
Bind the socket to this protocol if specified |
| io.localAddress | string | "" |
Local Ethernet MAC address |
| io.remoteAddress | string | "" |
Remote Ethernet MAC address |
| io.steal | bool | false |
Steal packets |
| io.stopOperationExtraTime | double | -1s |
Extra time after lifecycle stop operation finished |
| io.stopOperationTimeout | double | 2s |
Timeout value for lifecycle stop operation |
Source code
// // Implements an Ethernet application that only sends packets. // module EthernetSourceApp extends EthernetApp { parameters: sink.typename = ""; }File: src/inet/applications/ethernet/EthernetSourceApp.ned