Package: inet.showcases.mobility.spatial
MobilityShowcase
network(no description)
Usage diagram
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| numHosts | int |
Properties
| Name | Value | Description |
|---|---|---|
| isNetwork | ||
| display | bgb=1000,1000 |
Unassigned submodule parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| host.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| host.pcapRecorder.verbose | bool | true |
whether to log packets on the module output |
| host.pcapRecorder.pcapFile | string | "" |
the PCAP file to be written |
| host.pcapRecorder.fileFormat | string | "pcapng" | |
| host.pcapRecorder.snaplen | int | 65535 |
maximum number of bytes to record per packet |
| host.pcapRecorder.dumpBadFrames | bool | true |
enable dump of frames with hasBitError |
| host.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
space-separated list of sibling module names to listen on |
| host.pcapRecorder.sendingSignalNames | string | "packetSentToLower" |
space-separated list of outbound packet signals to subscribe to |
| host.pcapRecorder.receivingSignalNames | string | "packetReceivedFromLower" |
space-separated list of inbound packet signals to subscribe to |
| host.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
space-separated list of protocol names as defined in the Protocol class |
| host.pcapRecorder.packetFilter | object | "*" |
which packets are considered, matches all packets by default |
| host.pcapRecorder.helpers | string | "" |
usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| host.pcapRecorder.alwaysFlush | bool | false |
flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| host.pcapRecorder.displayStringTextFormat | string | "rec: %n pks" | |
| host.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| host.cb.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| host.cb.forwardServiceRegistration | bool | true | |
| host.cb.forwardProtocolRegistration | bool | true | |
| host.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| host.bl.forwardServiceRegistration | bool | true | |
| host.bl.forwardProtocolRegistration | bool | true | |
| host.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| host.li.forwardServiceRegistration | bool | true | |
| host.li.forwardProtocolRegistration | bool | true | |
| host.eth.bitrate | double | ||
| host.nl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| host.nl.forwardServiceRegistration | bool | true | |
| host.nl.forwardProtocolRegistration | bool | true | |
| host.tn.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| host.tn.forwardServiceRegistration | bool | true | |
| host.tn.forwardProtocolRegistration | bool | true | |
| host.at.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| host.at.forwardServiceRegistration | bool | true | |
| host.at.forwardProtocolRegistration | bool | true |
Source code
network MobilityShowcase { parameters: int numHosts; @display("bgb=1000,1000"); submodules: visualizer: IntegratedVisualizer { @display("p=100,50"); } host[numHosts]: StandardHost { @display("i=misc/node_vs"); } }File: showcases/mobility/spatial/MobilityShowcase.ned