ManetprotocolsShowcaseA

Package: inet.showcases.routing.manet

ManetprotocolsShowcaseA

network

(no description)

Ieee80211ScalarRadioMedium IntegratedMultiVisualizer Ipv4NetworkConfigurator ManetRouter ManetRouter ManetRouter ManetRouter ManetRouter ManetRouter ManetRouter ManetRouter ManetRouter ManetRouter ManetRouter ManetRouter ManetRouter ManetRouter

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Properties

Name Value Description
isNetwork
display bgb=1500,1000;bgl=2

Statistics

Name Title Source Record Unit Interpolation Mode
numRcvdPk count(source.app[0].pingRxSeq) figure
numLost count(source.app[0].numLost) figure

Unassigned submodule parameters

Name Type Default value Description
radioMedium.neighborCache.refillPeriod double
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)

source.status.initialStatus string "UP"

TODO @signal, @statistic

source.pcapRecorder.verbose bool true

whether to log packets on the module output

source.pcapRecorder.pcapFile string ""

the PCAP file to be written

source.pcapRecorder.fileFormat string "pcapng"
source.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

source.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

source.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

source.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

source.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

source.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

source.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

source.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

source.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

source.pcapRecorder.displayStringTextFormat string "rec: %n pks"
source.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

source.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

source.cb.forwardServiceRegistration bool true
source.cb.forwardProtocolRegistration bool true
source.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

source.bl.forwardServiceRegistration bool true
source.bl.forwardProtocolRegistration bool true
source.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

source.li.forwardServiceRegistration bool true
source.li.forwardProtocolRegistration bool true
source.eth.bitrate double
source.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

source.nl.forwardServiceRegistration bool true
source.nl.forwardProtocolRegistration bool true
source.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

source.tn.forwardServiceRegistration bool true
source.tn.forwardProtocolRegistration bool true
source.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

source.at.forwardServiceRegistration bool true
source.at.forwardProtocolRegistration bool true
destination.status.initialStatus string "UP"

TODO @signal, @statistic

destination.pcapRecorder.verbose bool true

whether to log packets on the module output

destination.pcapRecorder.pcapFile string ""

the PCAP file to be written

destination.pcapRecorder.fileFormat string "pcapng"
destination.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

destination.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

destination.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

destination.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

destination.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

destination.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

destination.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

destination.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

destination.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

destination.pcapRecorder.displayStringTextFormat string "rec: %n pks"
destination.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

destination.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

destination.cb.forwardServiceRegistration bool true
destination.cb.forwardProtocolRegistration bool true
destination.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

destination.bl.forwardServiceRegistration bool true
destination.bl.forwardProtocolRegistration bool true
destination.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

destination.li.forwardServiceRegistration bool true
destination.li.forwardProtocolRegistration bool true
destination.eth.bitrate double
destination.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

destination.nl.forwardServiceRegistration bool true
destination.nl.forwardProtocolRegistration bool true
destination.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

destination.tn.forwardServiceRegistration bool true
destination.tn.forwardProtocolRegistration bool true
destination.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

destination.at.forwardServiceRegistration bool true
destination.at.forwardProtocolRegistration bool true
node1.status.initialStatus string "UP"

TODO @signal, @statistic

node1.pcapRecorder.verbose bool true

whether to log packets on the module output

node1.pcapRecorder.pcapFile string ""

the PCAP file to be written

node1.pcapRecorder.fileFormat string "pcapng"
node1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

node1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

node1.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

node1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

node1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

node1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

node1.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

node1.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

node1.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

node1.pcapRecorder.displayStringTextFormat string "rec: %n pks"
node1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

node1.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node1.cb.forwardServiceRegistration bool true
node1.cb.forwardProtocolRegistration bool true
node1.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node1.bl.forwardServiceRegistration bool true
node1.bl.forwardProtocolRegistration bool true
node1.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node1.li.forwardServiceRegistration bool true
node1.li.forwardProtocolRegistration bool true
node1.eth.bitrate double
node1.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node1.nl.forwardServiceRegistration bool true
node1.nl.forwardProtocolRegistration bool true
node1.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node1.tn.forwardServiceRegistration bool true
node1.tn.forwardProtocolRegistration bool true
node1.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node1.at.forwardServiceRegistration bool true
node1.at.forwardProtocolRegistration bool true
node2.status.initialStatus string "UP"

