More DDB show commands for the network stack (cvs commit: src/sys/netinet in_pcb.c in_pcb.h tcp_usrreq.c (fwd))

Robert Watson rwatson at FreeBSD.org
Sun Feb 18 11:00:00 UTC 2007


FYI -- I've added two more DDB commands to help in debugging network stack 
problems.  "show inpcb <addr>" can be used on the so_pcb field of TCP/IP 
("internet") sockets.  "show tcpcb <addr>" 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 <rwatson at FreeBSD.org>
To: src-committers at FreeBSD.org, cvs-src at FreeBSD.org, cvs-all at 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


More information about the freebsd-current mailing list