Network Scenario

Package: inet.examples.adhoc.hostautoconf
File: examples/adhoc/hostautoconf/Scenario.ned

(no description)

IIntegratedVisualizer Ieee80211ScalarRadioMedium Host

Usage diagram:

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

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Parameters:

Name Type Default value Description
hosts double

Properties:

Name Value Description
isNetwork

Unassigned submodule parameters:

Name Type Default value Description
radioMedium.neighborCache.refillPeriod double
host.status.initialStatus string "UP"

TODO @signal, @statistic

host.routingTable.forwarding bool
host.routingTable.multicastForwarding bool
host.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

host.pcapRecorder.verbose bool false

whether to log packets on the module output

host.pcapRecorder.pcapFile string ""

the PCAP file to be written

host.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

host.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

host.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

host.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

host.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

host.pcapRecorder.alwaysFlush bool false

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

host.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

host.lo0.lo.mtu int 4470B
host.ac_wlan.interfaces string "wlan"

list of interfaces to autoassign addresses to, separated by a single space characters

host.ac_wlan.addressBase string "10.0.0.0"

start of address range from which to automatically assign an address to the autoassignInterfaces

host.ac_wlan.netmask string "255.0.0.0"

netmask of subnet in which to automatically assign an address to the autoassignInterfaces

host.ac_wlan.mcastGroups string ""

list of IP addresses of multicast groups to join, separated by a single space characters

Source code:

network Scenario
{
    parameters:
        double hosts;
    submodules:
        visualizer: <default("IntegratedCanvasVisualizer")> like IIntegratedVisualizer if hasVisualizer() {
            parameters:
                @display("p=100,50");
        }
        radioMedium: Ieee80211ScalarRadioMedium {
            parameters:
                @display("p=100,150");
        }
        host[hosts]: Host;
}