From owner-freebsd-current@FreeBSD.ORG Sun Feb 18 11:00:00 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A09DA16A41F for ; Sun, 18 Feb 2007 11:00:00 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 7AADC13C4A3 for ; Sun, 18 Feb 2007 11:00:00 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 304F246DE0 for ; Sun, 18 Feb 2007 06:00:00 -0500 (EST) Date: Sun, 18 Feb 2007 11:00:00 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: current@FreeBSD.org Message-ID: <20070218105831.D49018@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: More DDB show commands for the network stack (cvs commit: src/sys/netinet in_pcb.c in_pcb.h tcp_usrreq.c (fwd)) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2007 11:00:00 -0000 FYI -- I've added two more DDB commands to help in debugging network stack problems. "show inpcb " can be used on the so_pcb field of TCP/IP ("internet") sockets. "show tcpcb " can be used on the inp_ppcb field of the inpcb associated with a TCP connection. Robert N M Watson Computer Laboratory University of Cambridge ---------- Forwarded message ---------- Date: Sat, 17 Feb 2007 21:02:39 +0000 (UTC) From: Robert Watson To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h tcp_usrreq.c rwatson 2007-02-17 21:02:39 UTC FreeBSD src repository Modified files: sys/netinet in_pcb.c in_pcb.h tcp_usrreq.c Log: Add "show inpcb", "show tcpcb" DDB commands, which should come in handy for debugging sblock and other network panics. Revision Changes Path 1.186 +251 -1 src/sys/netinet/in_pcb.c 1.92 +6 -0 src/sys/netinet/in_pcb.h 1.146 +321 -1 src/sys/netinet/tcp_usrreq.c