tb_tunnel_is_active(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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