centos man page for sk_run_filter

Query: sk_run_filter

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
__skb_recv_datagram(9) - centos
cfg80211_testmode_alloc_reply_skb(9) - centos
struct_ieee80211_tx_rate_control(9) - centos
sdl_seteventfilter(3) - suse
Similar Topics in the Unix Linux Community
How to increment version inside a file?
CentOS7 restoring file capabilities
Docker learning Phase-I
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!