PROBE::TCPMIB.RETR(3stap)

πŸ’– PROBE::TCPMIB.RETR β€” SNMP Information Tapset πŸŽ€

okay bestie, this is a page from the SystemTap Tapset Reference, manual section 3stap, and it's all about one lil probe that lives in the SNMP Information Tapset. it's short, it's sweet, it counts things. let's go ✨


✨ NAME ✨

probe::tcpmib.RetransSegs β€” Count the retransmission of a TCP segment πŸ¦‹


🌸 SYNOPSIS 🌸

probe tcpmib.RetransSegs {}

that's it. that's the whole vibe. no args, no drama, just a probe sitting there waiting to fire πŸ’…


πŸ‘‘ VALUES πŸ‘‘

the goodies you get handed when this probe goes off:

  • op β€” the value that's gonna get added to the counter (its default value is 1) ✨
  • sk β€” a pointer to the struct sock that's being acted on 🧦

πŸ”₯ DESCRIPTION πŸ”₯

so here's the tea, bestie: the packet that skb points to gets filtered by the function tcpmib_filter_key. if that packet passes the filter, it gets counted in the global RetransSegs counter β€” which is equivalent to SNMP's MIB TCP_MIB_RETRANSSEGS πŸ‘‘

no cap, that's the entire plot. retransmitted TCP segment shows up, filter says "slay, you may enter," counter goes up. iconic behaviour fr fr πŸ’–


🫢 SEE ALSO 🫢


that's the whole page, bestie β€” go forth and count those retransmissions 🌈

written up in the SystemTap Tapset Reference, version Ver, dated September 2026 πŸŽ€

mwah, bye πŸ’…

πŸ“¦ where this page comes from