Definition of an IP node with a transport generator that connects to IP directly, without TCP or UDP.
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Type | Description |
---|---|---|
NodeBase | compound module |
Contains the common lower layers (linklayer and networklayer) of Router, StandardHost, WirelessHost etc. |
Name | Type | Description |
---|---|---|
RouterPerfNetwork | network | (no description) |
Name | Type | Default value | Description |
---|---|---|---|
hasStatus | bool | false | |
numExtInterfaces | int | 0 | |
numRadios | int | 0 |
the number of radios in the router. by default no wireless |
numPcapRecorders | int | 0 |
no of PcapRecorders. |
numTunInterfaces | int | 0 | |
osgModel | string | "" |
3D model for OSG visualization, no 3D model by default |
osgModelColor | string | "" |
tint color, no colorization by default |
mobilityType | string | numRadios > 0 ? "StationaryMobility" : "" | |
networkLayerType | string | "IPv4NetworkLayer" | |
routingTableType | string | "IPv4RoutingTable" | |
forwarding | bool | true | |
multicastForwarding | bool | false | |
energyStorageType | string | "" | |
energyManagementType | string | "" | |
energyGeneratorType | string | "" | |
trafGenType | string |
Name | Value | Description |
---|---|---|
display | i=device/pc3 | |
networkNode | ||
labels | node |
Name | Direction | Size | Description |
---|---|---|---|
radioIn [ ] | input | numRadios | |
pppg [ ] | inout | ||
ethg [ ] | inout |
Name | Type | Default value | Description |
---|---|---|---|
status.initialStatus | string | "UP" |
TODO @signal, @statistic |
routingTable.forwarding | bool | ||
routingTable.multicastForwarding | bool | ||
interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
pcapRecorder.verbose | bool | false |
whether to log packets on the module output |
pcapRecorder.pcapFile | string | "" |
the PCAP file to be written |
pcapRecorder.snaplen | int | 65535 |
maximum number of bytes to record per packet |
pcapRecorder.dumpBadFrames | bool | true |
enable dump of frames with hasBitError |
pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*] ext[*]" |
space-separated list of sibling module names to listen on |
pcapRecorder.sendingSignalNames | string | "packetSentToLower" |
space-separated list of outbound packet signals to subscribe to |
pcapRecorder.receivingSignalNames | string | "packetReceivedFromLower" |
space-separated list of inbound packet signals to subscribe to |
pcapRecorder.alwaysFlush | bool | false |
flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
lo0.lo.interfaceTableModule | string |
The path to the InterfaceTable module |
|
lo0.lo.mtu | int | 4470B |
// // Definition of an IP node with a transport generator that connects // to IP directly, without TCP or UDP. // module BurstHost extends NodeBase { parameters: @networkNode(); @display("i=device/pc3"); string trafGenType; submodules: trafGen: <trafGenType> like IIPvXTrafficGenerator { parameters: @display("p=329,81"); } connections allowunconnected: // transport connections networkLayer.transportOut++ --> trafGen.ipIn; networkLayer.transportIn++ <-- trafGen.ipOut; }