STRUCT NFT_OBJECT_TYPE(9)
πΈ NAME πΈ
okay so bestie, this is the struct nft_object_type(9) page from the Kernel API Manual, and the name is literally stateful object type. Thatβs the whole NAME vibe: struct nft_object_type β stateful object type. Periodt. π
π¦ SYNOPSIS π¦
Hereβs the struct definition, exact tokens and all β read it like a recipe for object-type realness:
struct nft_object_type {
const struct nft_object_ops *(*select_ops)(const struct nft_ctx *, const struct nlattr * const tb[]);
const struct nft_object_ops *ops;
struct list_head list;
u32 type;
unsigned int maxattr;
u8 family;
struct module *owner;
const struct nla_policy *policy;
};
π Members π
Every member, no skips, because we donβt do missing-field energy here:
select_opsβ the function to selectnft_object_ops; itβs the picker, the selector, the main character of ops selection. β¨opsβ the default ops, used when noselect_opsfunctions is present.listβ a list node in the list of object types.typeβ stateful object numeric type.maxattrβ maximum netlink attribute.familyβ address family for AF-specific object types.ownerβ module owner.policyβ netlink attribute policy.
π SEE ALSO π
Kernel file: ./include/net/netfilter/nf_tables.h. And the whole friend group is here, no cap:
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_ops(9)struct nft_flowtable(9)struct nft_traceinfo(9)struct nft_trans(9)struct nft_trans_hook(9)struct nft_trans_binding(9)
Source/version: ./include/net/netfilter Β· date: October 2026 Β· page: struct nft_object_type(9) β bye bestie, go read the kernel π«Άβ¨
π¦ 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