Package: inet.examples.emulation.pinger
ExtPingerExample
network(no description)
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 |
|---|---|---|---|
| peer.status.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| peer.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| peer.environment.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| peer.environment.initStage | int | 0 |
Initialization stage for the setup command |
| peer.environment.globalNamespace | bool | false |
Create new network namespaces under /var/run/netns/ (Linux only) |
| peer.environment.namespace | string | "" |
Name of the host OS network namespace (optional) (Linux only) |
| peer.environment.setupCommand | string | "" |
A host OS system command |
| peer.environment.teardownCommand | string | "" |
A host OS system command |
| peer.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 |
| peer.pcapRecorder.verbose | bool | true |
Whether to log packets on the module output |
| peer.pcapRecorder.recordEmptyPackets | bool | true |
Specifies if zero length packets are recorded or not |
| peer.pcapRecorder.enableConvertingPackets | bool | true |
Specifies if converting packets to link type is allowed or not |
| peer.pcapRecorder.pcapFile | string | "" |
The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap" |
| peer.pcapRecorder.fileFormat | string | "pcapng" | |
| peer.pcapRecorder.snaplen | int | 65535 |
Maximum number of bytes to record per packet |
| peer.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). |
| peer.pcapRecorder.dumpBadFrames | bool | true |
Enable dump of frames with hasBitError |
| peer.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
Space-separated list of sibling module names to listen on |
| peer.pcapRecorder.sendingSignalNames | string | "transmissionEnded" |
Space-separated list of outbound packet signals to subscribe to |
| peer.pcapRecorder.receivingSignalNames | string | "receptionEnded" |
Space-separated list of inbound packet signals to subscribe to |
| peer.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
Space-separated list of protocol names as defined in the Protocol class |
| peer.pcapRecorder.packetFilter | object | "*" |
Which packets are considered, matches all packets by default |
| peer.pcapRecorder.helpers | string | "" |
Usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| peer.pcapRecorder.alwaysFlush | bool | false |
Flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| peer.interfaceTable.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| peer.interfaceTable.displayAddresses | bool | false |
Whether to display IP addresses on links |
| peer.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 |
| peer.cb.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| peer.cb.forwardServiceRegistration | bool | true | |
| peer.cb.forwardProtocolRegistration | bool | true | |
| peer.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 |
| peer.cb.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| peer.cb.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| peer.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 |
| peer.bl.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| peer.bl.forwardServiceRegistration | bool | true | |
| peer.bl.forwardProtocolRegistration | bool | true | |
| peer.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 |
| peer.bl.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| peer.bl.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| peer.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 |
| peer.li.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| peer.li.forwardServiceRegistration | bool | true | |
| peer.li.forwardProtocolRegistration | bool | true | |
| peer.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 |
| peer.li.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| peer.li.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| peer.eth.bitrate | double | ||
| peer.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 |
| peer.nl.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| peer.nl.forwardServiceRegistration | bool | true | |
| peer.nl.forwardProtocolRegistration | bool | true | |
| peer.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 |
| peer.nl.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| peer.nl.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| peer.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 |
| peer.tn.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| peer.tn.forwardServiceRegistration | bool | true | |
| peer.tn.forwardProtocolRegistration | bool | true | |
| peer.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 |
| peer.tn.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| peer.tn.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| peer.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 |
| peer.at.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| peer.at.forwardServiceRegistration | bool | true | |
| peer.at.forwardProtocolRegistration | bool | true | |
| peer.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 |
| peer.at.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| peer.at.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
Source code
network ExtPingerExample { submodules: peer: StandardHost { parameters: @display("p=100,100;i=device/laptop"); } connections allowunconnected: }File: examples/emulation/pinger/ExtPingerExample.ned