diff options
author | davidc <davidc@FreeBSD.org> | 2001-12-26 23:14:04 +0000 |
---|---|---|
committer | davidc <davidc@FreeBSD.org> | 2001-12-26 23:14:04 +0000 |
commit | 6b067561b6c9b4ed2b47f2a1a291bca65015c9e7 (patch) | |
tree | 098933308a14df670e3b72970203b08aa5f907a1 /share/man/man9/pfil.9 | |
parent | 70547e89ed70bdc238efd1cf623ee7af6ebcdc84 (diff) | |
download | FreeBSD-src-6b067561b6c9b4ed2b47f2a1a291bca65015c9e7.zip FreeBSD-src-6b067561b6c9b4ed2b47f2a1a291bca65015c9e7.tar.gz |
Update function definitions and required include files to reflect
the current state of the system.
Approved by: alfred
Diffstat (limited to 'share/man/man9/pfil.9')
-rw-r--r-- | share/man/man9/pfil.9 | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/share/man/man9/pfil.9 b/share/man/man9/pfil.9 index d7b3ead..9f301b0 100644 --- a/share/man/man9/pfil.9 +++ b/share/man/man9/pfil.9 @@ -37,14 +37,23 @@ .Sh SYNOPSIS .In sys/param.h .In sys/mbuf.h +.In sys/socket.h .In net/if.h .In net/pfil.h .Ft struct packet_filter_hook * -.Fn pfil_hook_get "int" "struct pfil_head *" -.Ft void -.Fn pfil_add_hook "int (*func)()" "int flags" "struct pfil_head *" -.Ft void -.Fn pfil_remove_hook "int (*func)()" "int flags" "struct pfil_head *" +.Fn pfil_hook_get "int flag" "struct pfil_head *ph" +.Ft int +.Fo pfil_add_hook +.Fa "int (*func)(void *, int, struct ifnet *, int, struct mbuf **)" +.Fa "int flags" +.Fa "struct pfil_head *ph" +.Fc +.Ft int +.Fo pfil_remove_hook +.Fa "int (*func)(void *, int, struct ifnet *, int, struct mbuf **)" +.Fa "int flags" +.Fa "struct pfil_head *ph" +.Fc .\"(void *, int, struct ifnet *, int, struct mbuf **) .Sh DESCRIPTION The |