Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2013 23:10:02 GMT
From:      Mark Andrews <marka@isc.org>
To:        freebsd-net@FreeBSD.org
Subject:   Re: kern/165305: [ip6] [request] Feature parity between IP_TOS and IPV6_TCLASS
Message-ID:  <201303192310.r2JNA2xC029208@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/165305; it has been noted by GNATS.

From: Mark Andrews <marka@isc.org>
To: bug-followup@FreeBSD.org,
 marka@isc.org
Cc:  
Subject: Re: kern/165305: [ip6] [request] Feature parity between IP_TOS and IPV6_TCLASS
Date: Wed, 20 Mar 2013 10:01:49 +1100

 Thanks for adding this.  It appears to work with FreeBSD 8.4-BETA1 #25 =
 r248493M.
 
 The only point of contention is using sizeof(char) rather than =
 sizeof(int).   Using char
 is extending the exception from recvmsg and IP_TOS.  =
 sendmsg/recvmsg/setsockopt
 should all be using the same size.  I had to read the kernel code to =
 work out that it
 was a 'char' as the header files say 'int' and that is what setsockopt =
 uses.
 
 Mark=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303192310.r2JNA2xC029208>