ieee80211_has_a4(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ieee80211_has_a4(9) πŸ’–

okay so this is a page from the Kernel API Manual, and bestie, it's a tiny little function with a very long friend list. let's get into it ✨


🌸 NAME 🌸

ieee80211_has_a4 β€” check if IEEE80211_FCTL_TODS and IEEE80211_FCTL_FROMDS are set

like, that's the whole job. it peeks at two bits and tells you what's up. icon behavior, honestly.


πŸ¦‹ SYNOPSIS πŸ¦‹

bool ieee80211_has_a4 (__le16 fc );

yep. one argument. returns a bool. no drama, no cap πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • fc β€” the frame control bytes, in little-endian byteorder. the way that endianness matters here… don't @ me, just pass it correctly fr fr πŸ™ˆ

⭐ RETURN ⭐

it tells you whether or not it's a 4-address frame β€” which happens when from-DS and to-DS are both set. that's the vibe check: two bits on, four addresses, main character energy πŸ‘‘


🌈 SEE ALSO 🌈

okay this is the part where the page just dumps its entire contact list on you and honestly? respect. the kernel file is ./include/linux/ieee80211.h, and here is literally everyone:

ngl that list is a lot, but every single one of them is a real one, so go read them if you're curious 🫢

and that's the whole page, bestie! πŸ’œ this one lives in ./include/linux, it's dated October 2026, and yes β€” it signs off as ieee80211_has_a4(9), always and forever πŸŽ€βœ¨πŸ’…

πŸ“¦ where this page comes from