Eth10M¶
Package: inet.node.ethernet
channel Eth10M
10 megabit/sec Ethernet link
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
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 and the speed of light in the medium. |
Parameters¶
Name |
Type |
Default value |
Description |
|---|---|---|---|
disabled |
bool |
false |
|
delay |
double |
replaceUnit(length / 2e8, “s”) |
|
datarate |
double |
10Mbps |
|
ber |
double |
0 |
|
per |
double |
0 |
|
enabledLineStyle |
string |
“solid” |
|
disabledLineStyle |
string |
“dashed” |
|
disabledIcon |
string |
“status/cross” |
|
length |
double |
10m |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
Cable |
Source code¶
//
// 10 megabit/sec Ethernet link
//
channel Eth10M extends EthernetLink
{
datarate = 10Mbps;
}