diff options
author | Darren Reed <darrenr@FreeBSD.org> | 2000-07-31 13:11:42 +0000 |
---|---|---|
committer | Darren Reed <darrenr@FreeBSD.org> | 2000-07-31 13:11:42 +0000 |
commit | c4ac87ea1cc7d7cc0e749c7a197816e44e692980 (patch) | |
tree | 7f3cadddca73d7761f17672e184f7baa74e4f2d9 /sys/netinet/ipprotosw.h | |
parent | 8acc38283a333b0df00c7148742926f12c2e82d4 (diff) | |
download | src-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.h | 6 |
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_ */ |