Package: inet.examples.mobileipv6
mIPv6Network
network(no description)
Usage diagram
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| total_mn | int | ||
| total_cn | int |
Properties
| Name | Value | Description |
|---|---|---|
| isNetwork | ||
| display | bgb=799,698 |
Unassigned submodule parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| radioMedium.neighborCache.refillPeriod | double | ||
| Home_Agent.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| Home_Agent.pcapRecorder.verbose | bool | true |
whether to log packets on the module output |
| Home_Agent.pcapRecorder.pcapFile | string | "" |
the PCAP file to be written |
| Home_Agent.pcapRecorder.fileFormat | string | "pcapng" | |
| Home_Agent.pcapRecorder.snaplen | int | 65535 |
maximum number of bytes to record per packet |
| Home_Agent.pcapRecorder.dumpBadFrames | bool | true |
enable dump of frames with hasBitError |
| Home_Agent.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
space-separated list of sibling module names to listen on |
| Home_Agent.pcapRecorder.sendingSignalNames | string | "packetSentToLower" |
space-separated list of outbound packet signals to subscribe to |
| Home_Agent.pcapRecorder.receivingSignalNames | string | "packetReceivedFromLower" |
space-separated list of inbound packet signals to subscribe to |
| Home_Agent.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
space-separated list of protocol names as defined in the Protocol class |
| Home_Agent.pcapRecorder.packetFilter | object | "*" |
which packets are considered, matches all packets by default |
| Home_Agent.pcapRecorder.helpers | string | "" |
usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| Home_Agent.pcapRecorder.alwaysFlush | bool | false |
flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| Home_Agent.pcapRecorder.displayStringTextFormat | string | "rec: %n pks" | |
| Home_Agent.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| Home_Agent.cb.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Home_Agent.cb.forwardServiceRegistration | bool | true | |
| Home_Agent.cb.forwardProtocolRegistration | bool | true | |
| Home_Agent.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Home_Agent.bl.forwardServiceRegistration | bool | true | |
| Home_Agent.bl.forwardProtocolRegistration | bool | true | |
| Home_Agent.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Home_Agent.li.forwardServiceRegistration | bool | true | |
| Home_Agent.li.forwardProtocolRegistration | bool | true | |
| Home_Agent.eth.bitrate | double | ||
| Home_Agent.nl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Home_Agent.nl.forwardServiceRegistration | bool | true | |
| Home_Agent.nl.forwardProtocolRegistration | bool | true | |
| Home_Agent.tn.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Home_Agent.tn.forwardServiceRegistration | bool | true | |
| Home_Agent.tn.forwardProtocolRegistration | bool | true | |
| Home_Agent.at.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| Home_Agent.at.forwardServiceRegistration | bool | true | |
| Home_Agent.at.forwardProtocolRegistration | bool | true | |
| Home_Agent.bgp.interfaceTableModule | string |
The path to the InterfaceTable module |
|
| Home_Agent.bgp.routingTableModule | string | ||
| Home_Agent.bgp.ospfRoutingModule | string | parent.hasOspf ? "^.ospf" : "" | |
| R_1.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| R_1.pcapRecorder.verbose | bool | true |
whether to log packets on the module output |
| R_1.pcapRecorder.pcapFile | string | "" |
the PCAP file to be written |
| R_1.pcapRecorder.fileFormat | string | "pcapng" | |
| R_1.pcapRecorder.snaplen | int | 65535 |
maximum number of bytes to record per packet |
| R_1.pcapRecorder.dumpBadFrames | bool | true |
enable dump of frames with hasBitError |
| R_1.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
space-separated list of sibling module names to listen on |
| R_1.pcapRecorder.sendingSignalNames | string | "packetSentToLower" |
space-separated list of outbound packet signals to subscribe to |
| R_1.pcapRecorder.receivingSignalNames | string | "packetReceivedFromLower" |
space-separated list of inbound packet signals to subscribe to |
| R_1.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
space-separated list of protocol names as defined in the Protocol class |
| R_1.pcapRecorder.packetFilter | object | "*" |
which packets are considered, matches all packets by default |
| R_1.pcapRecorder.helpers | string | "" |
usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| R_1.pcapRecorder.alwaysFlush | bool | false |
flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| R_1.pcapRecorder.displayStringTextFormat | string | "rec: %n pks" | |
| R_1.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| R_1.cb.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| R_1.cb.forwardServiceRegistration | bool | true | |
| R_1.cb.forwardProtocolRegistration | bool | true | |
| R_1.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| R_1.bl.forwardServiceRegistration | bool | true | |
| R_1.bl.forwardProtocolRegistration | bool | true | |
| R_1.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| R_1.li.forwardServiceRegistration | bool | true | |
| R_1.li.forwardProtocolRegistration | bool | true | |
| R_1.eth.bitrate | double | ||
| R_1.nl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| R_1.nl.forwardServiceRegistration | bool | true | |
| R_1.nl.forwardProtocolRegistration | bool | true | |
| R_1.tn.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| R_1.tn.forwardServiceRegistration | bool | true | |
| R_1.tn.forwardProtocolRegistration | bool | true | |
| R_1.at.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| R_1.at.forwardServiceRegistration | bool | true | |
| R_1.at.forwardProtocolRegistration | bool | true | |
| R_1.bgp.interfaceTableModule | string |
The path to the InterfaceTable module |
|
| R_1.bgp.routingTableModule | string | ||
| R_1.bgp.ospfRoutingModule | string | parent.hasOspf ? "^.ospf" : "" | |
| R_2.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| R_2.pcapRecorder.verbose | bool | true |
whether to log packets on the module output |
| R_2.pcapRecorder.pcapFile | string | "" |
the PCAP file to be written |
| R_2.pcapRecorder.fileFormat | string | "pcapng" | |
| R_2.pcapRecorder.snaplen | int | 65535 |
maximum number of bytes to record per packet |
| R_2.pcapRecorder.dumpBadFrames | bool | true |
enable dump of frames with hasBitError |
| R_2.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
space-separated list of sibling module names to listen on |
| R_2.pcapRecorder.sendingSignalNames | string | "packetSentToLower" |
space-separated list of outbound packet signals to subscribe to |
| R_2.pcapRecorder.receivingSignalNames | string | "packetReceivedFromLower" |
space-separated list of inbound packet signals to subscribe to |
| R_2.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
space-separated list of protocol names as defined in the Protocol class |
| R_2.pcapRecorder.packetFilter | object | "*" |
which packets are considered, matches all packets by default |
| R_2.pcapRecorder.helpers | string | "" |
usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| R_2.pcapRecorder.alwaysFlush | bool | false |
flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| R_2.pcapRecorder.displayStringTextFormat | string | "rec: %n pks" | |
| R_2.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| R_2.cb.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| R_2.cb.forwardServiceRegistration | bool | true | |
| R_2.cb.forwardProtocolRegistration | bool | true | |
| R_2.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| R_2.bl.forwardServiceRegistration | bool | true | |
| R_2.bl.forwardProtocolRegistration | bool | true | |
| R_2.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| R_2.li.forwardServiceRegistration | bool | true | |
| R_2.li.forwardProtocolRegistration | bool | true | |
| R_2.eth.bitrate | double | ||
| R_2.nl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| R_2.nl.forwardServiceRegistration | bool | true | |
| R_2.nl.forwardProtocolRegistration | bool | true | |
| R_2.tn.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| R_2.tn.forwardServiceRegistration | bool | true | |
| R_2.tn.forwardProtocolRegistration | bool | true | |
| R_2.at.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| R_2.at.forwardServiceRegistration | bool | true | |
| R_2.at.forwardProtocolRegistration | bool | true | |
| R_2.bgp.interfaceTableModule | string |
The path to the InterfaceTable module |
|
| R_2.bgp.routingTableModule | string | ||
| R_2.bgp.ospfRoutingModule | string | parent.hasOspf ? "^.ospf" : "" | |
| MN.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| MN.pcapRecorder.verbose | bool | true |
whether to log packets on the module output |
| MN.pcapRecorder.pcapFile | string | "" |
the PCAP file to be written |
| MN.pcapRecorder.fileFormat | string | "pcapng" | |
| MN.pcapRecorder.snaplen | int | 65535 |
maximum number of bytes to record per packet |
| MN.pcapRecorder.dumpBadFrames | bool | true |
enable dump of frames with hasBitError |
| MN.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
space-separated list of sibling module names to listen on |
| MN.pcapRecorder.sendingSignalNames | string | "packetSentToLower" |
space-separated list of outbound packet signals to subscribe to |
| MN.pcapRecorder.receivingSignalNames | string | "packetReceivedFromLower" |
space-separated list of inbound packet signals to subscribe to |
| MN.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
space-separated list of protocol names as defined in the Protocol class |
| MN.pcapRecorder.packetFilter | object | "*" |
which packets are considered, matches all packets by default |
| MN.pcapRecorder.helpers | string | "" |
usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| MN.pcapRecorder.alwaysFlush | bool | false |
flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| MN.pcapRecorder.displayStringTextFormat | string | "rec: %n pks" | |
| MN.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| MN.cb.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| MN.cb.forwardServiceRegistration | bool | true | |
| MN.cb.forwardProtocolRegistration | bool | true | |
| MN.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| MN.bl.forwardServiceRegistration | bool | true | |
| MN.bl.forwardProtocolRegistration | bool | true | |
| MN.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| MN.li.forwardServiceRegistration | bool | true | |
| MN.li.forwardProtocolRegistration | bool | true | |
| MN.eth.bitrate | double | ||
| MN.nl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| MN.nl.forwardServiceRegistration | bool | true | |
| MN.nl.forwardProtocolRegistration | bool | true | |
| MN.tn.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| MN.tn.forwardServiceRegistration | bool | true | |
| MN.tn.forwardProtocolRegistration | bool | true | |
| MN.at.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| MN.at.forwardServiceRegistration | bool | true | |
| MN.at.forwardProtocolRegistration | bool | true | |
| CN.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| CN.pcapRecorder.verbose | bool | true |
whether to log packets on the module output |
| CN.pcapRecorder.pcapFile | string | "" |
the PCAP file to be written |
| CN.pcapRecorder.fileFormat | string | "pcapng" | |
| CN.pcapRecorder.snaplen | int | 65535 |
maximum number of bytes to record per packet |
| CN.pcapRecorder.dumpBadFrames | bool | true |
enable dump of frames with hasBitError |
| CN.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
space-separated list of sibling module names to listen on |
| CN.pcapRecorder.sendingSignalNames | string | "packetSentToLower" |
space-separated list of outbound packet signals to subscribe to |
| CN.pcapRecorder.receivingSignalNames | string | "packetReceivedFromLower" |
space-separated list of inbound packet signals to subscribe to |
| CN.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
space-separated list of protocol names as defined in the Protocol class |
| CN.pcapRecorder.packetFilter | object | "*" |
which packets are considered, matches all packets by default |
| CN.pcapRecorder.helpers | string | "" |
usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| CN.pcapRecorder.alwaysFlush | bool | false |
flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| CN.pcapRecorder.displayStringTextFormat | string | "rec: %n pks" | |
| CN.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| CN.cb.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| CN.cb.forwardServiceRegistration | bool | true | |
| CN.cb.forwardProtocolRegistration | bool | true | |
| CN.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| CN.bl.forwardServiceRegistration | bool | true | |
| CN.bl.forwardProtocolRegistration | bool | true | |
| CN.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| CN.li.forwardServiceRegistration | bool | true | |
| CN.li.forwardProtocolRegistration | bool | true | |
| CN.eth.bitrate | double | ||
| CN.nl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| CN.nl.forwardServiceRegistration | bool | true | |
| CN.nl.forwardProtocolRegistration | bool | true | |
| CN.tn.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| CN.tn.forwardServiceRegistration | bool | true | |
| CN.tn.forwardProtocolRegistration | bool | true | |
| CN.at.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| CN.at.forwardServiceRegistration | bool | true | |
| CN.at.forwardProtocolRegistration | bool | true | |
| AP_Home.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| AP_Home.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| AP_Home.macTable.agingTime | double | ||
| AP_Home.macTable.forwardingTableFile | string | ||
| AP_Home.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| AP_Home.bl.forwardServiceRegistration | bool | true | |
| AP_Home.bl.forwardProtocolRegistration | bool | true | |
| AP_Home.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| AP_Home.li.forwardServiceRegistration | bool | true | |
| AP_Home.li.forwardProtocolRegistration | bool | true | |
| AP_Home.eth.bitrate | double | ||
| AP_1.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| AP_1.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| AP_1.macTable.agingTime | double | ||
| AP_1.macTable.forwardingTableFile | string | ||
| AP_1.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| AP_1.bl.forwardServiceRegistration | bool | true | |
| AP_1.bl.forwardProtocolRegistration | bool | true | |
| AP_1.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| AP_1.li.forwardServiceRegistration | bool | true | |
| AP_1.li.forwardProtocolRegistration | bool | true | |
| AP_1.eth.bitrate | double | ||
| switch.macTable.agingTime | double | ||
| switch.macTable.forwardingTableFile | string | ||
| switch.interfaceTable.displayAddresses | bool | false |
whether to display IP addresses on links |
| switch.l2NodeConfigurator.interfaceTableModule | string | ||
| switch.l2NodeConfigurator.l2ConfiguratorModule | string | "l2NetworkConfigurator" |
the absolute path to the ~L2NetworkConfigurator; use "" if there is no configurator |
| switch.status.initialStatus | string | "UP" |
TODO @signal, @statistic |
| switch.pcapRecorder.verbose | bool | true |
whether to log packets on the module output |
| switch.pcapRecorder.pcapFile | string | "" |
the PCAP file to be written |
| switch.pcapRecorder.fileFormat | string | "pcapng" | |
| switch.pcapRecorder.snaplen | int | 65535 |
maximum number of bytes to record per packet |
| switch.pcapRecorder.dumpBadFrames | bool | true |
enable dump of frames with hasBitError |
| switch.pcapRecorder.moduleNamePatterns | string | "wlan[*] eth[*] ppp[*]" |
space-separated list of sibling module names to listen on |
| switch.pcapRecorder.sendingSignalNames | string | "packetSentToLower" |
space-separated list of outbound packet signals to subscribe to |
| switch.pcapRecorder.receivingSignalNames | string | "packetReceivedFromLower" |
space-separated list of inbound packet signals to subscribe to |
| switch.pcapRecorder.dumpProtocols | string | "ethernetmac ppp ieee80211mac" |
space-separated list of protocol names as defined in the Protocol class |
| switch.pcapRecorder.packetFilter | object | "*" |
which packets are considered, matches all packets by default |
| switch.pcapRecorder.helpers | string | "" |
usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype currently available: "inet::AckingMacToEthernetPcapRecorderHelper" |
| switch.pcapRecorder.alwaysFlush | bool | false |
flush the pcapFile after each write to ensure that all packets are captured in case of a crash |
| switch.pcapRecorder.displayStringTextFormat | string | "rec: %n pks" | |
| switch.stp.helloTime | double | ||
| switch.stp.forwardDelay | double | ||
| switch.stp.maxAge | double | ||
| switch.stp.bridgePriority | int | ||
| switch.stp.visualize | bool | ||
| switch.sc.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| switch.sc.forwardServiceRegistration | bool | true | |
| switch.sc.forwardProtocolRegistration | bool | true | |
| switch.cb.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| switch.cb.forwardServiceRegistration | bool | true | |
| switch.cb.forwardProtocolRegistration | bool | true | |
| switch.bl.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| switch.bl.forwardServiceRegistration | bool | true | |
| switch.bl.forwardProtocolRegistration | bool | true | |
| switch.li.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| switch.li.forwardServiceRegistration | bool | true | |
| switch.li.forwardProtocolRegistration | bool | true | |
| switch.cutthrough.displayStringTextFormat | string | "processed %p pk (%l)" |
determines the text that is written on top of the submodule |
| switch.cutthrough.forwardServiceRegistration | bool | true | |
| switch.cutthrough.forwardProtocolRegistration | bool | true | |
| switch.eth.bitrate | double |
Source code
network mIPv6Network { parameters: int total_mn; int total_cn; **.mgmt.numChannels = 5; @display("bgb=799,698"); submodules: configurator: Ipv6FlatNetworkConfigurator { parameters: @display("p=100,100;is=s"); } radioMedium: Ieee80211ScalarRadioMedium { parameters: @display("p=100,200;is=s"); } Home_Agent: HomeAgent6 { parameters: @display("p=249,229;i=abstract/router"); } R_1: Router6 { parameters: @display("p=566,227"); } R_2: Router6 { parameters: @display("p=406,355"); } MN[total_mn]: WirelessHost6 { parameters: @display("p=220,404"); } CN[total_cn]: CorrespondentNode6 { @display("p=405,595"); } AP_Home: AccessPoint { parameters: @display("p=249,172;i=device/accesspoint_s"); } AP_1: AccessPoint { parameters: @display("p=566,172;i=device/accesspoint_s"); } switch: EthernetSwitch { parameters: @display("p=405,467;i=device/hub_s"); } connections allowunconnected: R_1.ethg++ <--> ethernetline <--> R_2.ethg++; Home_Agent.ethg++ <--> ethernetline <--> R_2.ethg++; for i=0..total_cn-1 { CN[i].ethg++ <--> ethernetline <--> switch.ethg++; } switch.ethg++ <--> ethernetline <--> R_2.ethg++; AP_Home.ethg++ <--> ethernetline <--> Home_Agent.ethg++; AP_1.ethg++ <--> ethernetline <--> R_1.ethg++; }File: examples/mobileipv6/MIPv6Network.ned