TODO @signal, @statistic

node2.pcapRecorder.verbose bool true

whether to log packets on the module output

node2.pcapRecorder.pcapFile string ""

the PCAP file to be written

node2.pcapRecorder.fileFormat string "pcapng"
node2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

node2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

node2.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

node2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

node2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

node2.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

node2.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

node2.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

node2.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

node2.pcapRecorder.displayStringTextFormat string "rec: %n pks"
node2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

node2.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node2.cb.forwardServiceRegistration bool true
node2.cb.forwardProtocolRegistration bool true
node2.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node2.bl.forwardServiceRegistration bool true
node2.bl.forwardProtocolRegistration bool true
node2.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node2.li.forwardServiceRegistration bool true
node2.li.forwardProtocolRegistration bool true
node2.eth.bitrate double
node2.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node2.nl.forwardServiceRegistration bool true
node2.nl.forwardProtocolRegistration bool true
node2.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node2.tn.forwardServiceRegistration bool true
node2.tn.forwardProtocolRegistration bool true
node2.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node2.at.forwardServiceRegistration bool true
node2.at.forwardProtocolRegistration bool true
node3.status.initialStatus string "UP"

TODO @signal, @statistic

node3.pcapRecorder.verbose bool true

whether to log packets on the module output

node3.pcapRecorder.pcapFile string ""

the PCAP file to be written

node3.pcapRecorder.fileFormat string "pcapng"
node3.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

node3.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

node3.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

node3.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

node3.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

node3.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

node3.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

node3.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

node3.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

node3.pcapRecorder.displayStringTextFormat string "rec: %n pks"
node3.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

node3.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node3.cb.forwardServiceRegistration bool true
node3.cb.forwardProtocolRegistration bool true
node3.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node3.bl.forwardServiceRegistration bool true
node3.bl.forwardProtocolRegistration bool true
node3.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node3.li.forwardServiceRegistration bool true
node3.li.forwardProtocolRegistration bool true
node3.eth.bitrate double
node3.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node3.nl.forwardServiceRegistration bool true
node3.nl.forwardProtocolRegistration bool true
node3.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node3.tn.forwardServiceRegistration bool true
node3.tn.forwardProtocolRegistration bool true
node3.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node3.at.forwardServiceRegistration bool true
node3.at.forwardProtocolRegistration bool true
node4.status.initialStatus string "UP"

TODO @signal, @statistic

node4.pcapRecorder.verbose bool true

whether to log packets on the module output

node4.pcapRecorder.pcapFile string ""

the PCAP file to be written

node4.pcapRecorder.fileFormat string "pcapng"
node4.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

node4.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

node4.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

node4.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

node4.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

node4.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

node4.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

node4.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

node4.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

node4.pcapRecorder.displayStringTextFormat string "rec: %n pks"
node4.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

node4.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node4.cb.forwardServiceRegistration bool true
node4.cb.forwardProtocolRegistration bool true
node4.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node4.bl.forwardServiceRegistration bool true
node4.bl.forwardProtocolRegistration bool true
node4.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node4.li.forwardServiceRegistration bool true
node4.li.forwardProtocolRegistration bool true
node4.eth.bitrate double
node4.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node4.nl.forwardServiceRegistration bool true
node4.nl.forwardProtocolRegistration bool true
node4.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node4.tn.forwardServiceRegistration bool true
node4.tn.forwardProtocolRegistration bool true
node4.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node4.at.forwardServiceRegistration bool true
node4.at.forwardProtocolRegistration bool true
node5.status.initialStatus string "UP"

TODO @signal, @statistic

node5.pcapRecorder.verbose bool true

whether to log packets on the module output

node5.pcapRecorder.pcapFile string ""

the PCAP file to be written

node5.pcapRecorder.fileFormat string "pcapng"
node5.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

node5.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

node5.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

node5.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

node5.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

node5.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

node5.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

node5.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

node5.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

node5.pcapRecorder.displayStringTextFormat string "rec: %n pks"
node5.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

