EthernetLink

Package: inet.node.ethernet

EthernetLink

channel

EthernetLink provides a base channel type for Ethernet connections with configurable length and propagation delay. It extends the Cable type and calculates the delay based on the physical length of the cable(1,2,3) and the speed of light in the medium.

The EthernetLink serves as a base for specific Ethernet standards with different data rates, from 10 Mbps to 400 Gbps.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Used in

Name Type Description
AutomaticFailureProtectionShowcase network (no description)
AutomaticFailureProtectionShowcase network (no description)
AutomaticMultipathConfigurationShowcase network (no description)
ChannelThroughputMeasurementShowcase network (no description)
ChannelUtilizationMeasurementShowcase network (no description)
CutthroughSwitchingShowcase network (no description)
DataRateMeasurementShowcase network (no description)
DumbbellNetwork network (no description)
FrameReplicationValidation network (no description)
FrerAndTasShowcase network (no description)
GptpAndTasShowcase network (no description)
LinearNetwork network (no description)
ManualConfigurationShowcase network (no description)
MixedMultidropNetwork network

This module contains an ~EthernetSwitch connected to a ~StandardHost and a 10BASE-T1S multidrop link with a configurable number of nodes. The switch port acts as the controller of the multidrop link. The network node type can be configured for all the nodes on the multidrop link.

MulticastFailureProtectionShowcase network (no description)
OneMasterClockGptpShowcase network (no description)
StatisticalPolicingShowcaseNetwork network (no description)
TimeAwareShapingShowcaseNetwork network (no description)
TokenBucketPolicingShowcaseNetwork network (no description)
TsnDumbbellNetwork network (no description)
TsnLinearNetwork network (no description)
TwoMasterClocksRingGptpShowcase network (no description)
TwoMasterClocksTreeGptpShowcase network (no description)

Known subclasses

Name Type Description
Eth100G channel

100 gigabit/sec Ethernet link

Eth100M channel

100 megabit/sec Ethernet link

Eth10G channel

10 gigabit/sec Ethernet link

Eth10M channel

10 megabit/sec Ethernet link

Eth1G channel

1 gigabit/sec Ethernet link

Eth200G channel

200 gigabit/sec Ethernet link

Eth400G channel

400 gigabit/sec Ethernet link

Eth40G channel

40 gigabit/sec Ethernet link

Extends

Name Type Description
Cable channel (no description)

Parameters

Name Type Default value Description
disabled bool false
delay double replaceUnit(length / 2e8, "s")

propagation delay

datarate double 0bps

bits per second; 0=infinite

ber double 0

bit error rate (BER)

per double 0

packet error rate (PER)

enabledLineStyle string "solid"
disabledLineStyle string "dashed"
disabledIcon string "status/cross"
length double 10m

Properties

Name Value Description
class Cable

Signals

Name Type Unit Description
channelBusy long
messageSent omnetpp::cMessage
messageDiscarded omnetpp::cMessage

Statistics

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

Source code

//
// EthernetLink provides a base channel type for Ethernet connections with configurable
// length and propagation delay. It extends the Cable type and calculates the delay
// based on the physical length of the cable and the speed of light in the medium.
//
// The EthernetLink serves as a base for specific Ethernet standards with different
// data rates, from 10 Mbps to 400 Gbps.
//
channel EthernetLink extends Cable
{
    double length @unit(m) = default(10m);
    delay = default(replaceUnit(length / 2e8, "s"));
}

File: src/inet/node/ethernet/EthernetLink.ned