Package: inet.linklayer.ieee8022
Ieee8022Llc
simple module(no description)
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Known subclasses
| Name | Type | Description |
|---|---|---|
| Ieee80211LlcLpd | simple module |
An LLC implementation that encapsulates packets in an LLC header, using IEEE 802 LPD-style encoding. |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| registerProtocol | bool | false |
FIXME //KLUDGE should redesign place of EthernetEncapsulation and LLC modules |
Properties
| Name | Value | Description |
|---|---|---|
| display | i=block/layer |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| upperLayerIn | input |
TODO accepts packets and socket commands with @messageKinds(inet::SocketCommandCode), too |
|
| upperLayerOut | output |
TODO sends packets and socket indications with @messageKinds(inet::SocketStatusInd), too |
|
| lowerLayerIn | input | ||
| lowerLayerOut | output |
Signals
| Name | Type | Unit |
|---|---|---|
| packetDropped | inet::Packet |
Direct method calls (observed)
| call to | function | info |
|---|---|---|
| MessageDispatcher | inet::MessageDispatcher::arrived | arrived |
| MessageDispatcher | inet::MessageDispatcher::handleRegisterProtocol | handleRegisterProtocol |
| MessageDispatcher | inet::MessageDispatcher::handleRegisterService | handleRegisterService |
| EthernetEncapsulation | inet::EthernetEncapsulation::handleRegisterProtocol | handleRegisterProtocol |
Called methods (observed)
| function | info | call from |
|---|---|---|
| inet::Ieee8022Llc::handleOperationStage | handleOperationStage | ScenarioManager |
| inet::Ieee8022Llc::handleRegisterProtocol | handleRegisterProtocol | MessageDispatcher |
| inet::Ieee8022Llc::handleRegisterService | handleRegisterService | MessageDispatcher, EthernetEncapsulation, EthernetMacHeaderInserter |
Incoming messages (observed)
Outgoing messages (observed)
Packet operations (observed)
| chunkType | packetAction |
|---|---|
| Ieee8022LlcHeader | insertAtFront, popAtFront |
Shared Tagging operations (observed)
| tagType | tagAction |
|---|---|
| DispatchProtocolReq | addTagIfAbsent, removeTagIfPresent |
| Ieee802SapInd | addTagIfAbsent, findTag |
| Ieee802SapReq | findTag |
| PacketProtocolTag | addTagIfAbsent, findTag, removeTagIfPresent |
| SocketInd | addTagIfAbsent |
| SocketReq | getTag |
Source code
simple Ieee8022Llc like IIeee8022Llc { parameters: bool registerProtocol = default(false); //FIXME //KLUDGE should redesign place of EthernetEncapsulation and LLC modules @display("i=block/layer"); @signal[packetDropped](type=inet::Packet); gates: input upperLayerIn; // TODO accepts packets and socket commands with @messageKinds(inet::SocketCommandCode), too output upperLayerOut; // TODO sends packets and socket indications with @messageKinds(inet::SocketStatusInd), too input lowerLayerIn; output lowerLayerOut; }File: src/inet/linklayer/ieee8022/Ieee8022Llc.ned