Package: inet.tests.ethernet
TwoHosts
network(no description)
Usage diagram
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
Properties
| Name | Value | Description |
|---|---|---|
| isNetwork |
Unassigned submodule parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| hostA.app.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| hostA.app.destAddress | string | "" |
Destination MAC address, or module path name of destination station; empty means off |
| hostA.app.interfaceTableModule | string | ||
| hostA.app.ssap | int | -1 |
Llc ssap to set on outgoing packets |
| hostA.app.dsap | int | -1 |
Llc dsap to set on outgoing packets |
| hostA.app.startTime | double | this.sendInterval |
Time of sending the first packet |
| hostA.app.stopTime | double | -1s |
Time of finishing sending, negative values mean forever |
| hostA.app.sendInterval | double |
Interval between sending bursts |
|
| hostA.app.numPacketsPerBurst | int | 1 |
Number of packets to send per burst (packets within a burst are sent at the same simulation time) |
| hostA.app.packetLength | int |
Length of packets to send |
|
| hostA.app.stopOperationExtraTime | double | -1s |
Extra time after lifecycle stop operation finished |
| hostA.app.stopOperationTimeout | double | 2s |
Timeout value for lifecycle stop operation |
| hostA.interfaceTable.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| hostA.interfaceTable.displayAddresses | bool | false |
Whether to display IP addresses on links |
| hostA.eth.bitrate | double | ||
| hostB.app.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| hostB.app.destAddress | string | "" |
Destination MAC address, or module path name of destination station; empty means off |
| hostB.app.interfaceTableModule | string | ||
| hostB.app.ssap | int | -1 |
Llc ssap to set on outgoing packets |
| hostB.app.dsap | int | -1 |
Llc dsap to set on outgoing packets |
| hostB.app.startTime | double | this.sendInterval |
Time of sending the first packet |
| hostB.app.stopTime | double | -1s |
Time of finishing sending, negative values mean forever |
| hostB.app.sendInterval | double |
Interval between sending bursts |
|
| hostB.app.numPacketsPerBurst | int | 1 |
Number of packets to send per burst (packets within a burst are sent at the same simulation time) |
| hostB.app.packetLength | int |
Length of packets to send |
|
| hostB.app.stopOperationExtraTime | double | -1s |
Extra time after lifecycle stop operation finished |
| hostB.app.stopOperationTimeout | double | 2s |
Timeout value for lifecycle stop operation |
| hostB.interfaceTable.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| hostB.interfaceTable.displayAddresses | bool | false |
Whether to display IP addresses on links |
| hostB.eth.bitrate | double |
Source code
network TwoHosts { submodules: hostA: EthernetHost2 { parameters: @display("p=72,80"); } hostB: EthernetHost2 { parameters: @display("p=334,80"); } connections: hostA.ethg <--> DatarateChannel <--> hostB.ethg; }File: tests/networks/ethernet/network-twohosts.ned