ieee802154_le64_to_be64(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ieee802154_le64_to_be64 β€” kernel API manual, bestie edition ✨

okay so this is ieee802154_le64_to_be64(9) from the Kernel API Manual, and she is literally a tiny little endianness fairy 🧚 that copies your data and flips it from little-endian to big-endian at the same time. two jobs, one function, main character energy fr fr πŸ‘‘


🌸 NAME 🌸

ieee802154_le64_to_be64 β€” copies and convert le64 to be64 πŸ’–

like yes bestie, that is the whole personality. copy + convert. no cap.


✨ SYNOPSIS ✨

void ieee802154_le64_to_be64 (void *be64_dst , const void *le64_src );

returns void, takes two pointers, zero drama. she's not giving you anything back except vibes and a correctly byte-ordered destination 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • be64_dst β€” the be64 destination pointer. this is where the converted little-endian-turned-big-endian goodness gets dropped off. she's the one receiving the glow-up πŸ’…
  • le64_src β€” the le64 source pointer. this is your original little-endian data, the raw material, the before picture πŸ¦‹
⚠️ note that both of them are void * (and const void * for the source, she's read-only, respect her boundaries) so the types are doing a little bit of "trust me bro" here. that's literally how the signature is, don't come for me 😭

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/net/mac802154.h enum β€” yes the header lives at ./include/net, and it's got an enum situation going on in there πŸ‘€

then the whole friend group, in the order the page says it, no skipping, iykyk:

the little endian-to-big endian siblings are all up in there too β€” ieee802154_be64_to_le64(9), ieee802154_le16_to_be16(9), ieee802154_be16_to_le16(9) β€” so if 64 bits is too much commitment, she's got smaller cousins πŸ“


and that's the whole page bestie, we ate and left no crumbs 🍽️✨

sign-off time πŸŽ€ β€” this one came out of ./include/net and it's dated October 2026, so yeah, future-dated manual page, iconic behavior honestly πŸ’€πŸ‘‘

πŸ“¦ where this page comes from