MacRelayUnit

Package: inet.linklayer.ethernet.common

MacRelayUnit

simple module

(no description)

Inheritance diagram

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

Extends

Name Type Description
MacRelayUnitBase simple module (no description)

Parameters

Name Type Default value Description
macTableModule string
interfaceTableModule string
displayStringTextFormat string "proc: %p\ndisc: %d"

Properties

Name Value Description
display i=block/switch
class MacRelayUnit

Gates

Name Direction Size Description
lowerLayerIn input
lowerLayerOut output
upperLayerIn input
upperLayerOut output

Signals

Name Type Unit
packetReceivedFromUpper inet::Packet
packetReceivedFromLower inet::Packet
packetDropped inet::Packet
packetSentToLower inet::Packet

Statistics

Name Title Source Record Unit Interpolation Mode
packetDropped packets dropped count, sum(packetBytes), vector(packetBytes) none

Direct method calls (observed)

call tofunctioninfo
MessageDispatcherinet::MessageDispatcher::arrivedarrived
MessageDispatcherinet::MessageDispatcher::handleRegisterAnyProtocolhandleRegisterAnyProtocol
MessageDispatcherinet::MessageDispatcher::handleRegisterAnyServicehandleRegisterAnyService
MacForwardingTableinet::MacForwardingTable::getUnicastAddressForwardingInterfacegetUnicastAddressForwardingInterface
MacForwardingTableinet::MacForwardingTable::learnUnicastAddressForwardingInterfacelearnUnicastAddressForwardingInterface

Incoming messages (observed)

gatemsgkindctrlsrcModuletags
lowerLayerInPacket0EthernetEncapsulationDispatchProtocolReq, InterfaceInd, MacAddressInd, PacketProtocolTag, ErrorRateInd?, SignalPowerInd?, SignalTimeInd?, SnirInd?, Ieee80211ChannelInd?, Ieee80211ModeInd?

Outgoing messages (observed)

gatemsgkindctrldestModuletags
lowerLayerOutPacket0EthernetEncapsulationDirectionTag, DispatchProtocolReq, InterfaceReq, MacAddressReq, PacketProtocolTag

Packet operations (observed)

chunkTypepacketAction
trim

Shared Tagging operations (observed)

tagTypetagAction
clearTags
DirectionTagaddTagIfAbsent
DispatchProtocolReqaddTagIfAbsent
InterfaceIndgetTag
InterfaceReqaddTagIfAbsent
MacAddressIndgetTag
MacAddressReqaddTag
PacketProtocolTagaddTag, getTag
UserPriorityIndfindTag
VlanIndfindTag

Source code

simple MacRelayUnit extends MacRelayUnitBase like IMacRelayUnit
{
    parameters:
        @class(MacRelayUnit);
}

File: src/inet/linklayer/ethernet/common/MacRelayUnit.ned