Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 06/09/2007 03:07:22
Module Name: src
Committed By: dyoung
Date: Sat Jun 9 03:07:22 UTC 2007
Modified Files:
src/sys/dist/ipf/netinet: ip_pool.c
src/sys/net: if.c radix.c radix.h route.c route.h rtsock.c
src/sys/netinet: if_arp.c
Log Message:
Get rid of radix_node_head.rnh_walktree, because it is only ever
set to rn_walktree.
Introduce rt_walktree(), which applies a subroutine to every route
in a particular address family. Use it instead of rn_walktree()
virtually everywhere. This helps to hide the routing table
implementation.
To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 src/sys/dist/ipf/netinet/ip_pool.c
cvs rdiff -r1.191 -r1.192 src/sys/net/if.c
cvs rdiff -r1.34 -r1.35 src/sys/net/radix.c
cvs rdiff -r1.18 -r1.19 src/sys/net/radix.h
cvs rdiff -r1.91 -r1.92 src/sys/net/route.c
cvs rdiff -r1.55 -r1.56 src/sys/net/route.h
cvs rdiff -r1.93 -r1.94 src/sys/net/rtsock.c
cvs rdiff -r1.121 -r1.122 src/sys/netinet/if_arp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.