ieee802154_be64_to_le64(9)
π ieee802154_be64_to_le64 β bestie's guide π
Okay so this is a page from the Kernel API Manual, and honestly? It's a tiny little function that does exactly one thing, and it does it flawlessly. Let's get into it β¨
πΈ NAME πΈ
ieee802154_be64_to_le64 β the way this name literally tells you everything: it copies and convert be64 to le64. Big-endian in, little-endian out, no drama, no cap π«Ά
π¦ SYNOPSIS π¦
void ieee802154_be64_to_le64 (void *le64_dst , const void *be64_src );
That's it. That's the whole signature. Two void * pointers and a dream π Notice the const on the source, bestie β she's read-only and she knows it. Iconic.
π ARGUMENTS π
le64_dstβ the le64 destination pointer. This is where the little-endian goodness lands. She's the main character of this operation, respectfully.be64_srcβ the be64 source pointer. The big-endian original, sitting there allconstand untouchable. We love a boundary-setting icon π§
π₯ SEE ALSO π₯
Living in the kernel file ./include/net/mac802154.h, this function rolls with a whole squad β an enum and a bunch of friends β so here's the full guest list, no one gets left out π
- enum
ieee802154_hw_addr_filt_flags(9) - struct
ieee802154_hw_addr_filt(9) - struct
ieee802154_hw(9) - enum
ieee802154_hw_flags(9) ieee802154_get_fc_from_skb(9)ieee802154_skb_dst_pan(9)ieee802154_skb_src_pan(9)ieee802154_skb_is_intra_pan_addressing(9)ieee802154_le64_to_be64(9)ieee802154_le16_to_be16(9)ieee802154_be16_to_le16(9)ieee802154_alloc_hw(9)ieee802154_free_hw(9)ieee802154_register_hw(9)ieee802154_unregister_hw(9)ieee802154_rx_irqsafe(9)ieee802154_xmit_complete(9)ieee802154_xmit_error(9)ieee802154_xmit_hw_error(9)
Like, look at ieee802154_le64_to_be64(9) right there in the middle β that's her reverse-gender-swap counterpart, the other direction of the same vibe check π And ieee802154_le16_to_be16(9) and ieee802154_be16_to_le16(9) are the little 16-bit cousins. Family reunion fr fr π
Go read the whole ./include/net/mac802154.h header if you wanna see the full glow-up. It's giving lore, bestie π
Sign-off szn π«Ά β this lil page lives at ./include/net, dated October 2026, and it's the ieee802154_be64_to_le64(9) entry in the Kernel API Manual. Bye bestie, go convert some bytes π
β¨π
π¦ 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