svn commit: r186955 - in head/sys: conf netinet

Robert Watson rwatson at
Sat Jan 10 02:28:44 PST 2009

On Sat, 10 Jan 2009, Attila Nagy wrote:

>> Well, they can be used mostly interchangably - they socket option is just 
>> implemented at a different layer.
>> Porting should be a case of a simple #ifdef. :)
> I wonder what pf changes are needed..

I think Julian's analysis, that this is more of an inet option than a 
socket-layer option, seems more appropriate to me, the benefits of portability 
in adopting the API used by OpenBSD/BSDI/etc seem more compelling.  We should 
make sure that, if we move to the socket option used on those systems, we 
block setting it on non-supporting protocols, or confusion will result.  In 
particular, Adrian's change only modified IPv4, not IPv6, so until it's 
implemented on IPv6 it shouldn't be possible to set the option.

Robert N M Watson
Computer Laboratory
University of Cambridge

More information about the svn-src-head mailing list