tb_tunnel_r...le_bandwidth(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tb_tunnel_r...le_bandwidth(9) β€” Kernel API Manual, but make it make sense

okay so real talk, this is a page from the Kernel API Manual and the star of the show is tb_tunnel_reclaim_available_bandwidth. yes the title got squished to tb_tunnel_r...le_bandwidth(9) and no, that's not a typo, that's just how the man page header rolls. we move. 🫢


✨ NAME ✨

tb_tunnel_reclaim_available_bandwidth β€” Reclaim available bandwidth

like, literally the whole personality is in the name bestie. it reclaims available bandwidth. that's the vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

void tb_tunnel_reclaim_available_bandwidth (struct tb_tunnel *tunnel ,
int *available_up , int *available_down );

it returns void β€” meaning it hands you nothing back directly, it just does the thing and edits your variables in place. sneaky but iconic. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • tunnel β€” the tunnel that's out here reclaiming available bandwidth. main character energy, honestly. πŸ”₯
  • available_up β€” available upstream bandwidth, measured in Mb/s. yes, megabits per second, keep up. ⭐
  • available_down β€” available downstream bandwidth, also in Mb/s. matching set, slay. πŸ’œ

πŸ’– DESCRIPTION πŸ’–

so what actually happens? it reclaims bandwidth from available_up and available_down and updates the variables accordingly β€” like, for example, it decreases both of them according to what was reclaimed by the tunnel. the way it just... adjusts your numbers for you. 😭

and if nothing was reclaimed? the values are kept as is. no notes, no changes, no drama. the numbers stay exactly where they were. periodt. ✨

ngl this is the "updates in place" kind of function, so if you were expecting a return value, bestie... there isn't one. watch your pointers. πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, in order, no cap β€” Kernel file ./drivers/thunderbolt/tunnel.c, plus:

go read them all, iykyk. 🌈


okay and finally, the credits moment because we respect the source: this beauty lives under ./drivers/thunderbolt, dated October 2026, and the manual name is tb_tunnel_r...le_bandwidth(9) πŸ’€ β€” that's a wrap, mwah, bye bestie! πŸ“πŸ§š

πŸ“¦ where this page comes from