NetBSD Problem Report #7803
Received: (qmail 26250 invoked from network); 18 Jun 1999 02:44:27 -0000
Message-Id: <199906180244.WAA00800@rossem.worldmap.net>
Date: Thu, 17 Jun 1999 22:44:25 -0400 (EDT)
From: mike@pelley.com
Reply-To: mike@pelley.com
To: gnats-bugs@gnats.netbsd.org
Subject: PFIL(9) is missing a reference to pfil.h
X-Send-Pr-Version: 3.95
>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
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 17 19:50:01 +0000 1999
>Closed-Date: Fri Jun 18 06:04:36 +0000 1999
>Last-Modified: Fri Jun 18 06:05:01 +0000 1999
>Originator: Mike Pelley
>Release: NetBSD 1.4
>Organization:
Worldmap.Net
>Environment:
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
>Description:
#include <net/pfil.h> is required to use the pfil functions in kernel code.
>How-To-Repeat:
Read PFIL(9)
>Fix:
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
.Sh SYNOPSIS
+.Fd #include <net/pfil.h>
.Fd #include <sys/param.h>
.Fd #include <netinet/ip.h>
.Ft struct packet_filter_hook *
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: mrg
State-Changed-When: Thu Jun 17 23:04:36 PDT 1999
State-Changed-Why:
also had to pull in sys/mbuf.h and net/if.h. and we don't need netinet/ip.h here either.
thanks.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.