table of contents
other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
SK_UNATTACHED_FILTER(9) | Linux Networking | SK_UNATTACHED_FILTER(9) |
NAME¶
sk_unattached_filter_create - create an unattached filterSYNOPSIS¶
int
sk_unattached_filter_create(struct sk_filter ** pfp,
struct sock_fprog_kern * fprog);
ARGUMENTS¶
pfpthe unattached filter that is created
fprog
the filter program
DESCRIPTION¶
Create a filter independent of any socket. 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¶
February 2017 | Kernel Hackers Manual 3.16 |