Network NClientsPPP

Package: inet.examples.ipv6.nclients
File: examples/ipv6/nclients/NClientsPPP.ned

(no description)

FlatNetworkConfigurator6 Router6 Router6 Router6 StandardHost6 StandardHost6

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
n int

Properties:

Name Value Description
isNetwork

Unassigned submodule parameters:

Name Type Default value Description
r1.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

r1.pcapRecorder.verbose bool false

whether to log packets on the module output

r1.pcapRecorder.pcapFile string ""

the PCAP file to be written

r1.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

r1.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

r1.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

r1.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

r1.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

r1.pcapRecorder.alwaysFlush bool false

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

r1.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

r1.lo0.lo.mtu int 4470B
r2.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

r2.pcapRecorder.verbose bool false

whether to log packets on the module output

r2.pcapRecorder.pcapFile string ""

the PCAP file to be written

r2.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

r2.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

r2.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

r2.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

r2.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

r2.pcapRecorder.alwaysFlush bool false

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

r2.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

r2.lo0.lo.mtu int 4470B
r3.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

r3.pcapRecorder.verbose bool false

whether to log packets on the module output

r3.pcapRecorder.pcapFile string ""

the PCAP file to be written

r3.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

r3.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

r3.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

r3.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

r3.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

r3.pcapRecorder.alwaysFlush bool false

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

r3.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

r3.lo0.lo.mtu int 4470B
cli.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

cli.pcapRecorder.verbose bool false

whether to log packets on the module output

cli.pcapRecorder.pcapFile string ""

the PCAP file to be written

cli.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

cli.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

cli.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

cli.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

cli.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

cli.pcapRecorder.alwaysFlush bool false

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

cli.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

cli.lo0.lo.mtu int 4470B
srv.status.initialStatus string "UP"

TODO @signal, @statistic

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

whether to display IP addresses on links

srv.pcapRecorder.verbose bool false

whether to log packets on the module output

srv.pcapRecorder.pcapFile string ""

the PCAP file to be written

srv.pcapRecorder.snaplen int 65535

maximum number of bytes to record per packet

srv.pcapRecorder.dumpBadFrames bool true

enable dump of frames with hasBitError

srv.pcapRecorder.moduleNamePatterns string "wlan[*] eth[*] ppp[*] ext[*]"

space-separated list of sibling module names to listen on

srv.pcapRecorder.sendingSignalNames string "packetSentToLower"

space-separated list of outbound packet signals to subscribe to

srv.pcapRecorder.receivingSignalNames string "packetReceivedFromLower"

space-separated list of inbound packet signals to subscribe to

srv.pcapRecorder.alwaysFlush bool false

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

srv.lo0.lo.interfaceTableModule string

The path to the InterfaceTable module

srv.lo0.lo.mtu int 4470B

Source code:

network NClientsPPP
{
    parameters:
        int n;
    types:
        channel fiberline extends DatarateChannel
        {
            delay = 1us;
            datarate = 512Mbps;
        }
    submodules:
        configurator: FlatNetworkConfigurator6;
        r1: Router6;
        r2: Router6;
        r3: Router6;
        cli[n]: StandardHost6;
        srv: StandardHost6;
    connections:
        for i=0..n-1 {
            cli[i].pppg++ <--> fiberline <--> r1.pppg++;
        }
        r1.pppg++ <--> fiberline <--> r2.pppg++;
        r2.pppg++ <--> fiberline <--> r3.pppg++;
        r3.pppg++ <--> fiberline <--> srv.pppg++;
}