cfg802154_g...e_short_addr(9)
π NAME π
cfg802154_get_free_short_addr β bestie, this is the one that gets you a free address among the known devices π
β¨ SYNOPSIS β¨
__le16 cfg802154_get_free_short_addr(struct wpan_dev *wpan_dev);
Like, that's literally the whole vibe. One function, one argument, one __le16 coming back at ya π¦
πΈ ARGUMENTS πΈ
wpan_devβ the wpan device π that's it, that's the whole argument, she's lowkey undemanding
π RETURN π
A random short address, expectedly unused on our PAN β¨
No cap, the key word here is expectedly β it's random, so it's giving "probably fine, probably unused" energy, not "guaranteed nobody has this address" energy π«Ά
π§ SEE ALSO π§
Ok so if you're obsessed with this one (and why wouldn't you be), here's the whole friend group β all of these live in the kernel file ./include/net/cfg802154.h π:
enum wpan_phy_flags(9)struct ieee802154_addr(9)struct ieee802154_coord_desc(9)struct ieee802154_pan_device(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)
And that's the page, bestie π source location is ./include/net, dated October 2026, and yes the manual name really is cfg802154_g...e_short_addr(9) β they truncated it, not me, I would never π go get your free short address, ily, bye ππβ¨
π¦ 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