Package: inet.node.ethernet
Eth1G
channel1 gigabit/sec Ethernet link
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Used in
| Name | Type | Description |
|---|---|---|
| AODVNetwork | network |
AODV network with an external Ethernet-connected host that can receive traffic from the wireless AODV network. The router acts as the gateway between the wireless AODV network and the wired Ethernet network. |
| AODVNetworkWithEthernet | network |
Extended AODV network with an additional Ethernet-connected host that can receive traffic from the wireless AODV network. |
| ClockDriftShowcase | network | (no description) |
| ComplexConfiguratorNetwork | network | (no description) |
| LargeNet | network | (no description) |
| ResidenceTimeMeasurementShowcase | network | (no description) |
| SeaportNetwork | network | (no description) |
| SimpleConfiguratorNetwork | network | (no description) |
| SwitchNetwork | network | (no description) |
| Tunnel | network | (no description) |
| WebserverShowcase | network | (no description) |
Extends
| Name | Type | Description |
|---|---|---|
| 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. |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| disabled | bool | false | |
| delay | double | replaceUnit(length / 2e8, "s") |
propagation delay |
| datarate | double | 1Gbps |
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
// // 1 gigabit/sec Ethernet link // channel Eth1G extends EthernetLink { datarate = 1Gbps; }File: src/inet/node/ethernet/EthernetLink.ned