Query: sk_unattached_filter_create
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SK_UNATTACHED_FILTER(9) Linux Networking SK_UNATTACHED_FILTER(9)NAMEsk_unattached_filter_create - create an unattached filterSYNOPSISint sk_unattached_filter_create(struct sk_filter ** pfp, struct sock_fprog * fprog);ARGUMENTSpfp the unattached filter that is created fprog the filter programDESCRIPTIONCreate 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.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SK_UNATTACHED_FILTER(9)