sk_run_filter(9) centos man page | unix.com

Man Page: sk_run_filter

Operating Environment: centos

Section: 9

SK_RUN_FILTER(9)						 Linux Networking						  SK_RUN_FILTER(9)

NAME
sk_run_filter - run a filter on a socket
SYNOPSIS
unsigned int sk_run_filter(const struct sk_buff * skb, const struct sock_filter * fentry);
ARGUMENTS
skb buffer to run the filter on fentry filter to apply
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. Because all jumps are guaranteed to be before last instruction, and last instruction guaranteed to be a RET, we dont need to check flen. (We used to pass to this function the length of filter)
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SK_RUN_FILTER(9)
Related Man Pages
sdl_seteventfilter(3) - opensolaris
sdl_seteventfilter(3) - debian
sdl_seteventfilter(3) - centos
smfi_register(3n) - hpux
rapi_fmt_filtspec(3) - osf1
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
DB2 convert digits to binary format
Tar Command
Docker learning Phase-I
Shopt -s histappend