IMacProtocol.ned

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

Name Type Description
IMacProtocol module interface

This interface provides an abstraction for different MAC protocols.

Source code

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


package inet.linklayer.contract;

//
// This interface provides an abstraction for different MAC protocols.
//
moduleinterface IMacProtocol
{
    parameters:
        @display("i=block/rxtx");
    gates:
        input upperLayerIn @labels(INetworkHeader/down);
        output upperLayerOut @labels(INetworkHeader/up);
        input lowerLayerIn @labels(ILinkLayerFrame/up);
        output lowerLayerOut @labels(ILinkLayerFrame/down);
}