Date: Fri, 25 Feb 2005 13:13:11 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/netstat ipx.c Message-ID: <200502251313.j1PDDBJu065121@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502251313.j1PDDBJu065121>