strset_include(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– strset_include(9) πŸ’–

okay so bestie, welcome to the strset_include page from the Kernel API Manual β€” yes, that manual, the kernel one, and yes we're gonna read it together 🫢 this one's short and sweet, like a lil snack between the big scary pages.

✨ NAME ✨

strset_include β€” test if a string set should be included in reply πŸ‘‘

like literally that's the whole job. vibe check for string sets. does this one get to be in the reply or not, that's the question.

✨ SYNOPSIS ✨

bool strset_include (const struct strset_req_info *info , const struct strset_reply_data *data , u32 id );

not me copying the signature exactly so you can't mess it up πŸ’… returns a bool, takes three things, that's it, that's the whole function.

✨ ARGUMENTS ✨

  • info β€” the parsed client request 🌸 like the request already got chewed up and digested into a nice struct for you
  • data β€” pointer to the request data structure πŸŽ€ a pointer, bestie, we love a pointer
  • id β€” the id of the string set you're checking, and it's one of the ETH_SS_* constants ⭐ those constants, iykyk, don't just make up a number fr fr

✨ SEE ALSO ✨

  • Kernel file ./net/ethtool/strset.c πŸ¦‹ go read the source if you want the full lore, it's right there, no cap

and that's the page, bestie!! short king energy πŸ‘‘ this one came out of the ./net/ethtool corner of the kernel, dated October 2026, and it's filed under strset_include(9) in the Kernel API Manual πŸ’œ go forth and include those string sets (or don't, that's kinda the whole point of the function 😭) 🌈✨

πŸ“¦ where this page comes from