summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2013-08-24 11:57:02 +0000
committerandre <andre@FreeBSD.org>2013-08-24 11:57:02 +0000
commit25d6b936a0bde081d420f4187dfdd4111f5ded48 (patch)
tree34b994b74d1e39357474913f278e7c0c495dcbd8 /share/man
parent5ec35e1f72d57fe05547d8e07db8121610058988 (diff)
downloadFreeBSD-src-25d6b936a0bde081d420f4187dfdd4111f5ded48.zip
FreeBSD-src-25d6b936a0bde081d420f4187dfdd4111f5ded48.tar.gz
Adjust for the pfil_func_t typedef added in r254769.
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/pfil.98
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man9/pfil.9 b/share/man/man9/pfil.9
index b7d6f40..89de302 100644
--- a/share/man/man9/pfil.9
+++ b/share/man/man9/pfil.9
@@ -49,6 +49,8 @@
.In sys/mbuf.h
.In net/if.h
.In net/pfil.h
+.Bd -literal
+typedef int (*pfil_func_t)(void *arg, struct mbuf **mp, struct ifnet *, int dir, struct inpcb);
.Ft int
.Fn pfil_head_register "struct pfil_head *head"
.Ft int
@@ -56,11 +58,9 @@
.Ft "struct pfil_head *"
.Fn pfil_head_get "int af" "u_long dlt"
.Ft void
-.Fn pfil_add_hook "int (*func)()" "void *arg" "int flags" "struct pfil_head *"
+.Fn pfil_add_hook "pfil_func_t" "void *arg" "int flags" "struct pfil_head *"
.Ft void
-.Fn pfil_remove_hook "int (*func)()" "void *arg" "int flags" "struct pfil_head *"
-.Ft int
-.Fn (*func) "void *arg" "struct mbuf **mp" "struct ifnet *" "int dir" "struct inpcb *"
+.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 *"
.Ft void
OpenPOWER on IntegriCloud