IEthernetLayer.ned
NED File src/inet/linklayer/contract/IEthernetLayer.ned
| Name | Type | Description |
|---|---|---|
| IEthernetLayer | module interface |
Module interface for Ethernet protocol layer implementations. Implementations typically handle the encapsulation of higher layer packets into Ethernet frames for transmission and the decapsulation of received Ethernet frames for delivery to higher layers. |
Source code
// // Copyright (C) 2020 OpenSim Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later // package inet.linklayer.contract; // // Module interface for Ethernet protocol layer implementations. Implementations // typically handle the encapsulation of higher layer packets into Ethernet // frames for transmission and the decapsulation of received Ethernet frames for // delivery to higher layers. // moduleinterface IEthernetLayer { parameters: @display("i=block/layer"); gates: input upperLayerIn; output upperLayerOut; input lowerLayerIn; output lowerLayerOut; }