WiredAndWirelessHostsWithAP

Package: inet.examples.wireless.wiredandwirelesshostswithap

WiredAndWirelessHostsWithAP

network

(no description)

visualizer : like IIntegratedVisualizer

IIntegratedVisualizer: Interface allows configuring different ~IIntegratedVisualizer submodules from INI files.

Source:
visualizer: <default(firstAvailableOrEmpty("IntegratedCanvasVisualizer"))> like IIntegratedVisualizer if typename != "" {
    parameters:
        @display("p=100,300;is=s");
} configurator : Ipv4NetworkConfigurator

Assigns IPv4 addresses and sets up static routing for an IPv4 network.

Source:
configurator: Ipv4NetworkConfigurator {
    parameters:
        assignDisjunctSubnetAddresses = false;
        @display("p=100,100;is=s");
} radioMedium : Ieee80211ScalarRadioMedium

This radio medium model uses scalar transmission power in the analog representation.

Source:
radioMedium: Ieee80211ScalarRadioMedium {
    parameters:
        @display("p=100,200;is=s");
} wirelessHost1 : WirelessHost

A mobile device with wireless connectivity operating in infrastructure mode.

Source:
wirelessHost1: WirelessHost {
    parameters:
        @display("p=62,69");
} wiredHost1 : StandardHost

A comprehensive model of an IPv4/IPv6 host that provides a complete network stack with configurable...

Source:
wiredHost1: StandardHost {
    parameters:
        @display("p=296,134");
} wiredHost2 : StandardHost

A comprehensive model of an IPv4/IPv6 host that provides a complete network stack with configurable...

Source:
wiredHost2: StandardHost {
    parameters:
        @display("p=412,70");
} router : Router

A network router device with support for multiple routing protocols and network interfaces.

Source:
router: Router {
    parameters:
        @display("p=296,69");
} accessPoint : AccessPoint

A wireless access point device that connects wireless stations (like WirelessHost) to a wired...

Source:
accessPoint: AccessPoint {
    parameters:
        @display("p=205,69");
}

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.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

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.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 towards local network members (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.updateRoutes bool false

Recalculate static routes if an interface goes down/up or a carrier is lost/back

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)

radioMedium.neighborCache.refillPeriod double
wirelessHost1.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wirelessHost1.status.initialStatus string "UP"

TODO @signal, @statistic

wirelessHost1.environment.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wirelessHost1.environment.initStage int 0

Initialization stage for the setup command

wirelessHost1.environment.globalNamespace bool false

Create new network namespaces under /var/run/netns/ (Linux only)

wirelessHost1.environment.namespace string ""

Name of the host OS network namespace (optional) (Linux only)

wirelessHost1.environment.setupCommand string ""

A host OS system command

wirelessHost1.environment.teardownCommand string ""

A host OS system command

wirelessHost1.pcapRecorder.displayStringTextFormat string "rec: %n pks"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wirelessHost1.pcapRecorder.verbose bool true

Whether to log packets on the module output

wirelessHost1.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

wirelessHost1.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

wirelessHost1.pcapRecorder.pcapFile string ""

The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap"

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

Maximum number of bytes to record per packet

wirelessHost1.pcapRecorder.timePrecision int 6

Time precision in recorded file. pcap supports only 6 (usec) or 9 (nanosec), pcapng supports more values (see 'if_tsresol' option in pcapng file format).

wirelessHost1.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

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

Space-separated list of sibling module names to listen on

wirelessHost1.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

wirelessHost1.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

wirelessHost1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

wirelessHost1.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

wirelessHost1.pcapRecorder.helpers string ""

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

wirelessHost1.pcapRecorder.alwaysFlush bool false

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

wirelessHost1.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wirelessHost1.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

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

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wirelessHost1.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

wirelessHost1.cb.forwardServiceRegistration bool true
wirelessHost1.cb.forwardProtocolRegistration bool true
wirelessHost1.cb.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wirelessHost1.cb.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wirelessHost1.cb.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wirelessHost1.bl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wirelessHost1.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

wirelessHost1.bl.forwardServiceRegistration bool true
wirelessHost1.bl.forwardProtocolRegistration bool true
wirelessHost1.bl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wirelessHost1.bl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wirelessHost1.bl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wirelessHost1.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wirelessHost1.li.interfaceTableModule string

Module path to the ~InterfaceTable module

