PROBE::TCP.RECVMSG(3stap)

πŸ’– probe::tcp.recvmsg πŸ’–

okay bestie, welcome to the 3stap girlies' club β€” this is a page from the SystemTap Tapset Reference, and today's main character is the probe that catches a TCP message right as it's being received. yes, we're literally standing in the doorway of the socket watching the bytes walk in. iconic behavior, no notes. ✨


🌸 NAME 🌸

probe::tcp.recvmsg β€” Receiving TCP message 🫢

like. the whole vibe is in the name. it receives. it's a TCP message. slay.


✨ SYNOPSIS ✨

probe tcp.recvmsg {}

that's it. that's the whole thing. no arguments, no fuss, just a probe hanging out waiting for a message to show up. lowkey the cleanest synopsis on the whole tapset. πŸ’…


πŸŽ€ VALUES πŸŽ€

these are the little goodies you get to peek at when this probe fires, bestie. read them all, they're all giving very specific information and we love that for us:

  • size β€” Number of bytes to be received. how many bytes are about to slide on in, fr fr.
  • daddr β€” A string representing the destination IP address. where the message is headed, in string form. πŸ’Œ
  • sport β€” TCP source port. the port it's coming from.
  • sock β€” Network socket. the actual socket object doing all the work. she's the one holding it down.
  • family β€” IP address family. like, which flavor of IP are we in? this is where you find out.
  • name β€” Name of this probe. yes girl, the probe knows her own name. self-aware queen. πŸ‘‘
  • saddr β€” A string representing the source IP address. where it came from, as a string. πŸ“¬
  • dport β€” TCP destination port. the port it's heading to.
not me listing eight values like it's a group chat roll call 😭 but you need all of them, bestie, don't skip a single one.

πŸ¦‹ CONTEXT πŸ¦‹

The process which receives a tcp message.

so like, the probe fires in the context of whichever process is on the receiving end of that TCP message. that's the whole context. short, sweet, and exactly the tea you needed. 🌈


πŸ’œ SEE ALSO πŸ’œ

  • tapset::tcp(3stap) β€” go read the big tcp tapset page too, it's the mothership and she ate. πŸ“

and that's the page, bestie!! 🌟 this was the SystemTap Tapset Reference, version vibes from September 2026, manual section 3stap β€” thank you for coming to my ted talk, go probe responsibly, mwah πŸ’–πŸŽ€πŸ§š

πŸ“¦ where this page comes from