ieee802154_le64_to_be64(9)
π 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 arevoid *(andconst 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:
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_be64_to_le64(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)
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
- 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