PROBE::TCP.SETSOCK(3stap)

✨ PROBE::TCP.SETSOCKOPT πŸ’…

okay bestie, welcome to the PROBE::TCP.SETSOCK(3stap) page β€” this one lives in the Networking Tapset and it's literally the moment a socket gets told what it's allowed to do. no cap.


πŸŽ€ NAME πŸŽ€

probe::tcp.setsockopt β€” it's the call to setsockopt, fr fr. like, whenever somebody goes "hey socket, here's a lil option for u", this probe is watching. πŸ‘€


πŸ¦‹ SYNOPSIS πŸ¦‹

probe tcp.setsockopt {}

that's it. that's the whole vibe. no arguments, no drama, just the probe sitting there being iconic. ✨


🌸 VALUES 🌸

these are the variables you get to peek at inside the probe. the way each one is right there for you? obsessed. 🫢

  • optstr β€” takes optname and resolves it into a human-readable format. so instead of a cryptic number you get actual words. we love a translation era. πŸ’–
  • optlen β€” used to access values for setsockopt. it's how you get at the actual data, iykyk. πŸ“
  • family β€” the IP address family. yes, like the whole address-family situation. 🏠
  • level β€” the level at which the socket options are gonna get manipulated. the vibe tier of the option, basically. 🎚️
  • name β€” the name of this probe. it's just... the name. of the probe. (it's tcp.setsockopt, bestie, we been knew.) 🏷️
  • optname β€” the TCP socket options themselves, like TCP_NODELAY, TCP_MAXSEG, etc. etc. the classics. πŸ‘‘ (the etc is doing so much heavy lifting here and honestly? same.)
  • sock β€” the network socket. the actual star of the show. the main character. 🌟

🧚 CONTEXT 🧚

this probe fires in the context of the process which calls setsockopt. so whoever's out there setting socket options β€” that's whose world we're living in. 🫑


🌈 SEE ALSO 🌈

  • tapset::tcp(3stap) β€” go read this too, bestie, it's the whole tcp tapset and it's giving reference material. πŸ’œ

πŸ’€ reminder: every flag, value, and name up there is doing exactly what the original says and nothing more. don't be out here inventing new behaviour, that's not the move. πŸ™ˆ

and that's a wrap on the SystemTap Tapset Reference situation, dated September 2026 β€” okurrr, go forth and probe responsibly, mwah πŸ’…πŸŽ€πŸ¦‹πŸŒΈβœ¨

πŸ“¦ where this page comes from