tcf_exts_exec(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 πŸ‘‘


made with πŸ’– in ./include/net, October 2026 β€” tcf_exts_exec(9) says slay and read the refs 🫢

πŸ“¦ where this page comes from