PROBE::IPMIB.INREC(3stap)
π PROBE::IPMIB.INREC π
okay bestie, so this one lives in the SNMP Information Tapset, and it's section 3stap of the manual β the SystemTap tapset reference, iykyk. it's literally called probe::ipmib.InReceives and it is so simple, that's the whole point π
β¨ NAME β¨
probe::ipmib.InReceives β count an arriving packet π no cap, that's the entire job description
π¦ SYNOPSIS π¦
probe ipmib.InReceives {}
that's it. that's the girl. not a single argument in the parens, she works with what she's given π
π VALUES π
the goodies that show up inside this probe:
skbβ a pointer to thestruct sk_buffthat's being acted on. it's giving "the packet in question," the main character of the moment π«Άopβ the value that gets added to the counter, and it defaults to1. so yeah, one packet in, one number goes up. math is math β¨
πΈ DESCRIPTION πΈ
so here's the vibe: the packet that skb points at gets run through the filter function ipmib_filter_key. if that packet passes the filter, it gets counted in the global InReceives counter β which is the equivalent of SNMP's MIB IPSTATS_MIB_INRECEIVES π
that's it. that's the tea. filter check, then tally. iconic behaviour honestly π
π SEE ALSO π
tapset::ipmib(3stap)β go read the family, she's got siblings β¨
heads up bestie: this page is just the reference, so if you're out here assuming the counter increments on every packet, re-read the filter part β ipmib_filter_key has opinions π
mwah, that's a wrap π this was SystemTap Tapset Reference, Version Ver, dated September 2026 β go forth and count those packets, you're doing amazing sweetie ππ
π¦ 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