|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Parsed MAC Service Data Unit (MSDU) with MHR pointers and payload view. More...
#include <zephyr/net/ieee802154_frame.h>
Data Fields | |
| struct ieee802154_mhr | mhr |
| MAC header (and optional Auxiliary Security Header) references. | |
| union { | |
| void * payload | |
| Untyped MAC payload (beacon, data, or command body). More... | |
| struct ieee802154_beacon * beacon | |
| Beacon payload when the frame is a beacon. More... | |
| struct ieee802154_command * command | |
| MAC command payload when the frame is a MAC command. More... | |
| }; | |
| MAC payload view for the current Frame Type. | |
| uint16_t | payload_length |
| Length of the MAC payload in octets. | |
Parsed MAC Service Data Unit (MSDU) with MHR pointers and payload view.
Used when inspecting or building frames; payload type depends on Frame Type.
| union { ... } ieee802154_mpdu |
MAC payload view for the current Frame Type.
See section 7.2.1.
| struct ieee802154_beacon* ieee802154_mpdu::beacon |
Beacon payload when the frame is a beacon.
| struct ieee802154_command* ieee802154_mpdu::command |
MAC command payload when the frame is a MAC command.
| struct ieee802154_mhr ieee802154_mpdu::mhr |
MAC header (and optional Auxiliary Security Header) references.
| void* ieee802154_mpdu::payload |
Untyped MAC payload (beacon, data, or command body).
| uint16_t ieee802154_mpdu::payload_length |
Length of the MAC payload in octets.