Rechercher une page de manuel
sk_attach_filter
Langue: en
Version: October 2010 (fedora - 01/12/10)
Section: 9 (Appels noyau Linux)
NAME
sk_attach_filter - attach a socket filterSYNOPSIS
- 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
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre