FUNCTION::TCPMIB_FIL(3stap)
π FUNCTION::TCPMIB_FIL β SNMP Information Tapset β¨
okay bestie, you're in the 3stap section of the manual, and this is the SNMP Information Tapset era. let's get into it π«Ά
πΈ NAME πΈ
function::tcpmib_filter_key β the default filter function for tcpmib.* probes. it's giving gatekeeper, but in a helpful way π
β¨ SYNOPSIS β¨
tcpmib_filter_key:long(sk:long,op:long)
π ARGUMENTS π
skβ a pointer to thestruct sockthat's being acted on. like, the socket in question, the main character of this whole operation π«opβ the value that gets counted ifskpasses the filter. so it's waiting in the wings, and it only gets its moment if the filter says yes β¨
π¦ DESCRIPTION π¦
okay so here's the tea: this function is a default filter function. the user can literally replace it with their own, no cap β it's yours to swap out.
when you do supply your own filter function, it returns an index key based on the values inside sk.
and here's the part you cannot miss: if the return value is 0, that means this particular sk should not be counted. zero = not invited to the party π. periodt.
π₯ SEE ALSO π₯
and that's the whole vibe π
this was your girl signing off from the SystemTap Tapset Reference, Ver September 2026 β FUNCTION::TCPMIB_FIL(3stap), always and forever ππΈβ¨
π¦ 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