IEthernetInterface.ned

NED File src/inet/linklayer/contract/IEthernetInterface.ned

Name Type Description
IEthernetInterface module interface

This module interface is implemented by Ethernet network interfaces.

Source code

//
// Copyright (C) 2018 OpenSim Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later
//


package inet.linklayer.contract;

//
// This module interface is implemented by Ethernet network interfaces.
//
moduleinterface IEthernetInterface extends IWiredInterface
{
    parameters:
        double bitrate @unit(bps);
        @display("i=block/ifcard");
}