SK_RUN_FILTER
Section: (9)
Updated: 13 April 2004
Index
Return to Main Contents
NAME
sk_run_filter - run a filter on a socket
SYNOPSIS
int sk_run_filter (struct sk_buff * skb, struct sock_filter * filter, int flen);
ARGUMENTS
- skb
-
buffer to run the filter on
- filter
-
filter to apply
- flen
-
length of filter
DESCRIPTION
Decode and apply filter instructions to the skb->data.
Return length to keep, 0 for none. skb is the data we are
filtering, filter is the array of filter instructions, and
len is the number of filter blocks in the array.
ABOUT THIS DOCUMENT
This documentation was generated with kernel version 2.6.1.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
- ABOUT THIS DOCUMENT
-
This document was created by
man2html,
using the manual pages.
Time: 11:22:01 GMT, April 13, 2004