PROBE::TCPMIB.ESTA(3stap)

πŸ’– probe::tcpmib.EstabResets β€” count the reset of a socket πŸ’–

okay bestie, welcome to the SNMP Information Tapset ✨ this one lives in section 3stap of the SystemTap Tapset Reference, and it's lowkey iconic.


🌸 NAME 🌸

probe::tcpmib.EstabResets β€” Count the reset of a socket πŸ’…

like, that's literally the whole job. it counts. it resets. it slays.


✨ SYNOPSIS ✨

probe tcpmib.EstabResets {}

no args, no drama, just vibes πŸŽ€


πŸ¦‹ VALUES πŸ¦‹

  • sk β€” a pointer to the struct sock being acted on 🧦 like, the actual socket in question, the main character of this whole situation
  • op β€” the value to be added to the counter, and its default value is 1 πŸ“ so if you don't say anything, it just adds one. one (1). a single unit of counting energy.

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea πŸ«– the packet that's pointed to by skb gets filtered by the function tcpmib_filter_key. that's the vibe check, basically.

and IF the packet passes that filter? then it gets counted in the global EstabResets πŸŽ‰ which is equivalent to SNMP's MIB TCP_MIB_ESTABRESETS, iykyk πŸ‘‘

so like: packet comes through ➑️ tcpmib_filter_key does its little filter thing ➑️ packet passes ➑️ boom, counted. that's it. that's the whole plot. no cap 🧚


πŸ”₯ SEE ALSO πŸ”₯


SystemTap Tapset Reference β€” version Ver πŸ’« β€” September 2026 πŸ—“οΈ

and that's the whole page, bestie!! go count some resets, you absolute legend πŸ‘‘πŸ’– mwah πŸŽ€

πŸ“¦ where this page comes from