STRUCT CFG802154_MAC_PKT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– STRUCT CFG802154_MAC_PKT πŸ’–

bestie welcome to the kernel API manual page for struct cfg802154_mac_pkt β€” we're doing this one in style ✨

🌸 NAME 🌸

struct cfg802154_mac_pkt β€” the MAC packet descriptor, and yes she is specifically for beacon/command packets πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

okay so here's the whole little struct, no cap, exactly as she lives:

struct cfg802154_mac_pkt {
    struct list_head node;
    struct sk_buff *skb;
    struct ieee802154_sub_if_data *sdata;
    netdevice_tracker dev_tracker;
    u8 page;
    u8 channel;
 };

(also, um, shoutout to that one stray space before the closing brace β€” she's iconic, we keep her πŸ’…)

πŸ‘‘ Members πŸ‘‘

okay so the manual breaks down these five fields, and honestly? each one is kind of main character energy:

  • node β€” the list member that hooks this packet onto the MAC packets to process list 🫢
  • skb β€” the received sk_buff itself, like, the actual packet ✨
  • sdata β€” the interface that skb got received on 🌸
  • page β€” the page configuration at the moment skb was received πŸ“„
  • channel β€” the channel configuration at the moment skb was received πŸ“‘
ngl, the struct in SYNOPSIS also has a dev_tracker field in it β€” but the Members list doesn't describe it, so we're not out here making stuff up about it πŸ™ˆ the struct definition above is verbatim, that's the promise πŸ’–

πŸ’œ SEE ALSO πŸ’œ

the kernel file lives at ./include/net/cfg802154.h, and here's the whole squad it wants you to go read next β€” literally all of these, go look, they're lowkey great:


okay that's the whole page bestie, you ate that πŸ“ this came to you from ./include/net, dated October 2026, and the source/version notes are literally struct cfg802154_mac_pkt(9) β€” slay, mwah πŸ’‹πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from