wirelessHost1.li.forwardServiceRegistration bool true
wirelessHost1.li.forwardProtocolRegistration bool true
wirelessHost1.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wirelessHost1.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wirelessHost1.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wirelessHost1.eth.bitrate double
wirelessHost1.nl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wirelessHost1.nl.interfaceTableModule string

Module path to the ~InterfaceTable module

wirelessHost1.nl.forwardServiceRegistration bool true
wirelessHost1.nl.forwardProtocolRegistration bool true
wirelessHost1.nl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wirelessHost1.nl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wirelessHost1.nl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wirelessHost1.tn.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wirelessHost1.tn.interfaceTableModule string

Module path to the ~InterfaceTable module

wirelessHost1.tn.forwardServiceRegistration bool true
wirelessHost1.tn.forwardProtocolRegistration bool true
wirelessHost1.tn.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wirelessHost1.tn.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wirelessHost1.tn.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wirelessHost1.at.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wirelessHost1.at.interfaceTableModule string

Module path to the ~InterfaceTable module

wirelessHost1.at.forwardServiceRegistration bool true
wirelessHost1.at.forwardProtocolRegistration bool true
wirelessHost1.at.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wirelessHost1.at.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wirelessHost1.at.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wiredHost1.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost1.status.initialStatus string "UP"

TODO @signal, @statistic

wiredHost1.environment.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost1.environment.initStage int 0

Initialization stage for the setup command

wiredHost1.environment.globalNamespace bool false

Create new network namespaces under /var/run/netns/ (Linux only)

wiredHost1.environment.namespace string ""

Name of the host OS network namespace (optional) (Linux only)

wiredHost1.environment.setupCommand string ""

A host OS system command

wiredHost1.environment.teardownCommand string ""

A host OS system command

wiredHost1.pcapRecorder.displayStringTextFormat string "rec: %n pks"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost1.pcapRecorder.verbose bool true

Whether to log packets on the module output

wiredHost1.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

wiredHost1.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

wiredHost1.pcapRecorder.pcapFile string ""

The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap"

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

Maximum number of bytes to record per packet

wiredHost1.pcapRecorder.timePrecision int 6

Time precision in recorded file. pcap supports only 6 (usec) or 9 (nanosec), pcapng supports more values (see 'if_tsresol' option in pcapng file format).

wiredHost1.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

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

Space-separated list of sibling module names to listen on

wiredHost1.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

wiredHost1.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

wiredHost1.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

wiredHost1.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

wiredHost1.pcapRecorder.helpers string ""

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

wiredHost1.pcapRecorder.alwaysFlush bool false

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

wiredHost1.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost1.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

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

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost1.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

wiredHost1.cb.forwardServiceRegistration bool true
wiredHost1.cb.forwardProtocolRegistration bool true
wiredHost1.cb.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wiredHost1.cb.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wiredHost1.cb.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wiredHost1.bl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost1.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

wiredHost1.bl.forwardServiceRegistration bool true
wiredHost1.bl.forwardProtocolRegistration bool true
wiredHost1.bl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wiredHost1.bl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wiredHost1.bl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wiredHost1.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost1.li.interfaceTableModule string

Module path to the ~InterfaceTable module

wiredHost1.li.forwardServiceRegistration bool true
wiredHost1.li.forwardProtocolRegistration bool true
wiredHost1.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wiredHost1.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wiredHost1.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wiredHost1.eth.bitrate double
wiredHost1.nl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost1.nl.interfaceTableModule string

Module path to the ~InterfaceTable module

wiredHost1.nl.forwardServiceRegistration bool true
wiredHost1.nl.forwardProtocolRegistration bool true
wiredHost1.nl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wiredHost1.nl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wiredHost1.nl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wiredHost1.tn.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost1.tn.interfaceTableModule string

Module path to the ~InterfaceTable module

wiredHost1.tn.forwardServiceRegistration bool true
wiredHost1.tn.forwardProtocolRegistration bool true
wiredHost1.tn.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wiredHost1.tn.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wiredHost1.tn.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wiredHost1.at.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost1.at.interfaceTableModule string

Module path to the ~InterfaceTable module

wiredHost1.at.forwardServiceRegistration bool true
wiredHost1.at.forwardProtocolRegistration bool true
wiredHost1.at.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wiredHost1.at.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wiredHost1.at.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wiredHost2.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost2.status.initialStatus string "UP"

TODO @signal, @statistic

wiredHost2.environment.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost2.environment.initStage int 0

Initialization stage for the setup command

