STRUCT NFT_TRANS(9)
π struct nft_trans(9) β Kernel API Manual
okay bestie, welcome to the struct nft_trans(9) page β¨ this is a kernel API manual page, and it's all about a nf_tables object update in transaction. yes that's the whole NAME section, no notes, she's concise π
β¨ SYNOPSIS β¨
struct nft_trans {
struct list_head list;
struct net *net;
struct nft_table *table;
int msg_type;
u32 seq;
u16 flags;
u8 report:1;
u8 put_net:1;
};
like, there she is π literally the whole struct, character for character, no cap.
πΈ Members πΈ
listβ used internally π«Ά that's it, that's the whole description, she's lowkey mysteriousnetβ astruct nettableβ thestruct nft_tablethat the object resides in πmsg_typeβ message typeseqβ the netlink sequence numberflagsβ modifiers to new requestreportβ notify via unicast netlink message π¨put_netβ net needs to be put
π Description π
so the way that this works is: this right here is the info that's common to all objects in the transaction π« and it must always be the first member of derived sub-types. like, not optional, not a vibe, it's a rule. periodt π
π¦ SEE ALSO π¦
Kernel file ./include/net/netfilter/nf_tables.h β and a whole friend group of siblings, iykyk:
struct nft_verdict(9)struct nft_regs(9)struct nft_ctx(9)struct nft_userdata(9)struct nft_set_elem(9)enum nft_iter_type(9)struct nft_set_desc(9)enum nft_set_class(9)struct nft_set_estimate(9)struct nft_expr(9)struct nft_set_ops(9)struct nft_set_type(9)struct nft_set(9)struct nft_set_binding(9)enum nft_set_extensions(9)struct nft_set_ext_type(9)struct nft_set_ext_tmpl(9)struct nft_set_ext(9)struct nft_expr_type(9)struct nft_expr_ops(9)struct nft_rule(9)struct nft_chain_validate_state(9)struct nft_chain(9)struct nft_chain_type(9)struct nft_base_chain(9)struct nft_table(9)struct nft_object_hash_key(9)struct nft_object(9)struct nft_object_type(9)struct nft_object_ops(9)struct nft_flowtable(9)struct nft_traceinfo(9)struct nft_trans_hook(9)struct nft_trans_binding(9)
okay that's the page!! π§ source is the kernel file ./include/net/netfilter, dated October 2026, and it's filed under struct nft_trans(9). slay, go read the kernel source bestie π
π
π¦ 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