STRUCT NFT_OBJECT_HASH_KEY(9)
π struct nft_object_hash_key(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this one is a tiny little struct page and honestly? it's giving "small but mighty." let's get into it π«Ά
πΈ NAME πΈ
struct nft_object_hash_key β the key you use to look up an nft_object, periodt π
β¨ SYNOPSIS β¨
struct nft_object_hash_key {
const char *name;
const struct nft_table *table;
};
like, that's the whole thing. two fields. no cap. π
π¦ Members π¦
nameβ the name of the stateful object you're trying to look up π literally just the name string, that's ittableβ the table that the object belongs to π so the kernel knows where to go looking, iykyk
π SEE ALSO π
the kernel file ./include/net/netfilter/nf_tables.h says hi π and also all of these iconic siblings:
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(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)
fr fr go read them all, they're a whole friend group π
okay that's the page!! mwah π this came from ./include/net/netfilter, dated October 2026, and it's filed under struct nft_object_hash_key(9) β bestie you're all caught up, slay ππ
π¦ 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