Package: inet.tutorials.protocol
Host
compound module(no description)
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Used in
| Name | Type | Description |
|---|---|---|
| Network91 | network | (no description) |
Extends
| Name | Type | Description |
|---|---|---|
| Node | compound module | (no description) |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| numInterfaces | int | 0 |
Properties
| Name | Value | Description |
|---|---|---|
| networkNode | ||
| display | i=device/pc |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| g [ ] | inout | numInterfaces |
Unassigned submodule parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| interfaceTable.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| interfaceTable.displayAddresses | bool | false |
Whether to display IP addresses on links |
| forwardingService.d1.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 |
| forwardingService.d1.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| forwardingService.d1.forwardServiceRegistration | bool | true | |
| forwardingService.d1.forwardProtocolRegistration | bool | true | |
| forwardingService.d1.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 |
| forwardingService.d1.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| forwardingService.d1.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| forwardingService.forwarding.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| forwardingService.forwarding.address | string | "" | |
| forwardingService.sendWithHopLimit.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| forwardingService.sendWithHopLimit.hopLimit | int | ||
| forwardingService.receiveWithHopLimit.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| dataService.fragmenter.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 |
| dataService.fragmenter.deleteSelf | bool | false | |
| dataService.fragmenter.headerPosition | string | "front" | |
| dataService.sequenceNumbering.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 |
| dataService.deaggregator.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 |
| dataService.deaggregator.deleteSelf | bool | false | |
| dataService.defragmenter.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 |
| dataService.defragmenter.deleteSelf | bool | false | |
| dataService.defragmenter.headerPosition | string | "front" | |
| dataService.reordering.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 |
| d1.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 |
| d1.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| d1.forwardServiceRegistration | bool | true | |
| d1.forwardProtocolRegistration | bool | true | |
| d1.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 |
| d1.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| d1.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| interface.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 |
| interface.pcapRecorder.verbose | bool | true |
Whether to log packets on the module output |
| interface.pcapRecorder.recordEmptyPackets | bool | true |
Specifies if zero length packets are recorded or not |
| interface.pcapRecorder.enableConvertingPackets | bool | true |
Specifies if converting packets to link type is allowed or not |
| interface.pcapRecorder.pcapFile | string | "" |
The PCAP file to be written, suggested value: pcapFile = "${resultdir}/${configname}-#${runnumber}" + fullpath() + ".pcap" |
| interface.pcapRecorder.fileFormat | string | "pcapng" | |
| interface.pcapRecorder.snaplen | int | 65535 |
Maximum number of bytes to record per packet |
| interface.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). |
| interface.pcapRecorder.dumpBadFrames | bool | true |
Enable dump of frames with hasBitError |
| interface.pcapRecorder.sendingSignalNames | string | "transmissionEnded" |
Space-separated list of outbound packet signals to subscribe to |
| interface.pcapRecorder.receivingSignalNames | string | "receptionEnded" |
Space-separated list of inbound packet signals to subscribe to |
| interface.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
Space-separated list of protocol names as defined in the Protocol class |
| interface.pcapRecorder.packetFilter | object | "*" |
Which packets are considered, matches all packets by default |
| interface.pcapRecorder.helpers | string | "" |
Usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| interface.pcapRecorder.alwaysFlush | bool | false |
Flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| interface.sendToMacAddress.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| interface.sendToMacAddress.address | string | "" | |
| interface.resending.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 |
| interface.resending.numRetries | int | ||
| interface.sendWithAcknowledge.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| interface.sendWithAcknowledge.acknowledgeTimeout | double | ||
| interface.m1.displayStringTextFormat | string | "passed %p pk (%l)" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| interface.m1.forwardServiceRegistration | bool | true | |
| interface.m1.forwardProtocolRegistration | bool | true | |
| interface.sendWithProtocol.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| interface.fcsInserter.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 |
| interface.fcsInserter.checksumMode | string | "declared" | |
| interface.fcsInserter.headerPosition | string | "front" | |
| interface.transmitter.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 |
| interface.transmitter.clockModule | string | "" |
Relative path of a module that implements IClock(1,2); optional |
| interface.transmitter.datarate | double | ||
| interface.receiveAtMacAddress.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| interface.receiveAtMacAddress.address | string | ||
| interface.receiveWithAcknowledge.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| interface.d1.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 |
| interface.d1.interfaceTableModule | string |
Module path to the ~InterfaceTable module |
|
| interface.d1.forwardServiceRegistration | bool | true | |
| interface.d1.forwardProtocolRegistration | bool | true | |
| interface.d1.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 |
| interface.d1.serviceMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ethernetmac": "bridging"}), overrides automatically learned dispatching; * overrides all learned services, ? overrides default |
| interface.d1.protocolMapping | object | {} |
Maps protocols to connected submodule names (e.g. {"ipv4": "bridging"}), overrides automatically learned dispatching; * overrides all learned protocols, ? overrides default |
| interface.receiveWithProtocol.displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| interface.fcsChecker.displayStringTextFormat | string | "dropped %d/%p pk (%k/%l)" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| interface.fcsChecker.backpressure | bool | false | |
| interface.fcsChecker.headerPosition | string | "front" |
Source code
module Host extends Node { parameters: @display("i=device/pc"); }File: tutorials/protocol/Network91.ned