STRUCT IEEE802154_PAN_DEVICE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct ieee802154_pan_device(9) β€” bestie edition πŸ¦‹

okay so this page is straight out of the Kernel API Manual, and it's literally just the blueprint for one lil struct, no cap. Let me walk you through it πŸ’…


✨ NAME ✨

struct ieee802154_pan_device β€” the whole vibe here is just PAN device information. that's it. that's the name. she's a data holder πŸŽ€


🌸 SYNOPSIS 🌸

struct ieee802154_pan_device {
    __le16 pan_id;
    u8 mode;
    __le16 short_addr;
    __le64 extended_addr;
    struct list_head node;
 };

look at her. five fields. immaculate. copy it exactly or don't copy it at all 🫢


πŸ’– Members πŸ’–

  • pan_id β€” the PAN ID of this device. it's __le16, so yes, little-endian, notice her πŸ›
  • mode β€” the preferred mode to reach the device. it's a u8, she's lowkey petite but she matters ✨
  • short_addr β€” the short address of this device, another __le16, iconic behavior πŸ’«
  • extended_addr β€” the extended address of this device, and she is __le64 because she's the main character of addresses πŸ‘‘
  • node β€” the list node. a struct list_head, so you know she's linked into something bigger. iykyk πŸ”₯

πŸŽ€ SEE ALSO πŸŽ€

the kernel file lives at ./include/net/cfg802154.h β€” go read the source, bestie, it's giving homework but like the fun kind πŸ“š

and then the whole squad, fr fr:

ngl if you're messing with this struct you're gonna want at least half of those. don't skip the reading. 🌈

and that's the whole page, no notes πŸ’œ okay bye, this came from ./include/net, dated October 2026, and it's literally called struct ieee802154_pan_device(9) β€” go slay your kernel module bestie, mwah πŸ“πŸ§š

πŸ“¦ where this page comes from