strset_include(9)
π 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 youdataβ pointer to the request data structure π a pointer, bestie, we love a pointeridβ the id of the string set you're checking, and it's one of theETH_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
- 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