Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 05/06/2007 02:56:38
Module Name:	src
Committed By:	dyoung
Date:		Sun May  6 02:56:38 UTC 2007

Modified Files:
	src/sys/kern: uipc_domain.c
	src/sys/netatalk: at_proto.c
	src/sys/netinet: in_proto.c
	src/sys/netinet6: in6_proto.c
	src/sys/netiso: iso_proto.c

Log Message:
In AppleTalk, IPv4, and IPv6 routing domains, help sockaddr_cmp()
avoid an indirect function call by comparing the family, length,
and bytes [dom->dom_sa_cmpofs, dom->dom_sa_cmpofs + dom->dom_sa_cmplen),
corresponding to the the sockaddrs' "address" members.

For ISO, actually use sockaddr_iso_cmp, for a change.  Thanks to
yamt@ for pointing out my error.


To generate a diff of this commit:
cvs rdiff -r1.64 -r1.65 src/sys/kern/uipc_domain.c
cvs rdiff -r1.13 -r1.14 src/sys/netatalk/at_proto.c
cvs rdiff -r1.85 -r1.86 src/sys/netinet/in_proto.c
cvs rdiff -r1.76 -r1.77 src/sys/netinet6/in6_proto.c
cvs rdiff -r1.23 -r1.24 src/sys/netiso/iso_proto.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.