STRUCT NFT_EXPR_TYPE(9)
π NAME π
okay so this is the Kernel API Manual page for struct nft_expr_type(9), and it's literally the nf_tables expression type β the blueprint vibe for expression types, iykyk. π¦
β¨ SYNOPSIS β¨
Here's the whole struct, bestie β every field exactly as it appears:
struct nft_expr_type {
const struct nft_expr_ops *(*select_ops)(const struct nft_ctx
*, const struct nlattr * const tb[]);
void (*release_ops)(const struct nft_expr_ops *ops);
const struct nft_expr_ops *ops;
const struct nft_expr_ops *inner_ops;
struct list_head list;
const char *name;
struct module *owner;
const struct nla_policy *policy;
unsigned int maxattr;
u8 family;
u8 flags;
};
π Members π
Now the member-by-member rundown, no skips, periodt:
select_opsβ function to selectnft_expr_opsπ―release_opsβ releasenft_expr_opsopsβ default ops, used when noselect_opsfunction is presentinner_opsβ inner ops, used for inner packet operationlistβ used internallynameβ Identifierownerβ module referencepolicyβ netlink attribute policymaxattrβ highest netlink attribute numberfamilyβ address family for AF-specific typesflagsβ expression type flags
π₯ SEE ALSO π₯
Kernel file ./include/net/netfilter/nf_tables.h β go read it, bestie. And the whole crew:
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_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(9)struct nft_trans_hook(9)struct nft_trans_binding(9)
That's the whole page, bestie. Source/version vibes: ./include/net/netfilter; date: October 2026 β struct nft_expr_type(9) out. π
β¨
π¦ 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