---
name: "function::ipmib_filter_key"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::ipmib_filter_key"
---

# function::ipmib\_filter\_key(3stap)

Default filter function for ipmib.\* probes

## NAME

function::ipmib\_filter\_key - Default filter function for ipmib.\* probes

## SYNOPSIS

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

## ARGUMENTS

*skb*

pointer to the struct sk\_buff

*op*

value to be counted if *skb* passes the filter

*SourceIsLocal*

1 is local operation and 0 is non-local operation

## DESCRIPTION

This function is a default filter function. The user can replace this function with their own. The user-supplied filter function returns an index key based on the values in *skb*. A return value of 0 means this particular *skb* should be not be counted.

## SEE ALSO0

[*tapset::ipmib-filter-default*(3stap)](/tapset::ipmib-filter-default/3stap.md)
