1SK_UNATTACHED_FILTER(9)        Linux Networking        SK_UNATTACHED_FILTER(9)
2
3
4

NAME

6       sk_unattached_filter_create - create an unattached filter
7

SYNOPSIS

9       int sk_unattached_filter_create(struct sk_filter ** pfp,
10                                       struct sock_fprog * fprog);
11

ARGUMENTS

13       pfp
14           the unattached filter that is created
15
16       fprog
17           the filter program
18

DESCRIPTION

20       Create a filter independent of any socket. We first run some sanity
21       checks on it to make sure it does not explode on us later. If an error
22       occurs or there is insufficient memory for the filter a negative errno
23       code is returned. On success the return is zero.
24
26Kernel Hackers Manual 3.10         June 2019           SK_UNATTACHED_FILTER(9)
Impressum