STRUCT XT_ACTION_PARAM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 to skb->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 πŸ‘‘


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