Subject: CVS commit: src/sys/netipsec
To: None <source-changes@NetBSD.org>
From: Jonathan Stone <jonathan@netbsd.org>
List: source-changes
Date: 01/20/2004 22:55:14
Module Name:	src
Committed By:	jonathan
Date:		Tue Jan 20 22:55:14 UTC 2004

Modified Files:
	src/sys/netipsec: ipsec.c ipsec.h ipsec_osdep.h

Log Message:
IPv6 mapped adddresses require us to cope with limited polymorphism
(struct in6pcb* versus struct inpcb*) in ipsec_getpolicybysock().

Add new macros (in lieu of an abstract data type) for a ``generic''
PCB_T (points to a struct inpcb* or struct in6pcb*) to ipsec_osdep.h.
Use those new macros in ipsec_getpolicybysock() and elsewhere.

As posted to tech-net for comment/feedback, late  2003.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/sys/netipsec/ipsec.c
cvs rdiff -r1.5 -r1.6 src/sys/netipsec/ipsec.h src/sys/netipsec/ipsec_osdep.h

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