summaryrefslogtreecommitdiff
path: root/sys/net/pfvar.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-02-23 21:31:53 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-02-23 21:31:53 +0000
commitcd68403338e60e828f8d7cdd7efdba9b934219c7 (patch)
tree663383759386f4075e9fba448edcdaa332f4b4a8 /sys/net/pfvar.h
parenta13f193c4adb1a62ff11978a8090aefc73687c1b (diff)
if machine has more than 100MB of physmem, default the max table entries
to 200,000 instead of the conservative 100,000; ok dhartmei beck tested by ckuethe
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r--sys/net/pfvar.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index eea0d94d5d2..d650f799704 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfvar.h,v 1.243 2007/02/09 11:20:39 henning Exp $ */
+/* $OpenBSD: pfvar.h,v 1.244 2007/02/23 21:31:51 deraadt Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1184,7 +1184,8 @@ struct pf_tagname {
#define PFFRAG_FRCACHE_HIWAT 10000 /* Number of fragment descriptors */
#define PFR_KTABLE_HIWAT 1000 /* Number of tables */
-#define PFR_KENTRY_HIWAT 100000 /* Number of table entries */
+#define PFR_KENTRY_HIWAT 200000 /* Number of table entries */
+#define PFR_KENTRY_HIWAT_SMALL 100000 /* Number of table entries (tiny hosts) */
/*
* ioctl parameter structures