summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw.h
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2009-02-16 15:08:41 +0000
committerluigi <luigi@FreeBSD.org>2009-02-16 15:08:41 +0000
commit0a0d3f132a119de65ca5c709c5522d7974567adf (patch)
treeea0dad8a6f7d340519ab3f9f9238946bb8549497 /sys/netinet/ip_fw.h
parentd5904787c0fdd030894b6443e2a74539e34bfdde (diff)
downloadFreeBSD-src-0a0d3f132a119de65ca5c709c5522d7974567adf.zip
FreeBSD-src-0a0d3f132a119de65ca5c709c5522d7974567adf.tar.gz
remove dependency on eventhandler.h, we only need a forward declaration
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 831686d..5ee1632 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
OpenPOWER on IntegriCloud