DataLinkVisualizerFilteringShowcase

Package: inet.showcases.visualizer.canvas.datalinkactivity

DataLinkVisualizerFilteringShowcase

network

(no description)

IntegratedVisualizer Ipv4NetworkConfigurator EthernetSwitch EthernetSwitch StandardHost EthernetSwitch StandardHost StandardHost StandardHost EthernetSwitch StandardHost StandardHost

Usage diagram

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

Properties

Name Value Description
isNetwork
display bgb=900,600

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)

etherSwitch1.macTable.agingTime double
etherSwitch1.macTable.forwardingTableFile string
etherSwitch1.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

etherSwitch1.l2NodeConfigurator.interfaceTableModule string
etherSwitch1.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

the absolute path to the ~L2NetworkConfigurator; use "" if there is no configurator

etherSwitch1.status.initialStatus string "UP"

TODO @signal, @statistic

etherSwitch1.pcapRecorder.verbose bool true

whether to log packets on the module output

etherSwitch1.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

etherSwitch1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

etherSwitch1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

etherSwitch1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

etherSwitch1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

etherSwitch1.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

etherSwitch1.pcapRecorder.helpers string ""

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

etherSwitch1.pcapRecorder.alwaysFlush bool false

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

etherSwitch1.pcapRecorder.displayStringTextFormat string "rec: %n pks"
etherSwitch1.stp.helloTime double
etherSwitch1.stp.forwardDelay double
etherSwitch1.stp.maxAge double
etherSwitch1.stp.bridgePriority int
etherSwitch1.stp.visualize bool
etherSwitch1.sc.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

etherSwitch1.cutthrough.forwardServiceRegistration bool true
etherSwitch1.cutthrough.forwardProtocolRegistration bool true
etherSwitch1.eth.bitrate double
etherSwitch3.macTable.agingTime double
etherSwitch3.macTable.forwardingTableFile string
etherSwitch3.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

etherSwitch3.l2NodeConfigurator.interfaceTableModule string
etherSwitch3.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

the absolute path to the ~L2NetworkConfigurator; use "" if there is no configurator

etherSwitch3.status.initialStatus string "UP"

TODO @signal, @statistic

etherSwitch3.pcapRecorder.verbose bool true

whether to log packets on the module output

etherSwitch3.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

etherSwitch3.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

etherSwitch3.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

etherSwitch3.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

etherSwitch3.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

etherSwitch3.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

etherSwitch3.pcapRecorder.helpers string ""

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

etherSwitch3.pcapRecorder.alwaysFlush bool false

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

etherSwitch3.pcapRecorder.displayStringTextFormat string "rec: %n pks"
etherSwitch3.stp.helloTime double
etherSwitch3.stp.forwardDelay double
etherSwitch3.stp.maxAge double
etherSwitch3.stp.bridgePriority int
etherSwitch3.stp.visualize bool
etherSwitch3.sc.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

etherSwitch3.cutthrough.forwardServiceRegistration bool true
etherSwitch3.cutthrough.forwardProtocolRegistration bool true
etherSwitch3.eth.bitrate double
source1.status.initialStatus string "UP"

TODO @signal, @statistic

source1.pcapRecorder.verbose bool true

whether to log packets on the module output

source1.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

source1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

source1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

source1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

source1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

source1.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

source1.pcapRecorder.helpers string ""

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

source1.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

source1.at.forwardServiceRegistration bool true
source1.at.forwardProtocolRegistration bool true
etherSwitch4.macTable.agingTime double
etherSwitch4.macTable.forwardingTableFile string
etherSwitch4.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

etherSwitch4.l2NodeConfigurator.interfaceTableModule string
etherSwitch4.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

the absolute path to the ~L2NetworkConfigurator; use "" if there is no configurator

etherSwitch4.status.initialStatus string "UP"

TODO @signal, @statistic

etherSwitch4.pcapRecorder.verbose bool true

whether to log packets on the module output

etherSwitch4.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

etherSwitch4.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

etherSwitch4.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

etherSwitch4.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

etherSwitch4.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

etherSwitch4.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

etherSwitch4.pcapRecorder.helpers string ""

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

etherSwitch4.pcapRecorder.alwaysFlush bool false

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

etherSwitch4.pcapRecorder.displayStringTextFormat string "rec: %n pks"
etherSwitch4.stp.helloTime double
etherSwitch4.stp.forwardDelay double
etherSwitch4.stp.maxAge double
etherSwitch4.stp.bridgePriority int
etherSwitch4.stp.visualize bool
etherSwitch4.sc.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

etherSwitch4.cutthrough.forwardServiceRegistration bool true
etherSwitch4.cutthrough.forwardProtocolRegistration bool true
etherSwitch4.eth.bitrate double
destination1.status.initialStatus string "UP"

TODO @signal, @statistic

destination1.pcapRecorder.verbose bool true

whether to log packets on the module output

destination1.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

destination1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

destination1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

destination1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

destination1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

destination1.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

destination1.pcapRecorder.helpers string ""

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

destination1.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

