Package: inet.examples.wireless.qos
QosThroughput
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 |
|---|---|---|---|
| configurator.minLinkWeight | double | 1E-3 | |
| configurator.configureIsolatedNetworksSeparatly | bool | false | |
| configurator.config | xml | xml(" |
XML configuration parameters for IP address assignment and adding manual routes |
| configurator.assignAddresses | bool | true |
assign IP addresses to all interfaces in the network |
| configurator.assignUniqueAddresses | bool | true |
avoid using the same address and raise an error if not possible |
| configurator.assignDisjunctSubnetAddresses | bool | true |
avoid using the same address prefix and netmask on different links when assigning IP addresses to interfaces |
| configurator.addStaticRoutes | bool | true |
add static routes to the routing tables of all nodes to route to all destination interfaces (only where applicable; turn off when config file contains manual routes) |
| configurator.addDefaultRoutes | bool | true |
add default routes if all routes from a source node go through the same gateway (used only if addStaticRoutes is true) |
| configurator.addSubnetRoutes | bool | true |
add subnet routes instead of destination interface routes (only where applicable; used only if addStaticRoutes is true) |
| configurator.addDirectRoutes | bool | true |
add direct routes (i.e. directly connected interfaces) to the routing table (used only if addStaticRoutes is true) |
| configurator.optimizeRoutes | bool | true |
optimize routing tables by merging routes, the resulting routing table might route more packets than the original (used only if addStaticRoutes is true) |
| configurator.dumpTopology | bool | false |
print extracted network topology to the module output |
| configurator.dumpLinks | bool | false |
print recognized network links to the module output |
| configurator.dumpAddresses | bool | false |
print assigned IP addresses for all interfaces to the module output |
| configurator.dumpRoutes | bool | false |
print configured and optimized routing tables for all nodes to the module output |
| configurator.dumpConfig | string | "" |
write configuration into the given config file that can be fed back to speed up subsequent runs (network configurations) |
| ap.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| ap.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| ap.macTable.agingTime | double | ||
| ap.macTable.forwardingTableFile | string | ||
| ap.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| ap.bl.forwardServiceRegistration | bool | true | |
| ap.bl.forwardProtocolRegistration | bool | true | |
| ap.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| ap.li.forwardServiceRegistration | bool | true | |
| ap.li.forwardProtocolRegistration | bool | true | |
| ap.eth.bitrate | double | ||
| srvHost.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| srvHost.pcapRecorder.verbose | bool | true |
whether to log packets on the module output |
| srvHost.pcapRecorder.pcapFile | string | "" |
the PCAP file to be written |
| srvHost.pcapRecorder.fileFormat | string | "pcapng" | |
| srvHost.pcapRecorder.snaplen | int | 65535 |
maximum number of bytes to record per packet |
| srvHost.pcapRecorder.dumpBadFrames | bool | true |
enable dump of frames with hasBitError |
| srvHost.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
space-separated list of sibling module names to listen on |
| srvHost.pcapRecorder.sendingSignalNames | string | "packetSentToLower" |
space-separated list of outbound packet signals to subscribe to |
| srvHost.pcapRecorder.receivingSignalNames | string | "packetReceivedFromLower" |
space-separated list of inbound packet signals to subscribe to |
| srvHost.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
space-separated list of protocol names as defined in the Protocol class |
| srvHost.pcapRecorder.packetFilter | object | "*" |
which packets are considered, matches all packets by default |
| srvHost.pcapRecorder.helpers | string | "" |
usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| srvHost.pcapRecorder.alwaysFlush | bool | false |
flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| srvHost.pcapRecorder.displayStringTextFormat | string | "rec: %n pks" | |
| srvHost.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| srvHost.cb.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| srvHost.cb.forwardServiceRegistration | bool | true | |
| srvHost.cb.forwardProtocolRegistration | bool | true | |
| srvHost.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| srvHost.bl.forwardServiceRegistration | bool | true | |
| srvHost.bl.forwardProtocolRegistration | bool | true | |
| srvHost.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| srvHost.li.forwardServiceRegistration | bool | true | |
| srvHost.li.forwardProtocolRegistration | bool | true | |
| srvHost.eth.bitrate | double | ||
| srvHost.nl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| srvHost.nl.forwardServiceRegistration | bool | true | |
| srvHost.nl.forwardProtocolRegistration | bool | true | |
| srvHost.tn.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| srvHost.tn.forwardServiceRegistration | bool | true | |
| srvHost.tn.forwardProtocolRegistration | bool | true | |
| srvHost.at.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| srvHost.at.forwardServiceRegistration | bool | true | |
| srvHost.at.forwardProtocolRegistration | bool | true | |
| cliHost.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| cliHost.pcapRecorder.verbose | bool | true |
whether to log packets on the module output |
| cliHost.pcapRecorder.pcapFile | string | "" |
the PCAP file to be written |
| cliHost.pcapRecorder.fileFormat | string | "pcapng" | |
| cliHost.pcapRecorder.snaplen | int | 65535 |
maximum number of bytes to record per packet |
| cliHost.pcapRecorder.dumpBadFrames | bool | true |
enable dump of frames with hasBitError |
| cliHost.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
space-separated list of sibling module names to listen on |
| cliHost.pcapRecorder.sendingSignalNames | string | "packetSentToLower" |
space-separated list of outbound packet signals to subscribe to |
| cliHost.pcapRecorder.receivingSignalNames | string | "packetReceivedFromLower" |
space-separated list of inbound packet signals to subscribe to |
| cliHost.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
space-separated list of protocol names as defined in the Protocol class |
| cliHost.pcapRecorder.packetFilter | object | "*" |
which packets are considered, matches all packets by default |
| cliHost.pcapRecorder.helpers | string | "" |
usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| cliHost.pcapRecorder.alwaysFlush | bool | false |
flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| cliHost.pcapRecorder.displayStringTextFormat | string | "rec: %n pks" | |
| cliHost.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| cliHost.cb.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| cliHost.cb.forwardServiceRegistration | bool | true | |
| cliHost.cb.forwardProtocolRegistration | bool | true | |
| cliHost.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| cliHost.bl.forwardServiceRegistration | bool | true | |
| cliHost.bl.forwardProtocolRegistration | bool | true | |
| cliHost.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| cliHost.li.forwardServiceRegistration | bool | true | |
| cliHost.li.forwardProtocolRegistration | bool | true | |
| cliHost.eth.bitrate | double | ||
| cliHost.nl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| cliHost.nl.forwardServiceRegistration | bool | true | |
| cliHost.nl.forwardProtocolRegistration | bool | true | |
| cliHost.tn.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| cliHost.tn.forwardServiceRegistration | bool | true | |
| cliHost.tn.forwardProtocolRegistration | bool | true | |
| cliHost.at.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| cliHost.at.forwardServiceRegistration | bool | true | |
| cliHost.at.forwardProtocolRegistration | bool | true | |
| radioMedium.neighborCache.refillPeriod | double |
Source code
network QosThroughput { parameters: submodules: configurator: Ipv4NetworkConfigurator { @display("p=100,100;is=s"); } ap: AccessPoint { parameters: @display("p=400,200;r=,,#707070"); } srvHost: WirelessHost { parameters: @display("r=,,#707070;p=550,100"); } cliHost: WirelessHost { parameters: @display("r=,,#707070;p=250,100"); } radioMedium: Ieee80211ScalarRadioMedium { parameters: @display("p=100,200;is=s"); } }File: examples/wireless/qos/Throughput.ned