Package: inet.linklayer.ieee80211.llc
Ieee80211LlcLpd
simple moduleAn LLC implementation that encapsulates packets in an LLC header, using IEEE 802 LPD-style encoding.
See Ieee8022LlcHeader, Ieee8022LlcSnapHeader.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
Name | Type | Description |
---|---|---|
Ieee8022Llc | simple module | (no description) |
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 | |
class | Ieee80211LlcLpd |
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 |
Called methods (observed)
function | info | call from |
---|---|---|
inet::ieee80211::Ieee80211LlcLpd::handleOperationStage | handleOperationStage | ScenarioManager, SimpleEpEnergyManagement, SimpleEpEnergyStorage |
inet::ieee80211::Ieee80211LlcLpd::handleRegisterProtocol | handleRegisterProtocol | MessageDispatcher, ExampleQosClassifier, QosClassifier |
inet::ieee80211::Ieee80211LlcLpd::handleRegisterService | handleRegisterService | MessageDispatcher, ExampleQosClassifier, QosClassifier |
Incoming messages (observed)
Outgoing messages (observed)
Packet operations (observed)
chunkType | packetAction |
---|---|
Ieee8022LlcHeader | insertAtFront, popAtFront |
Ieee8022LlcSnapHeader | insertAtFront |
Shared Tagging operations (observed)
tagType | tagAction |
---|---|
DispatchProtocolReq | addTagIfAbsent, removeTagIfPresent |
Ieee802SapInd | addTagIfAbsent, findTag |
Ieee802SapReq | findTag |
PacketProtocolTag | addTagIfAbsent, findTag, removeTagIfPresent |
SocketInd | addTagIfAbsent |
SocketReq | getTag |
Source code
// // An LLC implementation that encapsulates packets in an LLC header, // using IEEE 802 LPD-style encoding. // // See ~Ieee8022LlcHeader, Ieee8022LlcSnapHeader. // simple Ieee80211LlcLpd extends Ieee8022Llc like IIeee80211Llc { @class(Ieee80211LlcLpd); }File: src/inet/linklayer/ieee80211/llc/Ieee80211LlcLpd.ned