IPv6 patch for BSD/KAME

Thomas Schilling nominolo at googlemail.com
Mon Jun 25 15:06:36 EDT 2007


On 25 jun 2007, at 20.09, Bryan O'Sullivan wrote:

> Bryan O'Sullivan wrote:
>
>> It seems to be an oddity with OS X.  Here's a well-timed patch  
>> that Thomas Schilling sent two days ago, which seems to be  
>> appropriate:
>> http://www.haskell.org/pipermail/libraries/2007-June/007644.html
>
> That should indeed fix the build for BSD boxes.  However, the  
> underlying problem is that the existence of a s6_addr32 field in  
> in6_addr isn't required by RFC 2553.  So I'll cook up a patch that  
> uses s6_addr, which *is* required, and hence ought to be more  
> portable.
>
> 	<b

Yes, that would indeed be the cleanest solution, since that patch  
actually accesses internal data structures which may change add any  
time.  I wonder, though, if it would hurt performance if accesses  
were changed byte-based.

/ Thomas


More information about the Libraries mailing list