STRUCT NFT_FLOWTABLE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the Kernel API Manual page for struct nft_flowtable(9) β€” literally the nf_tables flow table. it's giving kernel-internals main character energy, and we're gonna get through every single member together, no cap. 🫢✨


🌸 SYNOPSIS 🌸

struct nft_flowtable {
    struct list_head                list;
    struct nft_table                *table;
    char *name;
    int hooknum;
    int ops_len;
    u32 genmask:2;
    u32 use;
    u64 handle;
    struct list_head                hook_list;
    struct nf_flowtable             data;
};

πŸŽ€ Members πŸŽ€

  • list β€” this is the flow table's list node, lowkey just chillin' in the table list. πŸ’…
  • table β€” the table that this flow table is contained in. yes, it knows its home. 🏠
  • name β€” the name of this flow table, bestie. iconic label behavior. ✨
  • hooknum β€” the hook number. keeping it numeric and cute. πŸ”’
  • ops_len β€” the number of hooks in the array. not me counting hooks, but yes. πŸŽ€
  • genmask β€” the generation mask. very β€œbehind the scenes but essential” of it. πŸ¦‹
  • use β€” the number of references to this flow table. it's popular, fr fr. πŸ’–
  • handle β€” a unique object handle. one of a kind, periodt. πŸ‘‘
  • hook_list β€” the hook list for hooks per net_device in flowtables. okay multitasking queen. 🌈
  • data β€” the rhashtable and garbage collector. doing the glamorous cleanup work behind the scenes. πŸ§šπŸ’œ

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/net/netfilter/nf_tables.h β€” go read it, bestie, it's literally right there. and then the whole squad: 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_traceinfo(9), struct nft_trans(9), struct nft_trans_hook(9), struct nft_trans_binding(9).


and that's the vibe check, bestie 🫢 this one came from ./include/net/netfilter, dated October 2026, and it's literally the struct nft_flowtable(9) moment. slay, no notes. πŸ’…βœ¨

πŸ“¦ where this page comes from