STRUCT IEEE802154_PAN_DEVICE(9)
π¦ 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 au8, 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__le64because she's the main character of addresses πnodeβ the list node. astruct 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:
enum wpan_phy_flags(9)struct ieee802154_addr(9)struct ieee802154_coord_desc(9)struct cfg802154_scan_request(9)struct cfg802154_beacon_request(9)struct cfg802154_mac_pkt(9)cfg802154_device_is_associated(9)cfg802154_device_is_parent(9)cfg802154_device_is_child(9)cfg802154_set_max_associations(9)cfg802154_get_free_short_addr(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms