cfg802154_g...e_short_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 πŸ“:


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