node5.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node5.cb.forwardServiceRegistration bool true
node5.cb.forwardProtocolRegistration bool true
node5.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node5.bl.forwardServiceRegistration bool true
node5.bl.forwardProtocolRegistration bool true
node5.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node5.li.forwardServiceRegistration bool true
node5.li.forwardProtocolRegistration bool true
node5.eth.bitrate double
node5.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node5.nl.forwardServiceRegistration bool true
node5.nl.forwardProtocolRegistration bool true
node5.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node5.tn.forwardServiceRegistration bool true
node5.tn.forwardProtocolRegistration bool true
node5.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node5.at.forwardServiceRegistration bool true
node5.at.forwardProtocolRegistration bool true
node6.status.initialStatus string "UP"

TODO @signal, @statistic

node6.pcapRecorder.verbose bool true

whether to log packets on the module output

node6.pcapRecorder.pcapFile string ""

the PCAP file to be written

node6.pcapRecorder.fileFormat string "pcapng"
node6.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

node6.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

node6.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

node6.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

node6.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

node6.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

node6.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

node6.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

node6.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

node6.pcapRecorder.displayStringTextFormat string "rec: %n pks"
node6.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

node6.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node6.cb.forwardServiceRegistration bool true
node6.cb.forwardProtocolRegistration bool true
node6.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node6.bl.forwardServiceRegistration bool true
node6.bl.forwardProtocolRegistration bool true
node6.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node6.li.forwardServiceRegistration bool true
node6.li.forwardProtocolRegistration bool true
node6.eth.bitrate double
node6.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node6.nl.forwardServiceRegistration bool true
node6.nl.forwardProtocolRegistration bool true
node6.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node6.tn.forwardServiceRegistration bool true
node6.tn.forwardProtocolRegistration bool true
node6.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node6.at.forwardServiceRegistration bool true
node6.at.forwardProtocolRegistration bool true
node7.status.initialStatus string "UP"

TODO @signal, @statistic

node7.pcapRecorder.verbose bool true

whether to log packets on the module output

node7.pcapRecorder.pcapFile string ""

the PCAP file to be written

node7.pcapRecorder.fileFormat string "pcapng"
node7.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

node7.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

node7.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

node7.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

node7.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

node7.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

node7.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

node7.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

node7.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

node7.pcapRecorder.displayStringTextFormat string "rec: %n pks"
node7.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

node7.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node7.cb.forwardServiceRegistration bool true
node7.cb.forwardProtocolRegistration bool true
node7.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node7.bl.forwardServiceRegistration bool true
node7.bl.forwardProtocolRegistration bool true
node7.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node7.li.forwardServiceRegistration bool true
node7.li.forwardProtocolRegistration bool true
node7.eth.bitrate double
node7.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node7.nl.forwardServiceRegistration bool true
node7.nl.forwardProtocolRegistration bool true
node7.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node7.tn.forwardServiceRegistration bool true
node7.tn.forwardProtocolRegistration bool true
node7.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node7.at.forwardServiceRegistration bool true
node7.at.forwardProtocolRegistration bool true
node8.status.initialStatus string "UP"

TODO @signal, @statistic

node8.pcapRecorder.verbose bool true

whether to log packets on the module output

node8.pcapRecorder.pcapFile string ""

the PCAP file to be written

node8.pcapRecorder.fileFormat string "pcapng"
node8.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

node8.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

node8.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

node8.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

node8.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

node8.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

node8.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

node8.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

node8.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

node8.pcapRecorder.displayStringTextFormat string "rec: %n pks"
node8.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

node8.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node8.cb.forwardServiceRegistration bool true
node8.cb.forwardProtocolRegistration bool true
node8.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node8.bl.forwardServiceRegistration bool true
node8.bl.forwardProtocolRegistration bool true
node8.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node8.li.forwardServiceRegistration bool true
node8.li.forwardProtocolRegistration bool true
node8.eth.bitrate double
node8.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node8.nl.forwardServiceRegistration bool true
node8.nl.forwardProtocolRegistration bool true
node8.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node8.tn.forwardServiceRegistration bool true
node8.tn.forwardProtocolRegistration bool true
node8.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node8.at.forwardServiceRegistration bool true
node8.at.forwardProtocolRegistration bool true
node9.status.initialStatus string "UP"

