'\" t .\" Title: function::ipmib_filter_key .\" Author: .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: November 2020 .\" Manual: SNMP Information Tapset .\" Source: SystemTap Tapset Reference .\" Language: English .\" .TH "FUNCTION::IPMIB_FILT" "3stap" "November 2020" "SystemTap Tapset Reference" "SNMP Information Tapset" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" function::ipmib_filter_key \- Default filter function for ipmib\&.* probes .SH "SYNOPSIS" .sp .nf ipmib_filter_key:long(skb:long,op:long,SourceIsLocal:long) .fi .SH "ARGUMENTS" .PP \fIskb\fR .RS 4 pointer to the struct sk_buff .RE .PP \fIop\fR .RS 4 value to be counted if \fIskb\fR passes the filter .RE .PP \fISourceIsLocal\fR .RS 4 1 is local operation and 0 is non\-local operation .RE .SH "DESCRIPTION" .PP 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 \fIskb\fR\&. A return value of 0 means this particular \fIskb\fR should be not be counted\&. .SH SEE ALSO\n .IR tapset::ipmib-filter-default (3stap)