LayeredProtocolBase

Package: inet.common

LayeredProtocolBase

simple module

Module base for different layered protocols.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Known subclasses

Name Type Description
MacProtocolBase simple module

Module base for different MAC protocols.

NetworkProtocolBase simple module

Module base for different network protocols.

PhysicalLayerBase simple module

Module base for different physical layers.

TransportProtocolBase simple module

Module base for different transport protocols.

Properties

Name Value Description

Signals

Name Type Unit
packetReceivedFromUpper cPacket
packetReceivedFromLower cPacket
packetDropped cPacket
packetSentToLower cPacket
packetSentToUpper cPacket

Source code

//
// Module base for different layered protocols.
//
simple LayeredProtocolBase
{
    parameters:
        @signal[packetSentToUpper](type=cPacket);
        @signal[packetReceivedFromUpper](type=cPacket);
        @signal[packetSentToLower](type=cPacket);
        @signal[packetReceivedFromLower](type=cPacket);
        @signal[packetDropped](type=cPacket);
}

File: src/inet/common/LayeredProtocolBase.ned