nft_pipapo_avx2_lookup_8b_1(9)
π nft_pipapo_avx2_lookup_8b_1 β Kernel API Manual β¨
okay so bestie, welcome to the nft_pipapo_avx2_lookup_8b_1(9) page, straight out of the Kernel API Manual π this is the AVX2-based lookup for one eight-bit group and honestly? she's iconic for it π
πΈ NAME πΈ
nft_pipapo_avx2_lookup_8b_1 β AVX2-based lookup for one eight-bit group π¦
β¨ SYNOPSIS β¨
int nft_pipapo_avx2_lookup_8b_1 (unsigned long *map , unsigned long
*fill , const struct nft_pipapo_field *f , int offset , const u8 *pkt ,
bool first , bool last );
π ARGUMENTS π
mapβ previous match result, used as the initial bitmap. it's giving "we remember what happened last time" energy πfillβ the destination bitmap that gets filled with the current match result. this one's the main character of the output π«Άfβ the field, containing lookup and mapping tables. all the tables live here bestie πoffsetβ ignore buckets before the given index, no bits are filled there. like, we simply do not look at those πpktβ packet data, pointer to input nftables register. the actual vibes we're checking πfirstβ if this is the first field, don't source previous result. no borrowing from the past, periodt βlastβ last field: stop at the first match and return bit index. first match wins and we're out π
π DESCRIPTION π
See nft_pipapo_avx2_lookup_4b_2. that's the lore, go read it iykyk π
This is used for 8-bit fields (i.e. protocol numbers). yes, like protocol numbers β that's the whole assignment π₯
β RETURN β
-1on no match π- rule index of match if the
lastflag is set π - otherwise, the first long word index to be checked next (i.e. first filled word) β that's your next stop, bestie π
π SEE ALSO π
- Kernel file
./net/netfilter/nft_set_pipapo_avx2.c nft_pipapo_avx2_prepare(9),nft_pipapo_avx2_fill(9),nft_pipapo_avx2_refill(9),nft_pipapo_avx2_lookup_4b_2(9),nft_pipapo_avx2_lookup_4b_4(9),nft_pipapo_avx2_lookup_4b_8(9),nft_pipapo_avx2_lookup_4b_12(9),nft_pipapo_avx2_lookup_4b_32(9),nft_pipapo_avx2_lookup_8b_2(9),nft_pipapo_avx2_lookup_8b_4(9),nft_pipapo_avx2_lookup_8b_6(9),nft_pipapo_avx2_lookup_8b_16(9),nft_pipapo_avx2_lookup_slow(9),nft_pipapo_avx2_estimate(9),pipapo_resmap_init_avx2(9),pipapo_get_avx2(9),nft_pipapo_avx2_lookup(9)
and that's the whole page bestie, no cap ππ this came from ./net/netfilter, dated October 2026, and it's nft_pipapo_avx2_lookup_8b_1(9) β slay, go read the source, periodt π§ββοΈπΈ
π¦ 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