STRUCT NFT_SET_ESTIMATE(9)
π struct nft_set_estimate(9) β the Kernel API Manual era π
okay so welcome to the group chat bestie, this is a page straight outta the Kernel API Manual and it's all about struct nft_set_estimate π β literally the receipts for how much memory a set is gonna eat and how fast it's gonna go. ngl it's a short one, we love a low-effort icon β¨
πΈ NAME πΈ
struct nft_set_estimate β estimation of memory and performance characteristics
like, it's giving "how much RAM is this vibe gonna cost me and is it gonna be fast" π
π¦ SYNOPSIS π¦
struct nft_set_estimate {
u64 size;
enum nft_set_class lookup;
enum nft_set_class space;
};
no cap, that's the whole struct. three members. main character energy in a tiny package π
π Members π
sizeβ the required memory, fr fr. this is the actual amount of memory needed. πlookupβ the lookup performance class. iykyk, it tells you how speedy the lookups are gonna be. βspaceβ the memory class. the vibe check on how much space this thing is taking up. π
π SEE ALSO π
it lives in the kernel file ./include/net/netfilter/nf_tables.h, and honestly the friend group is huge β here's literally every single one of them, bestie, I would never leave anyone out π«Ά
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_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(9)struct nft_trans_hook(9)struct nft_trans_binding(9)
bestie reminder: it's a struct page, so there's no exit status, no signals, no environment variables, no flags to memorize. just the three members above. we ate and left no crumbs πβ¨
mwah, that's a wrap! sending you off with a cute lil sign-off β this one's from ./include/net/netfilter, dated October 2026, and it's the struct nft_set_estimate(9) page. stay iconic, stay estimated ππ§
π¦ 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