Eth100M¶
Package: inet.node.ethernet
channel Eth100M
100 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 |
100Mbps |
|
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¶
//
// 100 megabit/sec Ethernet link
//
channel Eth100M extends EthernetLink
{
datarate = 100Mbps;
}