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 to | function | info |
|---|---|---|
| MessageDispatcher | inet::MessageDispatcher::arrived | arrived |
| MessageDispatcher | inet::MessageDispatcher::handleRegisterAnyProtocol | handleRegisterAnyProtocol |
| MessageDispatcher | inet::MessageDispatcher::handleRegisterAnyService | handleRegisterAnyService |
| MacForwardingTable | inet::MacForwardingTable::getUnicastAddressForwardingInterface | getUnicastAddressForwardingInterface |
| MacForwardingTable | inet::MacForwardingTable::learnUnicastAddressForwardingInterface | learnUnicastAddressForwardingInterface |
Incoming messages (observed)
| gate | msg | kind | ctrl | srcModule | tags |
|---|---|---|---|---|---|
| lowerLayerIn | Packet | 0 | EthernetEncapsulation | DispatchProtocolReq, InterfaceInd, MacAddressInd, PacketProtocolTag, ErrorRateInd?, SignalPowerInd?, SignalTimeInd?, SnirInd?, Ieee80211ChannelInd?, Ieee80211ModeInd? |
Outgoing messages (observed)
| gate | msg | kind | ctrl | destModule | tags |
|---|---|---|---|---|---|
| lowerLayerOut | Packet | 0 | EthernetEncapsulation | DirectionTag, DispatchProtocolReq, InterfaceReq, MacAddressReq, PacketProtocolTag |
Packet operations (observed)
| chunkType | packetAction |
|---|---|
| trim |
Shared Tagging operations (observed)
| tagType | tagAction |
|---|---|
| clearTags | |
| DirectionTag | addTagIfAbsent |
| DispatchProtocolReq | addTagIfAbsent |
| InterfaceInd | getTag |
| InterfaceReq | addTagIfAbsent |
| MacAddressInd | getTag |
| MacAddressReq | addTag |
| PacketProtocolTag | addTag, getTag |
| UserPriorityInd | findTag |
| VlanInd | findTag |
Source code
simple MacRelayUnit extends MacRelayUnitBase like IMacRelayUnit { parameters: @class(MacRelayUnit); }File: src/inet/linklayer/ethernet/common/MacRelayUnit.ned