Packet MacPkt

File: base/messages/MacPkt.msg

A basic MAC (Media Access Control) packet format definition

subclass if you want to create your own MAC layer packet class

The basic MAC packet only provides source and destination address

Author: Daniel Willkomm

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Known subclasses:

LMacPkt (message) (no description)
Mac80211Pkt (packet)

Defines all fields of an 802.11 MAC frame

UWBIRMacPkt (message) (no description)

Fields:

Name Type Description
destAddr long

destination mac address

srcAddr long

source mac address

sequenceId long

Sequence Number to detect duplicate messages

Source code:

// A basic MAC (Media Access Control) packet format definition
// 
// subclass if you want to create your own MAC layer packet class
//
// The basic MAC packet only provides source and destination address
//
// @author Daniel Willkomm
packet MacPkt
{
    long destAddr; // destination mac address
    long srcAddr;  // source mac address
    long sequenceId; // Sequence Number to detect duplicate messages
}