Subject: kern/15060: pfil_find_head missing prototypes
To: None <gnats-bugs@gnats.netbsd.org>
From: None <lha@stacken.kth.se>
List: netbsd-bugs
Date: 12/27/2001 11:55:53
>Number:         15060
>Category:       kern
>Synopsis:       pfil_head_get missing prototype and pfil missing MLINKS
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 27 02:56:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Love
>Release:        NetBSD 1.5ZA
>Organization:
	Stacken Computer Club
>Environment:
System: NetBSD nutcracker.stacken.kth.se 1.5ZA NetBSD 1.5ZA (NUTCRACKER) #45: Mon Dec 24 19:45:09 CET 2001 lha@nutcracker.stacken.kth.se:/usr/src/sys/arch/i386/compile/NUTCRACKER i386
Architecture: i386
Machine: i386
>Description:

	pfil_head_get missing prototype in manpage, missing MLINKS

>How-To-Repeat:

	Port OpenBSD's pf too see how if compares to IPF and find that
	pfil_head_get is missing a prototype in the manpage.

	man 9 pfil
>Fix:

Index: share/man/man9/Makefile
===================================================================
RCS file: /cvsroot/sharesrc/share/man/man9/Makefile,v
retrieving revision 1.102
diff -w -u -r1.102 Makefile
--- Makefile    2001/12/05 21:13:59     1.102
+++ Makefile    2001/12/27 10:51:23
@@ -237,7 +237,13 @@
        pcmcia.9 pcmcia_cis_read_4.9 \
        pcmcia.9 pcmcia_cis_read_n.9 \
        pcmcia.9 pcmcia_scan_cis.9
-MLINKS+=pfil.9 pfil_hook_get.9 pfil.9 pfil_add_hook.9 pfil.9 pfil_remove_hook.9
+MLINKS+=pfil.9 pfil_hook_get.9 \
+       pfil.9 pfil_add_hook.9 \
+       pfil.9 pfil_remove_hook.9 \
+       pfil.9 pfil_head_register.9 \
+       pfil.9 pfil_head_unregister.9 \
+       pfil.9 pfil_get_head.9 \
+       pfil.9 pfil_run_hooks.9
 MLINKS+=pool.9 pool_create.9 pool.9 pool_destroy.9 pool.9 pool_get.9 \
        pool.9 pool_init.9 pool.9 pool_put.9 pool.9 pool_prime.9 \
        pool.9 pool_sethiwat.9 pool.9 pool_setlowat.9
Index: share/man/man9/pfil.9
===================================================================
RCS file: /cvsroot/sharesrc/share/man/man9/pfil.9,v
retrieving revision 1.15
diff -w -u -r1.15 pfil.9
--- pfil.9      2001/09/04 02:51:16     1.15
+++ pfil.9      2001/12/27 10:51:22
@@ -48,6 +48,8 @@
 .Fn pfil_head_register "struct pfil_head *head"
 .Ft int
 .Fn pfil_head_unregister "struct pfil_head *head"
+.Ft struct pfil_head *
+.Fn pfil_head_get "int af" "u_long dlt"
 .Ft struct packet_filter_hook *
 .Fn pfil_hook_get "int dir" "struct pfil_head *head"
 .Ft void
>Release-Note:
>Audit-Trail:
>Unformatted: