ieee802154_get_fc_from_skb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ieee802154_get_fc_from_skb ✨

okay bestie, quick vibe check: this is a page out of the Kernel API Manual, and it's about pulling one specific little field out of a packet. lowkey iconic, highkey niche. let's get into it πŸ’…


🌸 NAME 🌸

ieee802154_get_fc_from_skb β€” literally just: get the frame control field out of an skb. that's the whole job. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

__le16 ieee802154_get_fc_from_skb (const struct sk_buff *skb );

so it hands you back a __le16, and it takes exactly one thing: a const struct sk_buff *. simple. clean. we stan a one-argument function 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • skb β€” the skb where the frame control field will be get from ✨ yeah, "will be get from" β€” the grammar is giving what it's giving, but the meaning is crystal: this is the packet you're grabbing the frame control field out of. that's it, that's the argument.

πŸ‘‘ SEE ALSO πŸ‘‘

if you're the kind of girl who reads the whole header file (respect, honestly), this one lives in Kernel file ./include/net/mac802154.h and it keeps company with a whole ensemble cast:

like, that's the whole friend group right there. endianness besties, pan-id besties, hardware-lifecycle besties β€” everybody's invited πŸ’–


fr fr tho: every single cross-reference above is worth a look if you're actually doing 802.15.4 work. iykyk 🌈

and that's the whole page, bestie β€” no bugs, no warnings, no exit statuses to worry about, we love a low-drama function ✨

πŸŽ€ cute little sign-off time πŸŽ€ β€” this lil beauty comes from ./include/net, dated October 2026, and it's filed under ieee802154_get_fc_from_skb(9) in the Kernel API Manual. slay, go read some more manpages, mwah πŸ’œπŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from