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
The following diagram shows part of the inheritance hierarchy. Unresolved types are missing from the diagram. Click here to see the full picture.
Mac80211Pkt | Defines all fields of an 802.11 MAC frame |
Name | Type | Description |
---|---|---|
destAddr | int | destination mac address |
srcAddr | int | source mac address |
message MacPkt{ fields: int destAddr; // destination mac address int srcAddr; // source mac address }