svn commit: r316024 - head/share/man/man9

Sergey Kandaurov pluknet at FreeBSD.org
Mon Mar 27 14:32:35 UTC 2017


Author: pluknet
Date: Mon Mar 27 14:32:34 2017
New Revision: 316024
URL: https://svnweb.freebsd.org/changeset/base/316024

Log:
  Fix pfil_add_hook() and pfil_remove_hook() type.

Modified:
  head/share/man/man9/pfil.9

Modified: head/share/man/man9/pfil.9
==============================================================================
--- head/share/man/man9/pfil.9	Mon Mar 27 13:37:40 2017	(r316023)
+++ head/share/man/man9/pfil.9	Mon Mar 27 14:32:34 2017	(r316024)
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd August 23, 2013
+.Dd March 27, 2017
 .Dt PFIL 9
 .Os
 .Sh NAME
@@ -57,9 +57,9 @@ typedef int (*pfil_func_t)(void *arg, st
 .Fn pfil_head_unregister "struct pfil_head *head"
 .Ft "struct pfil_head *"
 .Fn pfil_head_get "int af" "u_long dlt"
-.Ft void
+.Ft int
 .Fn pfil_add_hook "pfil_func_t" "void *arg" "int flags" "struct pfil_head *"
-.Ft void
+.Ft int
 .Fn pfil_remove_hook "pfil_func_t" "void *arg" "int flags" "struct pfil_head *"
 .Ft int
 .Fn pfil_run_hooks "struct pfil_head *head" "struct mbuf **mp" "struct ifnet *" "int dir" "struct inpcb *"


More information about the svn-src-head mailing list