Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ieee802154_mpdu Struct Reference

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.

Detailed Description

Parsed MAC Service Data Unit (MSDU) with MHR pointers and payload view.

Used when inspecting or building frames; payload type depends on Frame Type.

Field Documentation

◆ [union]

union { ... } ieee802154_mpdu

MAC payload view for the current Frame Type.

See section 7.2.1.

◆ beacon

struct ieee802154_beacon* ieee802154_mpdu::beacon

Beacon payload when the frame is a beacon.

◆ command

struct ieee802154_command* ieee802154_mpdu::command

MAC command payload when the frame is a MAC command.

◆ mhr

struct ieee802154_mhr ieee802154_mpdu::mhr

MAC header (and optional Auxiliary Security Header) references.

◆ payload

void* ieee802154_mpdu::payload

Untyped MAC payload (beacon, data, or command body).

◆ payload_length

uint16_t ieee802154_mpdu::payload_length

Length of the MAC payload in octets.


The documentation for this struct was generated from the following file: