STRUCT NFT_PIPAPO_MATCH(9)
π struct nft_pipapo_match(9) π
okay so bestie, this page is straight out of the Kernel API Manual, and it's literally all about struct nft_pipapo_match β the data used for lookup and matching. no cap, that's the whole vibe β¨
πΈ NAME πΈ
struct nft_pipapo_match β data used for lookup and matching π
π SYNOPSIS π
here's the whole shape, bestie β exact characters, no funny business:
struct nft_pipapo_match {
u8 field_count;
enum nft_pipapo_clone_state state:8;
unsigned int bsize_max;
struct nft_pipapo_scratch * __percpu *scratch;
struct rcu_head rcu;
struct nft_pipapo_field f[];
};
π§ Members π§
field_count(u8) β the amount of fields in the set. literally the field count, she's booked and busy β¨state(enum nft_pipapo_clone_state state:8) β the add/delete state; it's used from the control plane. control-plane main character energy πbsize_max(unsigned int) β the maximum lookup table bucket size of all fields, measured in longs. yes, longs, not vibes π«Άscratch(struct nft_pipapo_scratch * __percpu *scratch) β preallocated per-CPU maps for partial matching results. so prepared, so slay πrcu(struct rcu_head rcu) β matching data is swapped on commits. she's doing the swap πf(struct nft_pipapo_field f[]) β the fields, with their lookup and mapping tables. iconic little array π
π¦ SEE ALSO π¦
the whole squad is right here:
- kernel file
./net/netfilter/nft_set_pipapo.h union nft_pipapo_map_bucket(9)struct nft_pipapo_field(9)struct nft_pipapo_scratch(9)struct nft_pipapo(9)struct nft_pipapo_elem(9)pipapo_and_field_buckets_4bit(9)pipapo_and_field_buckets_8bit(9)pipapo_estimate_size(9)pipapo_resmap_init(9)
xoxo, signing off from ./net/netfilter with the October 2026 edition of struct nft_pipapo_match(9) π
π«Ά
π¦ 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