Network RTPMulticast1

Package: inet.examples.rtp.multicast1
File: examples/rtp/multicast1/multicast1.ned

(no description)

RTPHost RTPHost RTPHost RTPHost Router

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Properties:

Name Value Description
isNetwork

Unassigned submodule parameters:

Name Type Default value Description
host1.application.commonName string
host1.application.sessionEnterDelay double
host1.application.transmissionStartDelay double
host1.application.transmissionStopDelay double
host1.application.sessionLeaveDelay double
host1.networkLayer.ip.procDelay double 0s
host1.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

host1.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

host1.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

host1.ppp.ppp.mtu int 4470
host2.application.commonName string
host2.application.sessionEnterDelay double
host2.application.transmissionStartDelay double
host2.application.transmissionStopDelay double
host2.application.sessionLeaveDelay double
host2.networkLayer.ip.procDelay double 0s
host2.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

host2.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

host2.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

host2.ppp.ppp.mtu int 4470
host3.application.commonName string
host3.application.sessionEnterDelay double
host3.application.transmissionStartDelay double
host3.application.transmissionStopDelay double
host3.application.sessionLeaveDelay double
host3.networkLayer.ip.procDelay double 0s
host3.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

host3.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

host3.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

host3.ppp.ppp.mtu int 4470
host4.application.commonName string
host4.application.sessionEnterDelay double
host4.application.transmissionStartDelay double
host4.application.transmissionStopDelay double
host4.application.sessionLeaveDelay double
host4.networkLayer.ip.procDelay double 0s
host4.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

host4.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

host4.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

host4.ppp.ppp.mtu int 4470
router1.networkLayer.ip.procDelay double 0s
router1.networkLayer.arp.retryTimeout double 1s

number seconds ARP waits between retries to resolve an IP address

router1.networkLayer.arp.retryCount int 3

number of times ARP will attempt to resolve an IP address

router1.networkLayer.arp.cacheTimeout double 120s

number seconds unused entries in the cache will time out

router1.ppp.ppp.mtu int 4470
router1.eth.mac.promiscuous bool false

if true, all packets are received, otherwise only the ones with matching destination MAC address

router1.eth.mac.address string "auto"

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

router1.eth.mac.txrate double 100Mbps

maximum data rate supported by this station (bit/s); actually chosen speed may be lower due to auto- configuration. 0 means fully auto-configured.

router1.eth.mac.duplexEnabled bool true

whether duplex mode can be enabled or not; whether MAC will actually use duplex mode depends on the result of the auto-configuration process (duplex is only possible with DTE-to-DTE connection).

router1.eth.mac.mtu int 1500

Source code:

network RTPMulticast1
{
    types:
        channel ethernet extends DatarateChannel
        {
            delay = normal(0.00015s, 0.00005s);
            datarate = 10Mbps;
        }
    submodules:
        host1: RTPHost {
            parameters:
                profileName = "RTPAVProfile";
                destinationAddress = "225.0.0.1";
                portNumber = 5004;
                bandwidth = 8000;
                routingFile = "host1.mrt";
                @display("p=150,50");
        }
        host2: RTPHost {
            parameters:
                profileName = "RTPAVProfile";
                destinationAddress = "225.0.0.1";
                portNumber = 5004;
                bandwidth = 8000;
                routingFile = "host2.mrt";
                @display("p=250,150");
        }
        host3: RTPHost {
            parameters:
                profileName = "RTPAVProfile";
                destinationAddress = "225.0.0.1";
                portNumber = 5004;
                bandwidth = 8000;
                routingFile = "host3.mrt";
                @display("p=150,250");
        }
        host4: RTPHost {
            parameters:
                profileName = "RTPAVProfile";
                destinationAddress = "225.0.0.1";
                portNumber = 5004;
                bandwidth = 8000;
                routingFile = "host4.mrt";
                @display("p=50,150");
        }
        router1: Router {
            parameters:
                routingFile = "router1.mrt";
                @display("p=150,150");
            gates:
                pppg[4];

        }
    connections:
        host1.pppg[0] <--> ethernet <--> router1.pppg[0];
        host2.pppg[0] <--> ethernet <--> router1.pppg[1];
        host3.pppg[0] <--> ethernet <--> router1.pppg[2];
        host4.pppg[0] <--> ethernet <--> router1.pppg[3];

}