Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 update to match recent changes



details:   https://anonhg.NetBSD.org/src/rev/2e58377c844a
branches:  trunk
changeset: 482708:2e58377c844a
user:      darrenr <darrenr%NetBSD.org@localhost>
date:      Sun Feb 20 01:03:13 2000 +0000

description:
update to match recent changes

diffstat:

 share/man/man9/pfil.9 |  17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diffs (40 lines):

diff -r 03e51f56209f -r 2e58377c844a share/man/man9/pfil.9
--- a/share/man/man9/pfil.9     Sun Feb 20 00:56:33 2000 +0000
+++ b/share/man/man9/pfil.9     Sun Feb 20 01:03:13 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pfil.9,v 1.12 1999/06/18 06:03:39 mrg Exp $
+.\"    $NetBSD: pfil.9,v 1.13 2000/02/20 01:03:13 darrenr Exp $
 .\"
 .\" Copyright (c) 1996 Matthew R. Green
 .\" All rights reserved.
@@ -41,11 +41,11 @@
 .Fd #include <net/if.h>
 .Fd #include <net/pfil.h>
 .Ft struct packet_filter_hook *
-.Fn pfil_hook_get int
+.Fn pfil_hook_get "int" "struct pfil_head *"
 .Ft void
-.Fn pfil_add_hook "int (*func)()" "int flags"
+.Fn pfil_add_hook "int (*func)()" "int flags" "struct pfil_head *"
 .Ft void
-.Fn pfil_remove_hook "int (*func)()" "int flags"
+.Fn pfil_remove_hook "int (*func)()" "int flags" "struct pfil_head *"
 .\"(void *, int, struct ifnet *, int, struct mbuf **)
 .Sh DESCRIPTION
 The
@@ -117,6 +117,15 @@
 structures.  This change was to allow the input and output filters to be
 processed in reverse order, to allow the same path to be taken, in or out
 of the kernel.
+.Pp
+The
+.Nm
+interface was changed in 1.4T to accept a 3rd parameter to both
+.Fn pfil_add_hook
+and
+.Fn pfil_remove_hook
+, introducing the capability of per-protocol filtering.  This was done
+primarily in order to support filtering of IPv6.
 .Sh BUGS
 The current
 .Nm



Home | Main Index | Thread Index | Old Index