summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2006-10-21 00:16:31 +0000
committerjulian <julian@FreeBSD.org>2006-10-21 00:16:31 +0000
commit8f92fe04c3829512304e750aec70de2de57b0897 (patch)
tree934f39d21fda8ade814da603677390a78df6405d /sys/netinet/ip_input.c
parent35034161dd8e3ce83ca8145ec629ca8baef89921 (diff)
downloadFreeBSD-src-8f92fe04c3829512304e750aec70de2de57b0897.zip
FreeBSD-src-8f92fe04c3829512304e750aec70de2de57b0897.tar.gz
revert last change.. premature.. need to wait until if_ethersubr.c
uses pfil to get to ipfw.
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r--sys/netinet/ip_input.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 99d4566..84768a7 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -77,6 +77,10 @@
#include <sys/socketvar.h>
+/* XXX: Temporary until ipfw_ether and ipfw_bridge are converted. */
+#include <netinet/ip_fw.h>
+#include <netinet/ip_dummynet.h>
+
int rsvp_on = 0;
int ipforwarding = 0;
@@ -188,6 +192,14 @@ SYSCTL_INT(_net_inet_ip, OID_AUTO, stealth, CTLFLAG_RW,
&ipstealth, 0, "");
#endif
+/*
+ * ipfw_ether and ipfw_bridge hooks.
+ * XXX: Temporary until those are converted to pfil_hooks as well.
+ */
+ip_fw_chk_t *ip_fw_chk_ptr = NULL;
+ip_dn_io_t *ip_dn_io_ptr = NULL;
+int fw_one_pass = 1;
+
static void ip_freef(struct ipqhead *, struct ipq *);
/*
OpenPOWER on IntegriCloud