Message MacPkt

File: core/basicMessages/MacPkt.msg

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

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 int

destination mac address

srcAddr int

source mac address

Source code:

message MacPkt{
    fields:
	int destAddr; // destination mac address
	int srcAddr;  // source mac address
}