TODO @signal, @statistic

node9.pcapRecorder.verbose bool true

whether to log packets on the module output

node9.pcapRecorder.pcapFile string ""

the PCAP file to be written

node9.pcapRecorder.fileFormat string "pcapng"
node9.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

node9.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

node9.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

node9.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

node9.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

node9.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

node9.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

node9.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

node9.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

node9.pcapRecorder.displayStringTextFormat string "rec: %n pks"
node9.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

node9.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node9.cb.forwardServiceRegistration bool true
node9.cb.forwardProtocolRegistration bool true
node9.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node9.bl.forwardServiceRegistration bool true
node9.bl.forwardProtocolRegistration bool true
node9.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node9.li.forwardServiceRegistration bool true
node9.li.forwardProtocolRegistration bool true
node9.eth.bitrate double
node9.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node9.nl.forwardServiceRegistration bool true
node9.nl.forwardProtocolRegistration bool true
node9.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node9.tn.forwardServiceRegistration bool true
node9.tn.forwardProtocolRegistration bool true
node9.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node9.at.forwardServiceRegistration bool true
node9.at.forwardProtocolRegistration bool true
node10.status.initialStatus string "UP"

TODO @signal, @statistic

node10.pcapRecorder.verbose bool true

whether to log packets on the module output

node10.pcapRecorder.pcapFile string ""

the PCAP file to be written

node10.pcapRecorder.fileFormat string "pcapng"
node10.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

node10.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

node10.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

node10.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

node10.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

node10.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

node10.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

node10.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

node10.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

node10.pcapRecorder.displayStringTextFormat string "rec: %n pks"
node10.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

node10.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node10.cb.forwardServiceRegistration bool true
node10.cb.forwardProtocolRegistration bool true
node10.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node10.bl.forwardServiceRegistration bool true
node10.bl.forwardProtocolRegistration bool true
node10.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node10.li.forwardServiceRegistration bool true
node10.li.forwardProtocolRegistration bool true
node10.eth.bitrate double
node10.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node10.nl.forwardServiceRegistration bool true
node10.nl.forwardProtocolRegistration bool true
node10.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node10.tn.forwardServiceRegistration bool true
node10.tn.forwardProtocolRegistration bool true
node10.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node10.at.forwardServiceRegistration bool true
node10.at.forwardProtocolRegistration bool true
node11.status.initialStatus string "UP"

TODO @signal, @statistic

node11.pcapRecorder.verbose bool true

whether to log packets on the module output

node11.pcapRecorder.pcapFile string ""

the PCAP file to be written

node11.pcapRecorder.fileFormat string "pcapng"
node11.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

node11.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

node11.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

node11.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

node11.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

node11.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

node11.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

node11.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

node11.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

node11.pcapRecorder.displayStringTextFormat string "rec: %n pks"
node11.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

node11.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node11.cb.forwardServiceRegistration bool true
node11.cb.forwardProtocolRegistration bool true
node11.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node11.bl.forwardServiceRegistration bool true
node11.bl.forwardProtocolRegistration bool true
node11.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node11.li.forwardServiceRegistration bool true
node11.li.forwardProtocolRegistration bool true
node11.eth.bitrate double
node11.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node11.nl.forwardServiceRegistration bool true
node11.nl.forwardProtocolRegistration bool true
node11.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node11.tn.forwardServiceRegistration bool true
node11.tn.forwardProtocolRegistration bool true
node11.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node11.at.forwardServiceRegistration bool true
node11.at.forwardProtocolRegistration bool true
node12.status.initialStatus string "UP"

TODO @signal, @statistic

node12.pcapRecorder.verbose bool true

whether to log packets on the module output

node12.pcapRecorder.pcapFile string ""

the PCAP file to be written

node12.pcapRecorder.fileFormat string "pcapng"
node12.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

node12.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

node12.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*]"

space-separated list of sibling module names to listen on

node12.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

node12.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

node12.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

space-separated list of protocol names as defined in the Protocol class

node12.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

node12.pcapRecorder.helpers string ""

usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper"

node12.pcapRecorder.alwaysFlush bool false

flush the pcapFile after each write to ensure that all packets are captured in case of a crash

