set_flags(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… set_flags(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual β€” this one's a tiny little helper function and honestly it's giving "small but mighty" ✨


🌸 NAME 🌸

set_flags β€” sets/unssets the specified flags, but only if they're passed in new_flags πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void set_flags (u32 *cur_flags , u32 new_flags , u32 flags );

like, that's the whole thing. short king energy πŸ‘‘


✨ ARGUMENTS ✨

  • cur_flags β€” a pointer to the current flags πŸ’– (yes, a pointer, so it can absolutely reach in and change them, periodt)
  • new_flags β€” the new incoming flags 🌈 the fresh batch, the newcomers, the vibe check
  • flags β€” the set of flags to set/unset 🌸 this is the little guest list of which flags get to be toggled

🫢 SEE ALSO 🫢

ngl the whole friend group here is very "firmware port mode type" coded β€” iykyk πŸ’€

and that's the page!! 🌟 this lil icon came to you from ./drivers/net/ethernet/chelsio... way back in October 2026 β€” mwah, go toggle some flags responsibly πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from