Subject: TCPDEBUG/TCP_NDEBUG/tcp_debug.c
To: None <tech-net@netbsd.org>
From: David Brownlee <abs@netbsd.org>
List: tech-net
Date: 06/13/2001 16:21:14
tcp_debug.h defaults to a 100 element tcp_debug array, which can
be used in conjunction with TCPDEBUG to enable logging of various
tcp events. Without TCPDEBUG it just provides a small history of
packets with SO_DEBUG, which can be manually examined.
For low memory machines, particularly on install kernels, this is
extra memory usage we do not need.
Would anyone object if I made tcp_trace conditional on a
kernel TCP_TRACE option, defaulted to on in all GENERICs.
(TCP_TRACE rather than TCPTRACE to match up with TCP_SIGNATURE
and TCP_COMPAT_42, as well as being easier to read).
--
David/absolute -- www.netbsd.org: No hype required --