PROBE::SOCKET.SEND(3stap)

✨ NAME ✨

probe::socket.sendmsg.return β€” the moment we come back from socket.sendmsg, bestie πŸ’– (it's a Socket Tapset page, iykyk)


πŸŽ€ SYNOPSIS πŸŽ€

probe socket.sendmsg.return {}

🌸 VALUES 🌸

okay so when this probe fires, it hands you a whole lil gift bag of variables. every single one of them, no gatekeeping 🫢

  • state β€” the socket state value. that's the vibe check on the socket itself.
  • protocol β€” the protocol value, just sitting there being a protocol.
  • name β€” name of this probe. yes, it's literally telling you its own name. main character energy fr fr πŸ‘‘
  • type β€” the socket type value.
  • success β€” was the send successful? 1 = yes, 0 = no. the moment of truth 😭
  • family β€” the protocol family value.
  • size β€” size of the message sent, in bytes. but if success = 0, this is the error code instead. sneaky lil shapeshifter πŸ’€
  • flags β€” the socket flags value.

πŸ¦‹ CONTEXT πŸ¦‹

The message sender. that's the one holding the mic 🎀


πŸ’… DESCRIPTION πŸ’…

It fires at the conclusion of sending a message on a socket, via the sock_sendmsg function. so like, the send already happened (or tried to, we don't judge) and now we're at the afterparty πŸŽ‰


🌈 SEE ALSO 🌈


that's the whole page, bestie, you ate it up πŸ’…βœ¨

this was the SystemTap Tapset Reference β€” September 2026 edition πŸŽ€ go forth and trace some sockets, ily πŸ«ΆπŸ’–

πŸ“¦ where this page comes from