node12.pcapRecorder.displayStringTextFormat string "rec: %n pks"
node12.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

node12.cb.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node12.cb.forwardServiceRegistration bool true
node12.cb.forwardProtocolRegistration bool true
node12.bl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node12.bl.forwardServiceRegistration bool true
node12.bl.forwardProtocolRegistration bool true
node12.li.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node12.li.forwardServiceRegistration bool true
node12.li.forwardProtocolRegistration bool true
node12.eth.bitrate double
node12.nl.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node12.nl.forwardServiceRegistration bool true
node12.nl.forwardProtocolRegistration bool true
node12.tn.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node12.tn.forwardServiceRegistration bool true
node12.tn.forwardProtocolRegistration bool true
node12.at.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

node12.at.forwardServiceRegistration bool true
node12.at.forwardProtocolRegistration bool true

Source code

network ManetprotocolsShowcaseA
{
    parameters:
        @display("bgb=1500,1000;bgl=2");
        @statistic[numRcvdPk](source=count(source.app[0].pingRxSeq); record=figure; targetFigure=numRcvdPkCounter; checkSignals=false);
        @figure[numRcvdPkCounter](type=counter; pos=65,400; label="Received ping replies"; decimalPlaces=4);
        @statistic[numLost](source=count(source.app[0].numLost); record=figure; targetFigure=numLostPkCounter; checkSignals=false);
        @figure[numLostPkCounter](type=counter; pos=65,500; label="Pings lost"; decimalPlaces=4);
        @figure[forest](type=image; image="showcases/forest"; pos=0,0; transform=scale(0.7),translate(1100,450));
        @figure[tree1](type=image; image="showcases/tree"; pos=0,0; transform=scale(0.1),translate(1000,350));
        @figure[tree2](type=image; image="showcases/tree"; pos=0,0; transform=scale(0.1),translate(1065,260));
        @figure[tree3](type=image; image="showcases/tree"; pos=0,0; transform=scale(0.1),translate(1140,380));
        @figure[tree4](type=image; image="showcases/tree"; pos=0,0; transform=scale(0.1),translate(1080,470));
        @figure[tree5](type=image; image="showcases/tree"; pos=0,0; transform=scale(0.1),translate(990,530));
        @figure[tree6](type=image; image="showcases/tree"; pos=0,0; transform=scale(0.1),translate(1050,600));
        @figure[tree7](type=image; image="showcases/tree"; pos=0,0; transform=scale(0.1),translate(1170,620));
    submodules:
        radioMedium: Ieee80211ScalarRadioMedium {
            @display("p=100,100");
        }
        visualizer: IntegratedMultiVisualizer {
            @display("p=100,200");
        }
        configurator: Ipv4NetworkConfigurator {
            @display("p=100,300");
        }
        source: ManetRouter {
            @display("p=394,189;i=misc/solarpanel");
        }
        destination: ManetRouter {
            @display("p=1230,492;i=misc/sensorgateway");
        }
        node1: ManetRouter {
            @display("p=1064.24,824.82465;i=misc/solarpanel");
        }
        node2: ManetRouter {
            @display("p=940,718;i=misc/solarpanel");
        }
        node3: ManetRouter {
            @display("p=1304,253;i=misc/solarpanel");
        }
        node4: ManetRouter {
            @display("p=1331,391;i=misc/solarpanel");
        }
        node5: ManetRouter {
            @display("p=890,430;i=misc/solarpanel");
        }
        node6: ManetRouter {
            @display("p=851,573;i=misc/solarpanel");
        }
        node7: ManetRouter {
            @display("p=1046,112;i=misc/solarpanel");
        }
        node8: ManetRouter {
            @display("p=901,157;i=misc/solarpanel");
        }
        node9: ManetRouter {
            @display("p=862,286;i=misc/solarpanel");
        }
        node10: ManetRouter {
            @display("p=1200,156;i=misc/solarpanel");
        }
        node11: ManetRouter {
            @display("p=701,373;i=misc/solarpanel");
        }
        node12: ManetRouter {
            @display("p=529,286;i=misc/solarpanel");
        }
}

File: showcases/routing/manet/ManetProtocolsShowcase.ned