From owner-freebsd-doc Tue Nov 18 06:37:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA25597 for doc-outgoing; Tue, 18 Nov 1997 06:37:50 -0800 (PST) (envelope-from owner-freebsd-doc) Received: from fcggsg07.icg.tu-graz.ac.at (fcggsg07.icg.tu-graz.ac.at [129.27.201.16]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA25591 for ; Tue, 18 Nov 1997 06:37:27 -0800 (PST) (envelope-from dada@lend.tu-graz.ac.at) Received: from lend.tu-graz.ac.at (isdn098.tu-graz.ac.at [129.27.240.98]) by fcggsg07.icg.tu-graz.ac.at (8.8.4/8.8.4) with ESMTP id PAA27177 for ; Tue, 18 Nov 1997 15:34:57 +0100 (MET) Received: from localhost (lend.tu-graz.ac.at [127.0.0.1]) by lend.tu-graz.ac.at (8.8.5/8.8.5) with SMTP id PAA01523 for ; Tue, 18 Nov 1997 15:27:59 +0100 (CET) Date: Tue, 18 Nov 1997 15:27:58 +0100 (CET) From: Martin Kammerhofer To: freebsd-doc@freebsd.org Subject: TCP_DEBUG Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-doc@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello Documenters! It's no several times I've read that kernel option TCP_DEBUG is undocumented. Actually this option seems to be required for socket option SO_DEBUG to work. See getsockopt(2) and trpt(8) for details. Also look at netstat(1)'s -A option. An example of a networked program with an option to enable socket debugging is ftp(1)'s -d option. BTW, man page trpt(8) points to trsp(8) which doesn't exist, this documentation bug should also be corrected. Two points more to mention: 1) I took out TCP_DEBUG from my kernel configuration file again, because it increased the kernel's size by some 300K. 2) The location where it really *should be* documented is of course /usr/src/sys/i386/conf/LINT. HTH, Martin -- Martin Kammerhofer. PGP-key 1024/A96058B1 2B 3D F9 3A F8 B4 18 24 5F 00 2D F6 B9 06 A2 53 for public key finger dada@sbox.tu-graz.ac.at or request it by email "I don't have any solution but I certainly admire the problem." -- Ashleigh Brilliant