Ieee802154MacHeader

Namespace inet

Ieee802154MacHeader

class

A CSMA mac header format definition

Author: Daniel Willkomm

Extends

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

Fields

Name Type Description
srcAddr MacAddress
destAddr MacAddress
networkProtocol int
sequenceId long

Sequence Number to detect duplicate messages

Packet operations (observed)

actionmodule
insertAtFrontIeee802154Mac, Ieee802154NarrowbandMac
peekAtFrontIeee802154Mac, Ieee802154NarrowbandMac
popAtFrontIeee802154Mac, Ieee802154NarrowbandMac

Source code

//
// A CSMA mac header format definition
//
// @author Daniel Willkomm
//
class Ieee802154MacHeader extends FieldsChunk
{
    MacAddress srcAddr;
    MacAddress destAddr;
    int networkProtocol = -1;
    long sequenceId; // Sequence Number to detect duplicate messages
}
File: src/inet/linklayer/ieee802154/Ieee802154MacHeader.msg