FUNCTION::IPMIB_FILT(3stap)

πŸ’– FUNCTION::IPMIB_FILT β€” SNMP Information Tapset πŸ’–

okay bestie, welcome to the ipmib corner of the SNMP Information Tapset, this is gonna be quick and cute, i promise 🫢


✨ NAME ✨

function::ipmib_filter_key β€” the default filter function for ipmib.* probes, no cap πŸ’…


🌸 SYNOPSIS 🌸

ipmib_filter_key:long(skb:long,op:long,SourceIsLocal:long)

look at her. three args, one long out. she's serving function signature realness ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • skb β€” a pointer to the struct sk_buff, literally just handing you the packet so you can peek at it πŸ¦‹
  • op β€” the value that gets counted if the skb passes the filter, so like, the lil number that only shows up when your packet survives the vibe check πŸ‘‘
  • SourceIsLocal β€” 1 means it's a local operation, 0 means it's a non-local operation. that's it, that's the whole mood πŸ“

πŸ’« DESCRIPTION πŸ’«

so this one is a default filter function, meaning she's the fallback girlie 🧚 the user is fully allowed to swap her out and drop in their own custom function instead β€” main character energy, honestly.

the user-supplied filter function returns an index key based on the values chilling inside skb. that's the whole job. index key. based on skb values. periodt.

⚠️ important, bestie: if the return value is 0, that means this particular skb should not be counted. like, she's off the guest list. don't count her. 😭

πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page bestie, you ate that πŸ’…βœ¨

this was brought to you by the SystemTap Tapset Reference β€” September 2026 edition πŸŽ€ go forth and filter those ipmib.* probes, mwah 🫢

πŸ“¦ where this page comes from