wiredHost2.environment.globalNamespace bool false

Create new network namespaces under /var/run/netns/ (Linux only)

wiredHost2.environment.namespace string ""

Name of the host OS network namespace (optional) (Linux only)

wiredHost2.environment.setupCommand string ""

A host OS system command

wiredHost2.environment.teardownCommand string ""

A host OS system command

wiredHost2.pcapRecorder.displayStringTextFormat string "rec: %n pks"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost2.pcapRecorder.verbose bool true

Whether to log packets on the module output

wiredHost2.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

wiredHost2.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

wiredHost2.pcapRecorder.pcapFile string ""

The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap"

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

Maximum number of bytes to record per packet

wiredHost2.pcapRecorder.timePrecision int 6

Time precision in recorded file. pcap supports only 6 (usec) or 9 (nanosec), pcapng supports more values (see 'if_tsresol' option in pcapng file format).

wiredHost2.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

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

Space-separated list of sibling module names to listen on

wiredHost2.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

wiredHost2.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

wiredHost2.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

wiredHost2.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

wiredHost2.pcapRecorder.helpers string ""

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

wiredHost2.pcapRecorder.alwaysFlush bool false

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

wiredHost2.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost2.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

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

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost2.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

wiredHost2.cb.forwardServiceRegistration bool true
wiredHost2.cb.forwardProtocolRegistration bool true
wiredHost2.cb.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wiredHost2.cb.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wiredHost2.cb.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wiredHost2.bl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost2.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

wiredHost2.bl.forwardServiceRegistration bool true
wiredHost2.bl.forwardProtocolRegistration bool true
wiredHost2.bl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wiredHost2.bl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wiredHost2.bl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wiredHost2.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost2.li.interfaceTableModule string

Module path to the ~InterfaceTable module

wiredHost2.li.forwardServiceRegistration bool true
wiredHost2.li.forwardProtocolRegistration bool true
wiredHost2.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wiredHost2.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wiredHost2.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wiredHost2.eth.bitrate double
wiredHost2.nl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost2.nl.interfaceTableModule string

Module path to the ~InterfaceTable module

wiredHost2.nl.forwardServiceRegistration bool true
wiredHost2.nl.forwardProtocolRegistration bool true
wiredHost2.nl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wiredHost2.nl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wiredHost2.nl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wiredHost2.tn.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost2.tn.interfaceTableModule string

Module path to the ~InterfaceTable module

wiredHost2.tn.forwardServiceRegistration bool true
wiredHost2.tn.forwardProtocolRegistration bool true
wiredHost2.tn.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wiredHost2.tn.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wiredHost2.tn.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

wiredHost2.at.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

wiredHost2.at.interfaceTableModule string

Module path to the ~InterfaceTable module

wiredHost2.at.forwardServiceRegistration bool true
wiredHost2.at.forwardProtocolRegistration bool true
wiredHost2.at.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

wiredHost2.at.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

wiredHost2.at.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

router.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

router.status.initialStatus string "UP"

TODO @signal, @statistic

router.environment.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

router.environment.initStage int 0

Initialization stage for the setup command

router.environment.globalNamespace bool false

Create new network namespaces under /var/run/netns/ (Linux only)

router.environment.namespace string ""

Name of the host OS network namespace (optional) (Linux only)

router.environment.setupCommand string ""

A host OS system command

router.environment.teardownCommand string ""

A host OS system command

router.pcapRecorder.displayStringTextFormat string "rec: %n pks"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

router.pcapRecorder.verbose bool true

Whether to log packets on the module output

router.pcapRecorder.recordEmptyPackets bool true

Specifies if zero length packets are recorded or not

router.pcapRecorder.enableConvertingPackets bool true

Specifies if converting packets to link type is allowed or not

router.pcapRecorder.pcapFile string ""

The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap"

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

Maximum number of bytes to record per packet

router.pcapRecorder.timePrecision int 6

Time precision in recorded file. pcap supports only 6 (usec) or 9 (nanosec), pcapng supports more values (see 'if_tsresol' option in pcapng file format).

router.pcapRecorder.dumpBadFrames bool true

Enable dump of frames with hasBitError

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

Space-separated list of sibling module names to listen on

router.pcapRecorder.sendingSignalNames string "transmissionEnded"

Space-separated list of outbound packet signals to subscribe to

router.pcapRecorder.receivingSignalNames string "receptionEnded"

Space-separated list of inbound packet signals to subscribe to

router.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

