PROBE::SOCKET.SEND(3stap)

πŸ’– PROBE::SOCKET.SEND β€” socket tapset, bestie edition πŸ’–

okay so this is a page from the SystemTap Tapset Reference (section 3stap), and it's literally all about the socket.sendmsg probe. sit with me, we're gonna slay this 🫢


✨ NAME ✨

probe::socket.sendmsg β€” a message is currently being sent on a socket. that's the whole vibe. πŸ’Œ


πŸŽ€ SYNOPSIS πŸŽ€

probe socket.sendmsg {}

yes bestie, that's it, that's the whole thing. no args, no fuss, just a probe hanging out waiting for a message to go out. πŸ’…


🌸 VALUES 🌸

these are the local variables you get to play with inside the probe, and ngl they're kind of iconic:

  • protocol β€” the protocol value. what kind of protocol are we talking here, bestie πŸ‘€
  • state β€” the socket state value. the mood of the socket, fr fr.
  • type β€” the socket type value.
  • name β€” the name of this probe. hi, it's me πŸ™ˆ
  • flags β€” the socket flags value.
  • size β€” the message size in bytes. how chunky is the message, exactly πŸ“
  • family β€” the protocol family value.

πŸ¦‹ CONTEXT πŸ¦‹

the context is: the message sender. the one doing the sending. the main character of this moment, honestly πŸ‘‘


πŸ”₯ DESCRIPTION πŸ”₯

so this probe fires at the beginning of sending a message on a socket, and it does that via the sock_sendmsg function. that's the whole story β€” beginning of the send, right there. no cap. ✨


🌈 SEE ALSO 🌈

  • tapset::socket(3stap) β€” go read this one too, bestie, it's the whole socket tapset family πŸ’œ

and that's the page!! πŸŽ‰ sending you so much love, go forth and probe responsibly. this was the SystemTap Tapset Reference, version Ver, dated September 2026 β€” catch you in the next one, mwah πŸ’‹πŸŒΈπŸ’–

πŸ“¦ where this page comes from