sk_attach_filter(9) centos man page | unix.com

Man Page: sk_attach_filter

Operating Environment: centos

Section: 9

SK_ATTACH_FILTER(9)						 Linux Networking					       SK_ATTACH_FILTER(9)

NAME
sk_attach_filter - attach a socket filter
SYNOPSIS
int sk_attach_filter(struct sock_fprog * fprog, struct sock * sk);
ARGUMENTS
fprog the filter program sk the socket to use
DESCRIPTION
Attach the user's filter code. We first run some sanity checks on it to make sure it does not explode on us later. If an error occurs or there is insufficient memory for the filter a negative errno code is returned. On success the return is zero.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 SK_ATTACH_FILTER(9)
Related Man Pages
pcap_compile(3pcap) - osx
pcap_compile(3) - netbsd
accept_filt_get(9) - freebsd
accept_filt_del(9) - freebsd
pcap_compile.3pcap(3pcap) - mojave
Similar Topics in the Unix Linux Community
Weird 'find' results
DB2 convert digits to binary format
CentOS7 restoring file capabilities
Shopt -s histappend
Please Welcome Dave Munro to the Moderator Team!