summaryrefslogtreecommitdiffstats
path: root/sys/sys/protosw.h
diff options
context:
space:
mode:
authordarrenr <darrenr@FreeBSD.org>2000-07-31 13:11:42 +0000
committerdarrenr <darrenr@FreeBSD.org>2000-07-31 13:11:42 +0000
commitd18ce92d580ccae82a3d998f6127986ad1690a09 (patch)
tree16f6dbf24b21c74396eb07b8e0a16ea1e30c777a /sys/sys/protosw.h
parentcc221d575afd5334c5ac8e02eeaaa48fec13df38 (diff)
downloadFreeBSD-src-d18ce92d580ccae82a3d998f6127986ad1690a09.zip
FreeBSD-src-d18ce92d580ccae82a3d998f6127986ad1690a09.tar.gz
activate pfil_hooks and covert ipfilter to use it
Diffstat (limited to 'sys/sys/protosw.h')
-rw-r--r--sys/sys/protosw.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/sys/protosw.h b/sys/sys/protosw.h
index 5f23fa3..4f88105 100644
--- a/sys/sys/protosw.h
+++ b/sys/sys/protosw.h
@@ -37,6 +37,11 @@
#ifndef _SYS_PROTOSW_H_
#define _SYS_PROTOSW_H_
+/*
+ * For pfil_head structure.
+ */
+#include <net/pfil.h>
+
/* Forward declare these structures referenced from prototypes below. */
struct mbuf;
struct proc;
@@ -92,6 +97,7 @@ struct protosw {
void (*pr_drain) __P((void));
/* flush any excess space possible */
struct pr_usrreqs *pr_usrreqs; /* supersedes pr_usrreq() */
+ struct pfil_head pr_pfh;
};
/*#endif*/
OpenPOWER on IntegriCloud