STRUCT XT_ACTION_PARAM(9)
okay bestie, welcome to the Kernel API Manual page for struct xt_action_param(9) β yes, the manual name is literally Kernel API Manual, and this is the struct's whole moment. it's giving "parameters for matches/targets" energy, and we're gonna read every single line together. no skipping, no cap. π
β¨ NAME β¨
struct xt_action_param β parameters for matches/targets. that's the name, that's the vibe, periodt. π
π¦ SYNOPSIS π¦
struct xt_action_param {
union {
const struct xt_match *match;
const struct xt_target *target;
};
union {
const void *matchinfo, *targinfo;
};
const struct nf_hook_state *state;
unsigned int thoff;
u16 fragoff;
bool hotdrop;
};
πΈ Members πΈ
{unnamed_union}β anonymous. it's an unnamed union, main character energy but no name bestie. πmatchβ the match extension. the matchy one.targetβ the target extension. the target-y one.{unnamed_union}β anonymous, again. another unnamed union, living its anonymous truth. π«Άmatchinfoβ per-match data. the data that belongs to the match.targinfoβ per-target data. the data that belongs to the target.stateβ pointer to hook state this packet came from. it's a pointer to the hook state this packet came from, fr fr.thoffβ position of transport header relative toskb->data. that's the offset, no cap.fragoffβ packet is a fragment, this is the data offset. so if it's a fragment, this is the data offset.hotdropβ drop packet if we had inspection problems. yes bestie, that's the bool for "we had inspection problems, drop it." π
π Description π
Fields written to by extensions:
...and that's literally the description on the page, bestie. it does not list them out. it's giving mystery, not a full bullet list. π
π SEE ALSO π
- Kernel file
./include/linux/netfilter/x_tables.hstructxt_mtchk_param(9),struct xt_mtdtor_param(9),struct xt_tgchk_param(9),var xt_recseq(9),xt_write_recseq_begin(9),xt_write_recseq_end(9)
xoxo, your kernel bestie π
β this page is from Kernel API Manual, page struct xt_action_param(9), source path ./include/linux/netfilter, dated October 2026. slay and stay iconic. π
π¦ 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