LMacHeaderBase¶
Namespace: inet
class LMacHeaderBase
Base class for LMac headers.
Usage diagram¶
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
(no description) |
Known subclasses¶
Name |
Type |
Description |
|---|---|---|
class |
Control Frame for LMac. Frame size is configurable in the MAC layer. |
|
class |
Dataframe header for LMac. Frame size is configurable in the MAC layer. |
Fields¶
Name |
Type |
Description |
|---|---|---|
id |
int |
|
mutable |
bool |
|
complete |
bool |
|
correct |
bool |
|
properlyRepresented |
bool |
|
chunkLength |
||
rawBin |
string[] |
|
rawHex |
string[] |
|
regionTags |
||
srcAddr |
||
destAddr |
||
type |
||
mySlot |
int |
the node’s current slot number |
occupiedSlots |
currently known occupied slots |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
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
}