service_range_foreach_match(9)
π service_range_foreach_match(9) π
okay so welcome to the Kernel API Manual, bestie β todayβs main character is service_range_foreach_match(9), and itβs literally here to help you iterate over a tipc service rbtree for each range match. no cap, thatβs the whole vibe. π¦
πΈ NAME πΈ
service_range_foreach_match β iterate over tipc service rbtree for each range match. itβs giving βloop cursor, but make it kernel API.β π
β¨ SYNOPSIS β¨
service_range_foreach_match (sr , sc , start , end );
π ARGUMENTS π
srβ the service range pointer as a loop cursor. this is your main-character cursor for the loop, periodt. π«Άscβ the pointer to tipc service which holds the service range rbtree. lowkey the home base for the whole search. πstartβ beginning of the search range (end >= start) for matching. yes, thatend >= startis doing a lot of work, so keep it in mind. βendβ end of the search range (end >= start) for matching. same caveat, bestie:end >= start, fr fr. π₯
π₯ SEE ALSO π₯
Kernel file ./net/tipc/name_table.c is the spot to peek at, plus these iconic references:
struct service_range(9)struct tipc_service(9)service_range_match_first(9)service_range_match_next(9)tipc_publ_create(9)tipc_service_create(9)tipc_service_remove_publ(9)tipc_service_subscribe(9)tipc_nametbl_lookup_anycast(9)tipc_nametbl_withdraw(9)tipc_nametbl_subscribe(9)tipc_nametbl_unsubscribe(9)tipc_service_delete(9)
this little icon came from the ./net/tipc source tree, dated October 2026, and itβs literally titled service_range_foreach_match(9) β slay, bye. π
π¦ 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