Package: inet.examples.ethernet.lans
cable
channelA 100Mb/s Ethernet cable(1,2). Part of ~LargeNet(1,2).
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Used in compound modules
| Name | Type | Description |
|---|---|---|
| MediumLAN | compound module |
Several hosts and an Ethernet hub on a switch; part of ~LargeNet(1,2). |
| SmallLAN | compound module |
Used in
| Name | Type | Description |
|---|---|---|
| LargeNet | network |
A large Ethernet LAN -- see model description here. |
Extends
| Name | Type | Description |
|---|---|---|
| DatarateChannel | channel | (no description) |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| disabled | bool | false | |
| delay | double | 0.1us |
propagation delay |
| datarate | double | 100Mbps |
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 |
|---|---|---|
| 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
// // A 100Mb/s Ethernet cable. Part of ~LargeNet. // channel cable extends DatarateChannel { parameters: delay = 0.1us; datarate = 100Mbps; }File: examples/ethernet/lans/LargeNet.ned