File: NetworkInterfaces/MF80211/macLayer/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 and and the channel it should be send on
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 | MACAddress | destination mac address |
srcAddr | MACAddress | source mac address |
channelId | int | channel to send / receive on |
message MacPkt { fields: MACAddress destAddr; // destination mac address MACAddress srcAddr; // source mac address int channelId=1; // channel to send / receive on }