LMacHeaderBase

Namespace inet

LMacHeaderBase

class

Base class for LMac headers.

Extends

Name Type Description
FieldsChunk (unknown -- not in documented files)

Fields

Name Type Description
srcAddr MacAddress
destAddr MacAddress
type LMacType
mySlot int

the node's current slot number

occupiedSlots MacAddress[]

currently known occupied slots

Packet operations (observed)

actionmodule
peekAtFrontLMac

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