PROBE::UDP.RECVMSG(3stap)

πŸ’– PROBE::UDP.RECVMSG πŸ’–

okay bestie so this is a page from the SystemTap Tapset Reference (the Networking Tapset, to be exact), and it's about the probe::udp.recvmsg probe. it's filed under section 3stap, so like, tapset vibes only. πŸ¦‹


✨ NAME ✨

probe::udp.recvmsg β€” fires whenever a UDP message is received πŸŽ€

no cap, that's the whole job. every single time a UDP message shows up, this probe is like "not me being awake for this" and it goes off. πŸ’…


✨ SYNOPSIS ✨

probe udp.recvmsg {}

that's it, that's the whole signature. no arguments, no parameters, she takes nothing and she gives everything. 🫢


✨ VALUES ✨

so when this probe fires, it hands you a lil gift bag of values. here's every single one, don't skip a single one, i know you wouldn't:

  • dport β€” the UDP destination port πŸ’Œ
  • saddr β€” a string representing the source IP address 🌸
  • family β€” the IP address family (v4, v6, whatever she's serving) 🌈
  • size β€” the number of bytes received by the process, like literally how many bytes showed up πŸ“
  • sock β€” the network socket used by the process πŸ”Œ
  • name β€” the name of this probe, which is her whole identity ✨
  • daddr β€” a string representing the destination IP address 🎯
  • sport β€” the UDP source port πŸ’Œ
okay so quick note: saddr and daddr are strings, not numbers, so don't come for me when you try to do math on them. family is the IP address family. size is bytes, actual bytes, received by the process. 🫢

✨ CONTEXT ✨

the context is: the process which received a UDP message. that's who's on the other end of this vibe check. the probe runs in that process's context, bestie, so you know exactly whose tea this is. πŸ‘‘


✨ SEE ALSO ✨


okay that's the whole page!! every value accounted for, every section in order, nothing skipped, we ate and left no crumbs πŸ“

this was the SystemTap Tapset Reference, version Ver, dated September 2026. ily, go trace some packets, and remember: UDP doesn't do handshakes, she just sends. periodt. πŸ’…πŸ”₯πŸ‘‘
πŸ“¦ where this page comes from