Subject: kern/7803: PFIL(9) is missing a reference to pfil.h
To: None <>
From: None <>
List: netbsd-bugs
Date: 06/17/1999 19:50:48
>Number:         7803
>Category:       kern
>Synopsis:       PFIL(9) is missing a reference to pfil.h
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 17 19:50:01 1999
>Originator:     Mike Pelley
>Release:        NetBSD 1.4
System: NetBSD rossem 1.4 NetBSD 1.4 (ROSSEM) #7: Thu Jun 17 21:43:38 EDT 1999 mike@rossem:/usr/src-mike/sys/arch/i386/compile/ROSSEM i386

#include <net/pfil.h> is required to use the pfil functions in kernel code.
Read PFIL(9)
Here is a patch for the pfil man page:

--- pfil.9	Sun May  9 14:19:19 1999
+++ pfil_mike.9	Thu Jun 17 22:31:47 1999
@@ -36,6 +36,7 @@
 .Nm pfil_remove_hook
 .Nd packet filter interface
+.Fd #include <net/pfil.h>
 .Fd #include <sys/param.h>
 .Fd #include <netinet/ip.h>
 .Ft struct packet_filter_hook *