NED File src/inet/node/ethernet/EthernetLink.ned
Name | Type | Description |
---|---|---|
EthernetLink | channel |
Base for Ethernet link types. Propagation delay can be specified with the length of the cable, i.e. in meters instead of nanoseconds or microseconds. |
Eth10M | channel |
10 megabit/sec Ethernet link |
Eth100M | channel |
100 megabit/sec Ethernet link |
Eth1G | channel |
1 gigabit/sec Ethernet link |
Eth10G | channel |
10 gigabit/sec Ethernet link |
Eth40G | channel |
40 gigabit/sec Ethernet link |
Eth100G | channel |
100 gigabit/sec Ethernet link |
Eth200G | channel |
200 gigabit/sec Ethernet link |
Eth400G | channel |
400 gigabit/sec Ethernet link |
Source code
// // Copyright (C) 2012 OpenSim Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later // package inet.node.ethernet; import ned.DatarateChannel; // // Base for Ethernet link types. Propagation delay can be specified with the // length of the cable, i.e. in meters instead of nanoseconds or microseconds. // channel EthernetLink extends DatarateChannel { double length @unit(m) = default(10m); delay = default(replaceUnit(length / 2e8, "s")); } // // 10 megabit/sec Ethernet link // channel Eth10M extends EthernetLink { datarate = 10Mbps; } // // 100 megabit/sec Ethernet link // channel Eth100M extends EthernetLink { datarate = 100Mbps; } // // 1 gigabit/sec Ethernet link // channel Eth1G extends EthernetLink { datarate = 1Gbps; } // // 10 gigabit/sec Ethernet link // channel Eth10G extends EthernetLink { datarate = 10Gbps; } // // 40 gigabit/sec Ethernet link // channel Eth40G extends EthernetLink { datarate = 40Gbps; } // // 100 gigabit/sec Ethernet link // channel Eth100G extends EthernetLink { datarate = 100Gbps; } // // 200 gigabit/sec Ethernet link // channel Eth200G extends EthernetLink { datarate = 200Gbps; } // // 400 gigabit/sec Ethernet link // channel Eth400G extends EthernetLink { datarate = 400Gbps; }