diff options
author | mp <mp@FreeBSD.org> | 2002-07-08 02:53:59 +0000 |
---|---|---|
committer | mp <mp@FreeBSD.org> | 2002-07-08 02:53:59 +0000 |
commit | 87f0fb50f1b92497f8e941b6efcf33ed6432f4d0 (patch) | |
tree | 35fd9c25b6cbd12b42fa1e122f2a49287f13cdf0 | |
parent | c8401874eb348b60c0c545be04544330f41377e3 (diff) | |
download | FreeBSD-src-87f0fb50f1b92497f8e941b6efcf33ed6432f4d0.zip FreeBSD-src-87f0fb50f1b92497f8e941b6efcf33ed6432f4d0.tar.gz |
Document TCBHASHSIZE in NOTES and add it to the allowable kernel options.
PR: 32912
Submitted by: Carl Schmidt <carl@slackerbsd.org>
MFC after: 3 days
-rw-r--r-- | sys/conf/NOTES | 6 | ||||
-rw-r--r-- | sys/conf/options | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES index 4aeb7a4..a1dcc1d 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -483,6 +483,11 @@ device stf #6to4 IPv6 over IPv4 encapsulation # network code where filtering is required. See the pfil(9) man page. # This option is a subset of the IPFILTER option. # +# TCBHASHSIZE is the target size of the TCP PCB (process control block) hash +# tables. This must be a power of 2 and the default is 512 (2^9). Note: a +# better mechanism to change this is via a kernel environment variable, +# net.inet.tcp.tcbhashsize. See tcp(4) for more information. +# # TCPDEBUG enables code which keeps traces of the TCP state machine # for sockets with the SO_DEBUG option set, which can then be examined # using the trpt(8) utility. @@ -503,6 +508,7 @@ options IPFILTER_LOG #ipfilter logging options IPFILTER_DEFAULT_BLOCK #block all packets by default options IPSTEALTH #support for stealth forwarding options PFIL_HOOKS +options TCBHASHSIZE=512 #tcp pcb hash table size options TCPDEBUG # RANDOM_IP_ID causes the ID field in IP packets to be randomized diff --git a/sys/conf/options b/sys/conf/options index b9ae031..5eb210d 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -303,6 +303,7 @@ PPP_DEFLATE opt_ppp.h PPP_FILTER opt_ppp.h RANDOM_IP_ID SLIP_IFF_OPTS opt_slip.h +TCBHASHSIZE TCPDEBUG TCP_DROP_SYNFIN opt_tcp_input.h XBONEHACK |