Subject: Re: IPsec policy cache hint
To: Jonathan Stone <jonathan@dsg.stanford.edu>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-net
Date: 03/16/2004 16:25:41
--Apple-Mail-8-244210524
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed


On Mar 16, 2004, at 4:04 PM, Jonathan Stone wrote:

> I'm in the midst of merging that into my own copy, which contains
> other FreeBSD-derived code (including the TCP-md5 check, and various
> baby-steps towards INET6.) and I'd I'd like to change all the
> PCB-cache related ``#ifdef __NetBSD__'' tests to ``#ifdef
> IPSEC_PCBCACHE'', to separate them from truly NetBSD-specific code and
> so the PCB cache can be turned on for FreeBSD.

It's truly NetBSD-specific; calls to the appropriate functions must be 
made from non-IPsec code in order for it to work properly.  Until 
FreeBSD's code makes such calls, it seems appropriate to keep the 
#ifdef as-is.

         -- Jason R. Thorpe <thorpej@wasabisystems.com>


--Apple-Mail-8-244210524
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFAV5sGOpVKkaBm8XkRAqrXAJ4w8JfQx0N7QUiztfV4p1eGGlsCFACfS9+E
arAk/Ubl70XFXOLem15b7Bg=
=E0ph
-----END PGP SIGNATURE-----

--Apple-Mail-8-244210524--