From owner-cvs-all@FreeBSD.ORG Fri Feb 25 13:13:11 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A9C316A4CE; Fri, 25 Feb 2005 13:13:11 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 622C543D2D; Fri, 25 Feb 2005 13:13:11 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1PDDBnf065122; Fri, 25 Feb 2005 13:13:11 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1PDDBJu065121; Fri, 25 Feb 2005 13:13:11 GMT (envelope-from rwatson) Message-Id: <200502251313.j1PDDBJu065121@repoman.freebsd.org> From: Robert Watson Date: Fri, 25 Feb 2005 13:13:11 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/usr.bin/netstat ipx.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2005 13:13:11 -0000 rwatson 2005-02-25 13:13:11 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) usr.bin/netstat ipx.c Log: Merge ipx.c:1.21-1.23 from HEAD to RELENG_5: date: 2004/12/31 00:32:50; author: rwatson; state: Exp; lines: +23 -3 Update netstat(1) for recent conversion of netipx to queue(9) from home-brew linked lists. Read in the ipxpcb_list structure first in order to find the first pcb pointer. Then follow the chain as before, only the termination condition is a NULL next pointer rather than a next pointer equal to the original offset. date: 2004/12/31 12:04:21; author: rwatson; state: Exp; lines: +14 -34 Apply a simplifying patch submitted by rik to the IPX support in netstat(1): - Make previously unnecessarily global variables local. - Use LIST_FOREACH() in preference to manual iteration. - Restore a sanity check through slightly incestuous use of queue macro knowledge. Submitted by: rik date: 2005/01/02 19:26:06; author: rwatson; state: Exp; lines: +5 -11 Revise use of queue(9) macros for netipx when used from userspace: LIST_FOREACH() is difficult to use correctly, so don't try to. Revision Changes Path 1.20.2.1 +14 -20 src/usr.bin/netstat/ipx.c