Ieee80211LlcLpd

Package: inet.linklayer.ieee80211.llc

Ieee80211LlcLpd

simple module

An 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 tofunctioninfo
MessageDispatcherinet::MessageDispatcher::arrivedarrived

Called methods (observed)

functioninfocall from
inet::ieee80211::Ieee80211LlcLpd::handleOperationStagehandleOperationStageScenarioManager, SimpleEpEnergyManagement, SimpleEpEnergyStorage
inet::ieee80211::Ieee80211LlcLpd::handleRegisterProtocolhandleRegisterProtocolMessageDispatcher, ExampleQosClassifier, QosClassifier
inet::ieee80211::Ieee80211LlcLpd::handleRegisterServicehandleRegisterServiceMessageDispatcher, ExampleQosClassifier, QosClassifier

Incoming messages (observed)

gatemsgkindctrlsrcModuletags
lowerLayerInPacket0Ieee80211MacInterfaceInd, MacAddressInd, PacketProtocolTag, DispatchProtocolInd?, DispatchProtocolReq?, ErrorRateInd?, InterfaceReq?, MacAddressReq?, NetworkProtocolInd?, SignalPowerInd?, SignalTimeInd?, SnirInd?, SocketReq?, UserPriorityInd?, LlcProtocolTag?, Ieee80211ChannelInd?, Ieee80211ModeInd?, Ieee80211ModeReq?
upperLayerInPacket0ExampleQosClassifierInterfaceReq, MacAddressReq, PacketProtocolTag, UserPriorityReq, DispatchProtocolInd?, MulticastReq?, NetworkProtocolInd?, TransportProtocolInd?
upperLayerInPacket0QosClassifierInterfaceReq, MacAddressReq, PacketProtocolTag, UserPriorityReq, DispatchProtocolInd?, MulticastReq?, NetworkProtocolInd?, TransportProtocolInd?
upperLayerInPacket0ArpInterfaceReq, MacAddressReq, PacketProtocolTag
upperLayerInPacket0Ipv4DispatchProtocolInd, InterfaceReq, MacAddressReq, NetworkProtocolInd, PacketProtocolTag, DirectionTag?, EcnInd?, ErrorRateInd?, Ieee802SapInd?, InterfaceInd?, MacAddressInd?, MulticastReq?, SignalPowerInd?, SignalTimeInd?, SnirInd?, SocketReq?, TransportProtocolInd?, Ieee80211ChannelInd?, Ieee80211ModeInd?
upperLayerInPacket0Ipv6DispatchProtocolInd, InterfaceReq, MacAddressReq, NetworkProtocolInd, PacketProtocolTag
upperLayerInPacket0NextHopForwardingDispatchProtocolInd, InterfaceReq, MacAddressReq, NetworkProtocolInd, PacketProtocolTag, ErrorRateInd?, Ieee802SapInd?, InterfaceInd?, MacAddressInd?, NextHopAddressReq?, SignalPowerInd?, SignalTimeInd?, SnirInd?, SocketReq?, Ieee80211ChannelInd?, Ieee80211ModeInd?
upperLayerInPacket0 (SocketCommandCode::SOCKET_C_DATA)EtherAppClientDispatchProtocolReq, Ieee802SapReq, InterfaceReq, MacAddressReq, SocketReq
upperLayerInRequest2 (SocketCommandCode::SOCKET_C_OPEN)Ieee8022LlcSocketOpenCommandEtherAppClientDispatchProtocolReq, Ieee802SapReq, InterfaceReq, SocketReq
upperLayerInRequest2 (SocketCommandCode::SOCKET_C_OPEN)Ieee8022LlcSocketOpenCommandEtherAppServerDispatchProtocolReq, Ieee802SapReq, SocketReq

Outgoing messages (observed)

gatemsgkindctrldestModuletags
lowerLayerOutPacket0Ieee80211MacDispatchProtocolReq, InterfaceReq, MacAddressReq, PacketProtocolTag, DirectionTag?, DispatchProtocolInd?, EcnInd?, ErrorRateInd?, Ieee802SapInd?, Ieee802SapReq?, InterfaceInd?, MacAddressInd?, MulticastReq?, NetworkProtocolInd?, NextHopAddressReq?, SignalPowerInd?, SignalTimeInd?, SnirInd?, SocketReq?, TransportProtocolInd?, UserPriorityReq?, Ieee80211ChannelInd?, Ieee80211ModeInd?
upperLayerOutPacket0ArpDispatchProtocolReq, ErrorRateInd, Ieee802SapInd, InterfaceInd, MacAddressInd, PacketProtocolTag, SignalPowerInd, SignalTimeInd, SnirInd, UserPriorityInd?, Ieee80211ChannelInd?, Ieee80211ModeInd?
upperLayerOutPacket0Ipv4DispatchProtocolReq, Ieee802SapInd, InterfaceInd, MacAddressInd, PacketProtocolTag, DispatchProtocolInd?, ErrorRateInd?, InterfaceReq?, MacAddressReq?, NetworkProtocolInd?, SignalPowerInd?, SignalTimeInd?, SnirInd?, SocketReq?, UserPriorityInd?, LlcProtocolTag?, Ieee80211ChannelInd?, Ieee80211ModeInd?, Ieee80211ModeReq?
upperLayerOutPacket0Ipv6DispatchProtocolReq, ErrorRateInd, Ieee802SapInd, InterfaceInd, MacAddressInd, PacketProtocolTag, SignalPowerInd, SignalTimeInd, SnirInd, Ieee80211ChannelInd, Ieee80211ModeInd
upperLayerOutPacket0NextHopForwardingDispatchProtocolReq, ErrorRateInd, Ieee802SapInd, InterfaceInd, MacAddressInd, PacketProtocolTag, SignalPowerInd, SignalTimeInd, SnirInd, Ieee80211ChannelInd, Ieee80211ModeInd
upperLayerOutPacket0 (SocketStatusInd::SOCKET_I_DATA)EtherAppServerIeee802SapInd, InterfaceInd, MacAddressInd, SocketInd, ErrorRateInd?, SignalPowerInd?, SignalTimeInd?, SnirInd?, Ieee80211ChannelInd?, Ieee80211ModeInd?

Packet operations (observed)

chunkTypepacketAction
Ieee8022LlcHeaderinsertAtFront, popAtFront
Ieee8022LlcSnapHeaderinsertAtFront

Shared Tagging operations (observed)

tagTypetagAction
DispatchProtocolReqaddTagIfAbsent, removeTagIfPresent
Ieee802SapIndaddTagIfAbsent, findTag
Ieee802SapReqfindTag
PacketProtocolTagaddTagIfAbsent, findTag, removeTagIfPresent
SocketIndaddTagIfAbsent
SocketReqgetTag

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