Package: ned
DatarateChannel
channel(no description)
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Used in
| Name | Type | Description |
|---|---|---|
| ClientServer | network | (no description) |
| EarthCloud | network | (no description) |
| GptpMasterSlave | network | (no description) |
| HostsWithBus | network | (no description) |
| HostsWithHub | network | (no description) |
| HostsWithSwitch | network | (no description) |
| HubLAN | network |
Sample Ethernet LAN: four hosts connected by a hub. |
| LinearNetwork | network | (no description) |
| MultiRadio | network | (no description) |
| Network2 | network | (no description) |
| Network3 | network | (no description) |
| Network4 | network | (no description) |
| Network5 | network | (no description) |
| Network6 | network | (no description) |
| Network7 | network | (no description) |
| NetworkWithCrossTraffic | network | (no description) |
| RSVPTE4 | network |
Example network to demonstrate Rsvp-TE. |
| RSVPTE4 | network |
Example network to demonstrate Rsvp-TE. |
| RSVPTE4 | network |
Example network to demonstrate Rsvp-TE. |
| RSVPTE4 | network |
Example network to demonstrate Rsvp-TE. |
| RSVPTE4 | network |
Example network to demonstrate Rsvp-TE. |
| Tunnel | network | (no description) |
| TwoHosts | network |
Sample Ethernet LAN: two hosts directly connected to each other via twisted pair. |
| TwoHosts | network | (no description) |
| TwoHosts | network | (no description) |
Known subclasses
| Name | Type | Description |
|---|---|---|
| accessChannel | channel | (no description) |
| BottlePath | channel | (no description) |
| cable | channel | |
| cable | channel |
A 100Mb/s Ethernet cable(1,2,3). Part of ~IPv4LargeNet. |
| cable | channel | (no description) |
| Cable | channel | (no description) |
| coreChannel | channel | (no description) |
| ethernetline | channel | (no description) |
| EthernetMultidropLink | channel |
EthernetMultidropLink models a shared Ethernet medium in a bus topology where multiple nodes connect to a single cable(1,2,3). This channel type is used for simulating 10BASE-T1S with PLCA (Physical Layer Collision Avoidance) Ethernet that use a multidrop configuration. |
| FastP | channel | (no description) |
| fiberline | channel | (no description) |
| NormalP | channel | (no description) |
| NormalPath | channel | (no description) |
| NormalPath | channel | (no description) |
| PeriodicLossChannel | channel |
This channel uses the per parameter for periodic packet loss. That means it delivers exactly 1/per packets, followed by one drop. It does not use the BER paramater. |
| ThruputMeteringChannel | channel |
This channel adds support for throughput metering to the datarate channel. A cDatarateChannel extended with throughput calculation. Values are displayed on the link, using the connection's "t=" or "tt=" display string tag. |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| disabled | bool | false | |
| delay | double | 0s |
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 | 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
channel DatarateChannel { @class(cDatarateChannel); @signal[channelBusy](type=long); @signal[messageSent](type=omnetpp::cMessage); @signal[messageDiscarded](type=omnetpp::cMessage); @statistic[busy](source=channelBusy; record=vector?; interpolationmode=sample-hold); @statistic[utilization](source="timeavg(channelBusy)"; record=last?); @statistic[packets](source="constant1(messageSent)"; record=count?; interpolationmode=none); @statistic[packetBytes](source="packetBytes(messageSent)"; record=sum?; unit=B; interpolationmode=none); @statistic[packetsDiscarded](source="constant1(messageDiscarded)"; record=count?; interpolationmode=none); @statistic[throughput](source="sumPerDuration(packetBits(messageSent))"; record=last?; unit=bps); bool disabled @mutable = default(false); double delay @mutable @unit(s) = default(0s); // propagation delay double datarate @mutable @unit(bps) = default(0bps); // bits per second; 0=infinite double ber @mutable = default(0); // bit error rate (BER) double per @mutable = default(0); // packet error rate (PER) }File: Built-in type