Channel cable

Package: inet.examples.ethernet.lans
File: examples/ethernet/lans/LargeNet.ned

(no description)

cable

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.

Extends:

DatarateChannel (channel) (no description)

Used in compound modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.

LargeLAN (compound module)

Several hosts and an Ethernet hub on a switch. One port of the hub connect to a 10Base2 segment.

MediumLAN (compound module)

Several hosts and an Ethernet hub on a switch

Networks:

LargeNet (network)

A large Ethernet LAN -- see model description here.

Parameters:

Name Type Default value Description
disabled bool false
delay double 0.1us

propagation delay

datarate double 0bps

bits per second; 0=infinite

ber double 0

bit error rate (BER)

per double 0

packet error rate (PER)

Properties:

Name Value Description
class cDatarateChannel

Signals:

Name Type Unit
messageDiscarded cMessage
messageSent cMessage
channelBusy int

Statistics:

Name Title Source Record Unit Interpolation Mode
utilization timeavg(channelBusy) last?
packetsDiscarded constant1(messageDiscarded) count? none
packetBytes packetBytes(messageSent) sum? B none
packets constant1(messageSent) count? none
busy channelBusy vector? sample-hold
throughput sumPerDuration(packetBits(messageSent)) last? bps

Source code:

channel cable extends DatarateChannel
{
    parameters:
        delay = 0.1us;
}