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β takesoptnameand 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 forsetsockopt. 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'stcp.setsockopt, bestie, we been knew.) π·οΈoptnameβ the TCP socket options themselves, likeTCP_NODELAY,TCP_MAXSEG, etc. etc. the classics. π (theetcis 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
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms