aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ipprotosw.h
diff options
context:
space:
mode:
authorDarren Reed <darrenr@FreeBSD.org>2000-07-31 13:11:42 +0000
committerDarren Reed <darrenr@FreeBSD.org>2000-07-31 13:11:42 +0000
commitc4ac87ea1cc7d7cc0e749c7a197816e44e692980 (patch)
tree7f3cadddca73d7761f17672e184f7baa74e4f2d9 /sys/netinet/ipprotosw.h
parent8acc38283a333b0df00c7148742926f12c2e82d4 (diff)
downloadsrc-c4ac87ea1cc7d7cc0e749c7a197816e44e692980.tar.gz
src-c4ac87ea1cc7d7cc0e749c7a197816e44e692980.zip
activate pfil_hooks and covert ipfilter to use it
Notes
Notes: svn path=/head/; revision=64060
Diffstat (limited to 'sys/netinet/ipprotosw.h')
-rw-r--r--sys/netinet/ipprotosw.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/netinet/ipprotosw.h b/sys/netinet/ipprotosw.h
index 0ecb64d38917..1d65f0c2a01b 100644
--- a/sys/netinet/ipprotosw.h
+++ b/sys/netinet/ipprotosw.h
@@ -66,6 +66,11 @@
#ifndef _NETINET_IPPROTOSW_H_
#define _NETINET_IPPROTOSW_H_
+/*
+ * For pfil_head structure.
+ */
+#include <net/pfil.h>
+
/* Forward declare these structures referenced from prototypes below. */
struct mbuf;
struct proc;
@@ -98,6 +103,7 @@ struct ipprotosw {
void (*pr_drain) __P((void));
/* flush any excess space possible */
struct pr_usrreqs *pr_usrreqs; /* supersedes pr_usrreq() */
+ struct pfil_head pr_pfh;
};
#endif /* !_NETINET_IPPROTOSW_H_ */