pipapo_get(9)
π pipapo_get(9) β get matching element reference given key data
okay so bestie, welcome to pipapo_get, from the Kernel API Manual β¨ this one's a little function with main character energy, let's get into it π
πΈ NAME
pipapo_get β get matching element reference given key data. yes that's literally the whole job. icon behavior π
β¨ SYNOPSIS
struct nft_pipapo_elem * pipapo_get (const struct nft_pipapo_match *m ,
const u8 *data , u8 genmask , u64 tstamp );
look at her. four args, one return, zero drama π¦
π ARGUMENTS
mβ the storage containing the set elements. this is the closet we're rummaging in πdataβ key data to be matched against existing elements. the fit check, the vibe check, the whole thing β¨genmaskβ if set, check that element is active in given genmask. lowkey a liveness check fr π«Άtstampβ timestamp to check for expired elements. we're checking who's still valid and who's giving expired ππ
π¦ DESCRIPTION
okay so this is a dispatcher function β it either calls out the generic C implementation or, if it's available, the AVX2 one. so she's basically the group chat admin forwarding your message to whichever friend is best equipped to handle it πβ¨
π«Ά important note bestie: this helper is only called from the control plane, with either the RCU read lock or the transaction mutex held. like, that's the dress code. don't show up any other way π
π RETURN
pointer to struct nft_pipapo_elem on match, NULL otherwise. so like, you either get your element or you get nothing, and honestly? that's the whole dating scene ππ
β SEE ALSO
- Kernel file
./net/netfilter/nft_set_pipapo.c Theory of Operation(9)pipapo_refill(9)pipapo_get_slow(9)nft_pipapo_lookup(9)nft_pipapo_get(9)pipapo_realloc_mt(9)lt_calculate_size(9)pipapo_resize(9)pipapo_bucket_set(9)pipapo_lt_4b_to_8b(9)pipapo_lt_8b_to_4b(9)pipapo_lt_bits_adjust(9)pipapo_insert(9)pipapo_step_diff(9)pipapo_step_after_end(9)pipapo_base_sum(9)pipapo_expand(9)pipapo_map(9)pipapo_free_scratch(9)pipapo_realloc_scratch(9)pipapo_maybe_clone(9)nft_pipapo_insert(9)pipapo_clone(9)pipapo_rules_same_key(9)pipapo_unmap(9)pipapo_drop(9)pipapo_gc_scan(9)pipapo_gc_queue(9)pipapo_free_fields(9)pipapo_reclaim_match(9)nft_pipapo_commit(9)nft_pipapo_activate(9)nft_pipapo_deactivate(9)nft_pipapo_flush(9)pipapo_get_boundaries(9)pipapo_match_field(9)nft_pipapo_remove(9)nft_pipapo_do_walk(9)nft_pipapo_walk(9)nft_pipapo_privsize(9)nft_pipapo_estimate(9)nft_pipapo_init(9)nft_set_pipapo_match_destroy(9)nft_pipapo_destroy(9)nft_pipapo_gc_init(9)
that's the whole friend group right there, no cap π«Άπ₯
and that's the page!! brought to you from ./net/netfilter, dated October 2026 β mwah, love u, go read your kernel source ππ§ββοΈπ
π¦ 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