PROBE::TCPMIB.INSE(3stap)

πŸ’– NAME πŸ’–

probe::tcpmib.InSegs β€” bestie, this is the probe that counts an incoming tcp segment ✨ it's giving tally counter energy and honestly? obsessed.


🌸 SYNOPSIS 🌸

probe tcpmib.InSegs {}

that's it. that's the whole vibe. no args, no drama πŸŽ€


πŸ¦‹ VALUES πŸ¦‹

  • sk β€” a pointer to the struct sock that's being acted on πŸ’… like, the socket in question, the main character of this packet's storyline.
  • op β€” the value that gets added to the counter (default is 1, bc ofc it is, we're counting one seg at a time here 🫢)

✨ DESCRIPTION ✨

okay so here's the tea, bestie β˜• the packet that sk points to is... wait no, the packet pointed to by skb gets filtered by the function tcpmib_filter_key (or ipmib_filter_key if we're talking tcp v4, iykyk) πŸ”₯

and IF the packet passes that filter? it gets counted in the global InSegs πŸŽ‰ which is equivalent to SNMP's MIB TCP_MIB_INSEGS. no cap. that's literally the whole job. it counts. it slays. periodt πŸ’œ


πŸ’œ SEE ALSO πŸ’œ


fr fr go read the tapset page too, it's the whole friend group not just this one probe 🌈

k bye bestie, go count some segments πŸ’–βœ¨

SystemTap Tapset Reference, Version 3stap β€” September 2026 πŸŽ€ she's dated but she's iconic, mwah πŸ’‹

πŸ“¦ where this page comes from