router.pcapRecorder.packetFilter object "*"

Which packets are considered, matches all packets by default

router.pcapRecorder.helpers string ""

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

router.pcapRecorder.alwaysFlush bool false

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

router.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

router.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

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

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

router.cb.interfaceTableModule string

Module path to the ~InterfaceTable module

router.cb.forwardServiceRegistration bool true
router.cb.forwardProtocolRegistration bool true
router.cb.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

router.cb.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

router.cb.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

router.bl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

router.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

router.bl.forwardServiceRegistration bool true
router.bl.forwardProtocolRegistration bool true
router.bl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

router.bl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

router.bl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

router.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

router.li.interfaceTableModule string

Module path to the ~InterfaceTable module

router.li.forwardServiceRegistration bool true
router.li.forwardProtocolRegistration bool true
router.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

router.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

router.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

router.eth.bitrate double
router.nl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

router.nl.interfaceTableModule string

Module path to the ~InterfaceTable module

router.nl.forwardServiceRegistration bool true
router.nl.forwardProtocolRegistration bool true
router.nl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

router.nl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

router.nl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

router.tn.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

router.tn.interfaceTableModule string

Module path to the ~InterfaceTable module

router.tn.forwardServiceRegistration bool true
router.tn.forwardProtocolRegistration bool true
router.tn.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

router.tn.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

router.tn.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

router.at.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

router.at.interfaceTableModule string

Module path to the ~InterfaceTable module

router.at.forwardServiceRegistration bool true
router.at.forwardProtocolRegistration bool true
router.at.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

router.at.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

router.at.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

router.bgp.interfaceTableModule string

The path to the InterfaceTable module

router.bgp.routingTableModule string
router.bgp.ospfRoutingModule string parent.hasOspf ? "^.ospf" : ""
accessPoint.status.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

accessPoint.status.initialStatus string "UP"

TODO @signal, @statistic

accessPoint.interfaceTable.displayStringTextFormat string ""

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

accessPoint.interfaceTable.displayAddresses bool false

Whether to display IP addresses on links

accessPoint.macTable.agingTime double
accessPoint.macTable.forwardingTableFile string
accessPoint.bl.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

accessPoint.bl.interfaceTableModule string

Module path to the ~InterfaceTable module

accessPoint.bl.forwardServiceRegistration bool true
accessPoint.bl.forwardProtocolRegistration bool true
accessPoint.bl.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

accessPoint.bl.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

accessPoint.bl.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

accessPoint.li.displayStringTextFormat string "processed %p pk (%l)"

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

accessPoint.li.interfaceTableModule string

Module path to the ~InterfaceTable module

accessPoint.li.forwardServiceRegistration bool true
accessPoint.li.forwardProtocolRegistration bool true
accessPoint.li.interfaceMapping object {}

Maps network interface names to connected submodule names (e.g. {"eth0": "bridging"}), overrides automatically learned dispatching; * overrides all learned network interfaces, ? overrides default

accessPoint.li.serviceMapping object {}

Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default

accessPoint.li.protocolMapping object {}

Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default

accessPoint.eth.bitrate double

Source code

network WiredAndWirelessHostsWithAP
{
    submodules:
        visualizer: <default(firstAvailableOrEmpty("IntegratedCanvasVisualizer"))> like IIntegratedVisualizer if typename != "" {
            parameters:
                @display("p=100,300;is=s");
        }
        configurator: Ipv4NetworkConfigurator {
            parameters:
                assignDisjunctSubnetAddresses = false;
                @display("p=100,100;is=s");
        }
        radioMedium: Ieee80211ScalarRadioMedium {
            parameters:
                @display("p=100,200;is=s");
        }
        wirelessHost1: WirelessHost {
            parameters:
                @display("p=62,69");
        }
        wiredHost1: StandardHost {
            parameters:
                @display("p=296,134");
        }
        wiredHost2: StandardHost {
            parameters:
                @display("p=412,70");
        }
        router: Router {
            parameters:
                @display("p=296,69");
        }
        accessPoint: AccessPoint {
            parameters:
                @display("p=205,69");
        }
    connections:
        accessPoint.ethg++ <--> Eth100M <--> router.ethg++;
        wiredHost1.ethg++ <--> Eth100M <--> accessPoint.ethg++;
        wiredHost2.ethg++ <--> Eth100M <--> router.ethg++;
}
File: examples/wireless/wiredandwirelesshostswithap/WiredAndWirelessHostsWithAP.ned