1FUNCTION::LINUXMIB_F(3stap) SNMP Information TapsetFUNCTION::LINUXMIB_F(3stap)
2
3
4

NAME

6       function::linuxmib_filter_key - Default filter function for linuxmib.*
7       probes
8

SYNOPSIS

10           linuxmib_filter_key:long(sk:long,op:long)
11

ARGUMENTS

13       sk
14           pointer to the struct sock
15
16       op
17           value to be counted if sk passes the filter
18

DESCRIPTION

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

SEE ALSO

26       tapset::linuxmib-filter-default(3stap)
27
28
29
30SystemTap Tapset Reference         May 2019        FUNCTION::LINUXMIB_F(3stap)
Impressum