tb_tunnel_is_active(9)
β¨ tb_tunnel_is_active β¨
okay so bestie, welcome to the Kernel API Manual π
this little cutie lives in section 9 (that's the kernel API section, iykyk) and it's here to answer one very important question: is this tunnel fully activated or not? π
πΈ NAME πΈ
tb_tunnel_is_active β is tunnel fully activated π
π¦ SYNOPSIS π¦
bool tb_tunnel_is_active (const struct tb_tunnel *tunnel );
π ARGUMENTS π
tunnelβ the tunnel to check π like literally just hand over the tunnel and we'll vibe check it for you
β RETURN β
Returns true if the tunnel is fully activated. That's it, that's the answer β¨
π DESCRIPTION π
okay so here's the tea β β for DP tunnels, this function returns true only once the DPRX capabilities read has been issued successfully. So like, don't come for her before that happens, she's not ready yet π
For other tunnels though? She returns true pretty much once tb_tunnel_activate returns successfully. Easy peasy, no cap π
π«Ά SEE ALSO π«Ά
- Kernel file
./drivers/thunderbolt/tunnel.hβ go read it bestie, it's giving lore π enum tb_tunnel_state(9)struct tb_tunnel(9)enum tb_tunnel_event(9)
and that's the whole page, bestie!! π no notes, she ate and left no crumbs π
signing off from ./drivers/thunderbolt β this iconic little file was brought to you October 2026 vibes, page tb_tunnel_is_active(9), Kernel API Manual energy all the way π¦β¨π
π¦ 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