PROBE::TCPMIB.PASS(3stap)

πŸ’– PROBE::TCPMIB.PASSIVEOPENS πŸ’–

okay bestie, welcome to the 3stap manual β€” the SNMP Information Tapset chapter of the SystemTap universe, and today's main character is probe::tcpmib.PassiveOpens. she's giving "quietly counting sockets behind the scenes" energy and honestly? iconic. ✨


🌸 NAME 🌸

probe::tcpmib.PassiveOpens β€” count the passive creation of a socket πŸ’…

like, it literally just tallies up sockets that got born passively. no drama, just numbers. πŸŽ€


✨ SYNOPSIS ✨

probe tcpmib.PassiveOpens {}

that's it. that's the whole probe. no args, no fuss, just vibes. πŸ¦‹


πŸ“ VALUES πŸ“

so when this probe fires, here's what you get handed to you:

  • op β€” the value that's gonna get added to the counter (and the default value of it is 1, so yes, every hit is a +1 moment 🫢)
  • sk β€” a pointer to the struct sock that's being acted on. she's the one we're talking about, periodt. πŸ‘‘

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so here's the tea β˜• β€” the packet pointed to by skb gets filtered by the function tcpmib_filter_key. if the packet passes the filter, it gets counted in the global PassiveOpens. and that global? yeah, it's the equivalent of SNMP's MIB TCP_MIB_PASSIVEOPENS. so if you know SNMP, you already know her. iykyk πŸ’€βœ¨

tl;dr: filter runs, packet passes, counter goes up. no cap.


🌈 SEE ALSO 🌈

go read the tapset page too, bestie, she's the whole squad this probe rolls with πŸ’œ


and that's a wrap on this one!! this page came straight out of the SystemTap Tapset Reference, and it's dated September 2026. mwah, go count some sockets, you absolute legend πŸ§šπŸ’–

πŸ“¦ where this page comes from