destination1.at.forwardServiceRegistration bool true
destination1.at.forwardProtocolRegistration bool true
destination2.status.initialStatus string "UP"

TODO @signal, @statistic

destination2.pcapRecorder.verbose bool true

whether to log packets on the module output

destination2.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

destination2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

destination2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

destination2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

destination2.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

destination2.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

destination2.pcapRecorder.helpers string ""

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

destination2.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

destination2.at.forwardServiceRegistration bool true
destination2.at.forwardProtocolRegistration bool true
source2.status.initialStatus string "UP"

TODO @signal, @statistic

source2.pcapRecorder.verbose bool true

whether to log packets on the module output

source2.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

source2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

source2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

source2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

source2.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

source2.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

source2.pcapRecorder.helpers string ""

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

source2.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

source2.at.forwardServiceRegistration bool true
source2.at.forwardProtocolRegistration bool true
etherSwitch2.macTable.agingTime double
etherSwitch2.macTable.forwardingTableFile string
etherSwitch2.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

etherSwitch2.l2NodeConfigurator.interfaceTableModule string
etherSwitch2.l2NodeConfigurator.l2ConfiguratorModule string "l2NetworkConfigurator"

the absolute path to the ~L2NetworkConfigurator; use "" if there is no configurator

etherSwitch2.status.initialStatus string "UP"

TODO @signal, @statistic

etherSwitch2.pcapRecorder.verbose bool true

whether to log packets on the module output

etherSwitch2.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

etherSwitch2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

etherSwitch2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

etherSwitch2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

etherSwitch2.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

etherSwitch2.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

etherSwitch2.pcapRecorder.helpers string ""

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

etherSwitch2.pcapRecorder.alwaysFlush bool false

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

etherSwitch2.pcapRecorder.displayStringTextFormat string "rec: %n pks"
etherSwitch2.stp.helloTime double
etherSwitch2.stp.forwardDelay double
etherSwitch2.stp.maxAge double
etherSwitch2.stp.bridgePriority int
etherSwitch2.stp.visualize bool
etherSwitch2.sc.displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

etherSwitch2.cutthrough.forwardServiceRegistration bool true
etherSwitch2.cutthrough.forwardProtocolRegistration bool true
etherSwitch2.eth.bitrate double
host1.status.initialStatus string "UP"

TODO @signal, @statistic

host1.pcapRecorder.verbose bool true

whether to log packets on the module output

host1.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

host1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

host1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

host1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

host1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

host1.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

host1.pcapRecorder.helpers string ""

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

host1.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

host1.at.forwardServiceRegistration bool true
host1.at.forwardProtocolRegistration bool true
host2.status.initialStatus string "UP"

TODO @signal, @statistic

host2.pcapRecorder.verbose bool true

whether to log packets on the module output

host2.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

host2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

host2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

host2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

host2.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

host2.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

host2.pcapRecorder.helpers string ""

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

host2.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

host2.at.forwardServiceRegistration bool true
host2.at.forwardProtocolRegistration bool true

Source code

network DataLinkVisualizerFilteringShowcase
{
    @display("bgb=900,600");
    submodules:
        visualizer: IntegratedVisualizer {
            @display("p=80,50");
        }
        configurator: Ipv4NetworkConfigurator {
            parameters:
                @display("p=80,120");
        }
        etherSwitch1: EthernetSwitch {
            @display("p=376.896,169.12");
        }
        etherSwitch3: EthernetSwitch {
            @display("p=723.592,200.528");
        }
        source1: StandardHost {
            @display("p=206.568,50.736");
        }
        etherSwitch4: EthernetSwitch {
            @display("p=484.408,283.88");
        }
        destination1: StandardHost {
            @display("p=556.888,485.616");
        }
        destination2: StandardHost {
            @display("p=798.488,343.072");
        }
        source2: StandardHost {
            @display("p=173.952,227.104");
        }
        etherSwitch2: EthernetSwitch {
            @display("p=329.784,428.84");
        }
        host1: StandardHost {
            @display("p=233.144,506.152");
        }
        host2: StandardHost {
            @display("p=822.648,135.296");
        }
    connections:
        etherSwitch1.ethg++ <--> Eth100M <--> source1.ethg++;
        etherSwitch1.ethg++ <--> Eth100M <--> etherSwitch4.ethg++;
        etherSwitch4.ethg++ <--> Eth100M <--> etherSwitch3.ethg++;
        etherSwitch1.ethg++ <--> Eth100M <--> source2.ethg++;
        etherSwitch3.ethg++ <--> Eth100M <--> destination2.ethg++;
        etherSwitch4.ethg++ <--> Eth100M <--> etherSwitch2.ethg++;
        etherSwitch2.ethg++ <--> Eth100M <--> destination1.ethg++;
        etherSwitch3.ethg++ <--> Eth100M <--> host2.ethg++;
        etherSwitch2.ethg++ <--> Eth100M <--> host1.ethg++;
}

File: showcases/visualizer/canvas/datalinkactivity/DatalinkVisualizerShowcase.ned