PROBE::TCP.DISCONN(3stap)

πŸ’« NAME πŸ’«

probe::tcp.disconnect β€” it's giving TCP socket disconnection, bestie πŸ’”πŸ¦‹

So this page lives in the Networking Tapset of the SystemTap Tapset Reference, and it's all about the moment a TCP socket says "ok bye" πŸ‘‹


✨ SYNOPSIS ✨

probe tcp.disconnect {}

That's it. That's the whole thing. No args, no flags, just vibes and a probe point. πŸŽ€


🌸 VALUES 🌸

Every one of these is available to you inside the probe handler. Collect them all like they're little Pokémon, except they're variables 🧚

  • sport β€” the TCP source port. Where it came from, basically πŸ’…
  • daddr β€” a string representing the destination IP address πŸ—ΊοΈ
  • sock β€” the network socket itself. The main character, lowkey πŸ‘‘
  • family β€” the IP address family 🏠
  • flags β€” the TCP flags (e.g. FIN, etc) 🚩 not me being obsessed with flag season
  • name β€” the name of this probe. Yes, it knows its own name. Self-aware icon πŸ’€
  • dport β€” the TCP destination port 🎯
  • saddr β€” a string representing the source IP address 🧭
Note the daddr and saddr ones? They're strings, not raw addresses. Important detail, no cap 🫢

πŸ¦‹ CONTEXT πŸ¦‹

The process which disconnects tcp 🌈

Like, whoever is doing the disconnecting β€” that's your context. That's whose energy you're picking up on πŸ’œ


🫢 SEE ALSO 🫢


okay bestie that's the whole page, you ate that πŸ’…βœ¨ this was the SystemTap Tapset Reference, and the version/date stamp on this one is September 2026 β€” periodt, go disconnect some sockets responsibly πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from