tb_tunnel_activate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so this is tb_tunnel_activate (from the Kernel API Manual, bestie, we're in the kernel docs now πŸ’…) β€” it activates a tunnel. that's it. that's the whole vibe. it wakes the tunnel up and tells it to go be a tunnel πŸ¦‹


🌸 SYNOPSIS 🌸

int tb_tunnel_activate (struct tb_tunnel *tunnel );

like literally one function, one argument, returns an int, no cap ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • tunnel β€” the tunnel you want to activate. the main character. you hand it over and it gets activated 🫢

πŸ’– RETURN πŸ’–

so here's what you might get back, and yes you gotta check it:

  • 0 β€” on success πŸŽ‰ slay, the tunnel is activated, we love to see it
  • -EINPROGRESS β€” if the tunnel activation is still in progress. and before you panic, that's specifically for DP tunnels to complete the DPRX capabilities read πŸ‘€ so it's not a fail, it's a "girl give it a sec" 😭
  • Negative errno β€” another error occurred πŸ’€ something else went wrong, negative errno is your sign to go look
ngl if you get -EINPROGRESS don't just sit there assuming it worked β€” that's the "still loading" of the kernel world bestie, keep an eye on it πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group, all of them, in the kernel file ./drivers/thunderbolt/tunnel.c:


and that's the page bb πŸ’œ lived in ./drivers/thunderbolt, dropped October 2026, and we are obsessed with her 🌈✨ go activate ur tunnels responsibly 🧚

πŸ“¦ where this page comes from