LMacHeaderBase

LMacHeaderBase

class

Base class for LMac headers.

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram

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

Extends

Name Type Description
FieldsChunk class (no description)

Known subclasses

Name Type Description
LMacControlFrame class

Control Frame for LMac. Frame size is configurable in the MAC layer.

LMacDataFrameHeader class

Dataframe header for LMac. Frame size is configurable in the MAC layer.

Fields

Name Type Description
srcAddr MacAddress
destAddr MacAddress
type LMacType
mySlot int

the node's current slot number

occupiedSlots MacAddress[]

currently known occupied slots

mutable bool
complete bool
correct bool
properlyRepresented bool
chunkLength b
rawBin string[]
rawHex string[]
tags RegionTagSet::cObjectRegionTag[]

Source code

//
// Base class for ~LMac headers.
//
class LMacHeaderBase extends FieldsChunk
{
    MacAddress srcAddr;
    MacAddress destAddr;
    LMacType type;
    int mySlot; // the node's current slot number
    MacAddress occupiedSlots[]; // currently known occupied slots
}

File: src/inet/linklayer/lmac/LMacHeader.msg