aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_fw.h
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>2009-02-16 15:08:41 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>2009-02-16 15:08:41 +0000
commit35b78b75204e63c285e8a17bb777654a35be9a28 (patch)
treeea0dad8a6f7d340519ab3f9f9238946bb8549497 /sys/netinet/ip_fw.h
parent281c8daea23afd6f7a47ebe78d57187644ca04c0 (diff)
downloadsrc-35b78b75204e63c285e8a17bb777654a35be9a28.tar.gz
src-35b78b75204e63c285e8a17bb777654a35be9a28.zip
remove dependency on eventhandler.h, we only need a forward declaration
Notes
Notes: svn path=/head/; revision=188673
Diffstat (limited to 'sys/netinet/ip_fw.h')
-rw-r--r--sys/netinet/ip_fw.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h
index 831686dd01b7..5ee1632e39d0 100644
--- a/sys/netinet/ip_fw.h
+++ b/sys/netinet/ip_fw.h
@@ -682,6 +682,7 @@ typedef int ipfw_nat_t(struct ip_fw_args *, struct cfg_nat *, struct mbuf *);
typedef int ipfw_nat_cfg_t(struct sockopt *);
#endif
+struct eventhandler_entry;
/*
* Stack virtualization support.
*/
@@ -713,7 +714,7 @@ struct vnet_ipfw {
u_int32_t _dyn_max;
u_int64_t _norule_counter;
struct callout _ipfw_timeout;
- eventhandler_tag _ifaddr_event_tag;
+ struct eventhandler_entry *_ifaddr_event_tag;
};
#ifndef VIMAGE