ip_vs_rht_walk_buckets(9)
π ip_vs_rht_walk_buckets π
okay so this one is from the Kernel API Manual bestie, and it's literally the function that walks all the buckets. yes, all of them. every single one. no cap. π¦
β¨ NAME β¨
ip_vs_rht_walk_buckets β the walk-all-buckets girlie π
β¨ SYNOPSIS β¨
ip_vs_rht_walk_buckets (table , head );
like that's it. that's the whole call. two args, go off π
β¨ ARGUMENTS β¨
tableβstruct ip_vs_rht __rcu *tableβ the table itself, bestie. she's an__rcupointer and yes the RCU annotation matters, do not come for me πheadβ bucket address, used as cursor,struct hlist_bl_head *varβ this one is your lil cursor, it holds the bucket address as you scoot along. main character of the loop, honestly π
πΈ DESCRIPTION πΈ
so the vibe check here is: use this one if others cannot add, delete, or move entries. that's the whole condition. if other people are out here mutating stuff, this walk is not the moment β periodt. π«Ά
π¦ SEE ALSO π¦
the whole friend group, gathered for you:
- Kernel file
./include/net/ip_vs.h ip_vs_rht_for_each_table(9)ip_vs_rht_for_each_table_rcu(9)ip_vs_rht_for_each_bucket(9)ip_vs_rht_for_bucket_retry(9)DECLARE_IP_VS_RHT_WALK_BUCKETS_RCU(9)ip_vs_rht_walk_buckets_rcu(9)DECLARE_IP_VS_RHT_WALK_BUCKET_RCU(9)ip_vs_rht_walk_bucket_rcu(9)DECLARE_IP_VS_RHT_WALK_BUCKETS_SAFE_RCU(9)ip_vs_rht_walk_buckets_safe_rcu(9)DECLARE_IP_VS_RHT_WALK_BUCKETS(9)
π reminder queen: this walk assumes nobody else is adding, deleting, or moving entries. that's not a suggestion, that's the whole reason this function exists. respect the boundaries or else π
and that's the page!! mwah π this lil gem lives in ./include/net, dated October 2026, and it's page ip_vs_rht_walk_buckets(9) β catch you on the next manpage, bestie πβ
π¦ 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