Network mIPv6Network

Package: inet.examples.mobileipv6
File: examples/mobileipv6/MIPv6Network.ned

(no description)

FlatNetworkConfigurator6 Ieee80211ScalarRadioMedium HomeAgent6 Router6 Router6 WirelessHost6 CorrespondentNode6 AccessPoint AccessPoint EtherHub

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
total_mn double
total_cn double

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.routingTable.forwarding bool
Home_Agent.routingTable.multicastForwarding bool
Home_Agent.interfaceTable.displayAddresses bool false

whether to display IP addresses on links

Home_Agent.pcapRecorder.verbose bool false

whether to log packets on the module output

Home_Agent.pcapRecorder.pcapFile string ""

the PCAP file to be written

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[*] ext[*]"

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.alwaysFlush bool false

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

Home_Agent.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

Home_Agent.lo0.lo.mtu int 4470B
R_1.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

R_1.pcapRecorder.verbose bool false

whether to log packets on the module output

R_1.pcapRecorder.pcapFile string ""

the PCAP file to be written

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[*] ext[*]"

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.alwaysFlush bool false

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

R_1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

R_1.lo0.lo.mtu int 4470B
R_2.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

R_2.pcapRecorder.verbose bool false

whether to log packets on the module output

R_2.pcapRecorder.pcapFile string ""

the PCAP file to be written

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[*] ext[*]"

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.alwaysFlush bool false

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

R_2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

R_2.lo0.lo.mtu int 4470B
MN.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

MN.pcapRecorder.verbose bool false

whether to log packets on the module output

MN.pcapRecorder.pcapFile string ""

the PCAP file to be written

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[*] ext[*]"

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.alwaysFlush bool false

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

MN.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

MN.lo0.lo.mtu int 4470B
CN.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

CN.pcapRecorder.verbose bool false

whether to log packets on the module output

CN.pcapRecorder.pcapFile string ""

the PCAP file to be written

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[*] ext[*]"

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.alwaysFlush bool false

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

CN.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

CN.lo0.lo.mtu int 4470B
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.addressTableFile string
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.addressTableFile string

Source code:

network mIPv6Network
{
    parameters:
        double total_mn;
        double total_cn;
        **.mgmt.numChannels = 5;

        @display("bgb=799,698");
    submodules:
        configurator: FlatNetworkConfigurator6 {
            parameters:
                @display("p=763,53");
        }
        radioMedium: Ieee80211ScalarRadioMedium {
            parameters:
                @display("p=753,123");
        }
        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;
        AP_Home: AccessPoint {
            parameters:
                @display("p=249,172;i=device/accesspoint_s");
        }
        AP_1: AccessPoint {
            parameters:
                @display("p=566,172;i=device/accesspoint_s");
        }
        hub: EtherHub {
            parameters:
                @display("p=406,412;i=device/hub_s");
        }
    connections allowunconnected:

                         //Home_Agent.ethOut++ --> ethernetline --> R_1.ethIn++;
                         //Home_Agent.ethIn++ <-- ethernetline <-- R_1.ethOut++;

        R_1.ethg++ <--> ethernetline <--> R_2.ethg++;

                                                       //R_2.ethOut++ --> ethernetline --> R_3.ethIn++;
                                                       //R_2.ethIn++ <-- ethernetline <-- R_3.ethOut++;

        Home_Agent.ethg$o++ --> ethernetline --> R_2.ethg$i++;
        Home_Agent.ethg$i++ <-- ethernetline <-- R_2.ethg$o++;

        for i=0..total_cn-1 {
            CN[i].ethg$o++ --> ethernetline --> hub.ethg$i++;
            CN[i].ethg$i++ <-- ethernetline <-- hub.ethg$o++;
        }

        hub.ethg++ <--> ethernetline <--> R_2.ethg++;

                                                    //R_1.ethOut++ --> ethernetline --> CN.ethIn++;
                                                    //R_1.ethIn++ <-- ethernetline <-- CN.ethOut++;

        AP_Home.ethg$o++ --> ethernetline --> Home_Agent.ethg$i++;
        AP_Home.ethg$i++ <-- ethernetline <-- Home_Agent.ethg$o++;

        AP_1.ethg++ <--> ethernetline <--> R_1.ethg++;

                                                        //AP_2.ethOut++ --> ethernetline --> R_2.ethIn++;
                                                        //AP_2.ethIn++ <-- ethernetline <-- R_2.ethOut++;

                                                        //AP_3.ethOut++ --> ethernetline --> R_3.ethIn++;
                                                        //AP_3.ethIn++ <-- ethernetline <-- R_3.ethOut++;

}