Ethernet channel with packet loss for InetUnderlay
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.
Name | Type | Description |
---|---|---|
DatarateChannel | channel | (no description) |
Name | Type | Default value | Description |
---|---|---|---|
disabled | bool | false | |
delay | double | 10ms |
propagation delay |
datarate | double | 10Mbps |
bits per second; 0=infinite |
ber | double | 1e-5 |
bit error rate (BER) |
per | double | 0 |
packet error rate (PER) |
Name | Value | Description |
---|---|---|
class | cDatarateChannel |
Name | Type | Unit |
---|---|---|
messageDiscarded | cMessage | |
messageSent | cMessage | |
channelBusy | int |
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 |
// Ethernet channel with packet loss for InetUnderlay channel inet_ethernetline_lossy extends ned.DatarateChannel { parameters: delay = 10ms; datarate = 10Mbps; ber = 1e-5; }