summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_state.h
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2001-01-30 04:23:57 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2001-01-30 04:23:57 +0000
commit2f35ed6fbb48972a399c5b56df252d3edcf73809 (patch)
tree49eedc7734fae4d6f8043d6e330b2206e3ddbe06 /sys/netinet/ip_state.h
parent35a4a2f01b30f9510e1be64c14580cca8ed556d5 (diff)
re-add local ipf changes that were whacked in the 3.4.16 merge. userland to follow
Diffstat (limited to 'sys/netinet/ip_state.h')
-rw-r--r--sys/netinet/ip_state.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/netinet/ip_state.h b/sys/netinet/ip_state.h
index a7cbaaac28d..0f28639ffc2 100644
--- a/sys/netinet/ip_state.h
+++ b/sys/netinet/ip_state.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_state.h,v 1.16 2001/01/17 04:47:16 fgsch Exp $ */
+/* $OpenBSD: ip_state.h,v 1.17 2001/01/30 04:23:56 kjell Exp $ */
/*
* Copyright (C) 1995-2000 by Darren Reed.
@@ -19,8 +19,13 @@
# define SIOCDELST _IOW(r, 61, struct ipstate *)
#endif
-#define IPSTATE_SIZE 5737
-#define IPSTATE_MAX 4013 /* Maximum number of states held */
+#ifndef IPSTATE_SIZE
+# define IPSTATE_SIZE 5737
+#endif
+
+#ifndef IPSTATE_MAX
+# define IPSTATE_MAX 4013 /* Maximum number of states held */
+#endif
#define PAIRS(s1,d1,s2,d2) ((((s1) == (s2)) && ((d1) == (d2))) ||\
(((s1) == (d2)) && ((d1) == (s2))))