Message MacPkt

File: NetworkInterfaces/MF80211/macLayer/MacPkt.msg

C++ definition: click here

A basic MAC (Media Access Control) packet format definition

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

The basic MAC message only provides source and destination address and and the channel it should be send on

This component has been taken over from Mobility Framework 1.0a5.

Author: Daniel Willkomm

Inheritance diagram:

The following diagram shows part of the inheritance hierarchy. Unresolved types are missing from the diagram. Click here to see the full picture.

Known subclasses:

Mac80211Pkt

Defines all fields of an 802.11 MAC frame

Fields:

Name Type Description
destAddr MACAddress

destination mac address

srcAddr MACAddress

source mac address

channelId int

channel to send / receive on

Source code:

message MacPkt
{
    fields:
        MACAddress destAddr; // destination mac address
        MACAddress srcAddr; // source mac address
        int channelId=1; // channel to send / receive on
}