Package: inet.node.ethernet
Eth10G
channel10 gigabit/sec Ethernet link
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
Name | Type | Description |
---|---|---|
EthernetLink | channel |
Base for Ethernet link types. Propagation delay can be specified with the length of the cable, i.e. in meters instead of nanoseconds or microseconds. |
Parameters
Name | Type | Default value | Description |
---|---|---|---|
disabled | bool | false | |
delay | double | replaceUnit(length / 2e8, "s") |
propagation delay |
datarate | double | 10Gbps |
bits per second; 0=infinite |
ber | double | 0 |
bit error rate (BER) |
per | double | 0 |
packet error rate (PER) |
length | double | 10m |
Properties
Name | Value | Description |
---|---|---|
class | cDatarateChannel |
Signals
Name | Type | Unit |
---|---|---|
channelBusy | long | |
messageSent | omnetpp::cMessage | |
messageDiscarded | omnetpp::cMessage |
Statistics
Name | Title | Source | Record | Unit | Interpolation Mode |
---|---|---|---|---|---|
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
// // 10 gigabit/sec Ethernet link // channel Eth10G extends EthernetLink { datarate = 10Gbps; }File: src/inet/node/ethernet/EthernetLink.ned