PROBE::IPMIB.FORWD(3stap)

✨ PROBE::IPMIB.FORWD ✨

okay bestie, welcome to the SNMP Information Tapset section of the SystemTap Tapset Reference β€” this page is probe::ipmib.ForwDatagrams and it's lowkey iconic πŸ’…


πŸ¦‹ NAME πŸ¦‹

probe::ipmib.ForwDatagrams β€” count a forwarded packet, periodt πŸ’–


🌸 SYNOPSIS 🌸

probe ipmib.ForwDatagrams {}

that's it. that's the whole probe. no arguments, no drama, just vibes ✨


πŸŽ€ VALUES πŸŽ€

the two lil things you get handed when this probe fires:

  • skb β€” a pointer to the struct sk_buff that's being acted on, aka the packet in question 🫢
  • op β€” the value that gets added to the counter. default is 1, so if you don't touch it, every hit just bumps the tally by one, no cap πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

so here's the tea β˜• the packet that skb points at gets run through the filter function ipmib_filter_key. if the packet passes that filter, it gets counted in the global ForwDatagrams counter β€” which is literally the same thing as SNMP's IPSTATS_MIB_OUTFORWDATAGRAMS, iykyk πŸ‘‘

tl;dr: filter check first, then count. if it doesn't pass, no counting for you 😭


🌈 SEE ALSO 🌈


that's the page!! slay πŸ’œ and just so you know, this was the SystemTap Tapset Reference, Version... September 2026 β€” thanks for reading, mwah πŸ“βœ¨

πŸ“¦ where this page comes from