RateControlShowcase

Package: inet.showcases.wireless.ratecontrol

RateControlShowcase

network

(no description)

WirelessHost WirelessHost PhysicalEnvironment Ieee80211ScalarRadioMedium Ipv4NetworkConfigurator IntegratedCanvasVisualizer

Usage diagram

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

Properties

Name Value Description
isNetwork
display b=297,203;bgb=1300,460

Unassigned submodule parameters

Name Type Default value Description
sourceHost.status.initialStatus string "UP"

TODO @signal, @statistic

sourceHost.pcapRecorder.verbose bool true

whether to log packets on the module output

sourceHost.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

sourceHost.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

sourceHost.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

sourceHost.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

sourceHost.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

sourceHost.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

sourceHost.pcapRecorder.helpers string ""

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

sourceHost.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

sourceHost.at.forwardServiceRegistration bool true
sourceHost.at.forwardProtocolRegistration bool true
sinkHost.status.initialStatus string "UP"

TODO @signal, @statistic

sinkHost.pcapRecorder.verbose bool true

whether to log packets on the module output

sinkHost.pcapRecorder.pcapFile string ""

the PCAP file to be written

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

maximum number of bytes to record per packet

sinkHost.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

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

space-separated list of sibling module names to listen on

sinkHost.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

sinkHost.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

sinkHost.pcapRecorder.dumpProtocols string "ethernetmac ppp ieee80211mac"

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

sinkHost.pcapRecorder.packetFilter object "*"

which packets are considered, matches all packets by default

sinkHost.pcapRecorder.helpers string ""

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

sinkHost.pcapRecorder.alwaysFlush bool false

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

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

whether to display IP addresses on links

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

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

determines the text that is written on top of the submodule

sinkHost.at.forwardServiceRegistration bool true
sinkHost.at.forwardProtocolRegistration bool true
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 code

network RateControlShowcase
{
    parameters:
        @display("b=297,203;bgb=1300,460");
    submodules:
        sourceHost: WirelessHost {
            parameters:
                @display("r=,,#707070");
        }
        sinkHost: WirelessHost {
            parameters:
                @display("p=200,200;r=,,#707070");
        }
        physicalEnvironment: PhysicalEnvironment {
            parameters:
                @display("p=131.53847,86.15385");
        }
        radioMedium: Ieee80211ScalarRadioMedium {
            parameters:
                @display("p=130.76924,168.46155");
        }
        configurator: Ipv4NetworkConfigurator {
            @display("p=131.53847,253.84616");
        }
        visualizer: IntegratedCanvasVisualizer {
            @display("p=131.53847,336.15387");
        }
}

File: showcases/wireless/ratecontrol/RateControlShowcase.ned