tcf_exts_has_actions(9)
π tcf_exts_has_actions(9)
okay so bestie, welcome to the Kernel API Manual β yes, that manual, we're in the kernel now, buckle up π
β¨ NAME β¨
tcf_exts_has_actions β the little vibe check that tells you if at least one action is present π
πΈ SYNOPSIS πΈ
bool tcf_exts_has_actions (struct tcf_exts *exts );
π¦ ARGUMENTS π¦
extsβ the tc filter extensions handle, aka the main character of this whole function π«Ά it's astruct tcf_exts *and it's literally the only thing you gotta hand over.
β RETURN β
Returns true if at least one action is present. that's it, that's the whole answer, no cap πβ¨
π SEE ALSO π
- Kernel file
./include/net/pkt_cls.hβ go read it, it's giving source of truth π tcf_exts_exec(9)struct tcf_pkt_info(9)struct tcf_ematch(9)struct tcf_ematch_tree(9)struct tcf_ematch_ops(9)tcf_em_tree_match(9)
like, the whole ematch friend group honestly, they all show up together π
ngl this one is short and sweet β it just checks whether there's at least one action hanging out in your extensions. no side quests, no surprises π
and that's the page, bestie!! π written under ./include/net in the gorgeous month of October 2026, and if you ever need to find it again it's filed right under tcf_exts_has_actions(9) β¨ππ¦
π¦ 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