cvs commit: src/usr.bin/netstat ipx.c
Robert Watson
rwatson at FreeBSD.org
Fri Feb 25 13:13:11 GMT 2005
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
More information about the cvs-src
mailing list