tcf_exts_exec(9)
β¨ NAME β¨
tcf_exts_exec β execute tc filter extensions π
Okay bestie, this is tcf_exts_exec(9) from the Kernel API Manual, and it's lowkey the little executor for tc filter extensions. No cap.
β¨ SYNOPSIS β¨
int tcf_exts_exec (struct sk_buff *skb , struct tcf_exts *exts , struct
tcf_result *res );
πΈ ARGUMENTS πΈ
skbβ socket buffer. that's the packet vibe.extsβ tc filter extensions handle. your extensions go here.resβ desired result. what you're hoping comes out.
π¦ DESCRIPTION π¦
Okay so tcf_exts_exec executes all configured extensions. literally all of them, bestie.
It returns TC_ACT_OK on a normal execution, a negative number if the filter must be considered unmatched, or a positive action code (TC_ACT_*) which must be returned to the underlying layer. that last bit is important β don't swallow it, return it upward. periodt.
no cap: the return value is giving "here's what happens next," so pay attention to the sign and the action code.
π SEE ALSO π
- Kernel file
./include/net/pkt_cls.h tcf_exts_has_actions(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)
made with π in ./include/net, October 2026 β tcf_exts_exec(9) says slay and read the refs π«Ά
π¦ 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