pipapo_step_after_end(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pipapo_step_after_end β€” Kernel API Manual ✨

okay bestie, buckle up, because today we're reading pipapo_step_after_end(9) from the Kernel API Manual, and honestly? she's a little function with a big job πŸŽ€


🌸 NAME 🌸

pipapo_step_after_end β€” the vibe check that asks: does this mask overshoot the end of the range, given the step? πŸ’–


✨ SYNOPSIS ✨

bool pipapo_step_after_end (const u8 *base , const u8 *end , int step ,
int len );

like, that's the whole signature, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • base β€” the mask we are expanding. she's the main character here πŸ‘‘
  • end β€” end of range. the boundary. the limit. the "you shall not pass" 🚧
  • step β€” the step bit for the given expansion step, and it's the highest bit to be set, okay, that detail matters πŸ”₯
  • len β€” total length of mask space (set and unset bits), in bytes. yes, bytes, not bits, don't come for me πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

so basically she's a convenience function for mask expansion ✨ that's it, that's the description, she's short and iconic and she knows it πŸ’…


🌈 RETURN 🌈

  • true β€” if the mask exceeds the range when you set the step bits 😭 (the overshoot happened, bestie)
  • false β€” otherwise πŸ’– (we're fine, we're so fine)

πŸŽ€ SEE ALSO πŸŽ€

the whole friend group, fr fr β€” go read the kernel file ./net/netfilter/nft_set_pipapo.c Theory of Operation(9), plus: pipapo_refill(9), pipapo_get_slow(9), pipapo_get(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_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) 🌟

like, that's 45 entries, I counted, you're welcome πŸ’€


and that's the page!! source lives in ./net/netfilter, dated October 2026 β€” mwah, slay, go touch some pipapo πŸŒΈπŸ’…πŸ¦‹

πŸ“¦ where this page comes from