kern/165305: [ip6] [request] Feature parity between IP_TOS and IPV6_TCLASS
Mark Andrews
marka at isc.org
Tue Mar 19 23:10:02 UTC 2013
The following reply was made to PR kern/165305; it has been noted by GNATS.
From: Mark Andrews <marka at isc.org>
To: bug-followup at FreeBSD.org,
marka at 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=
More information about the freebsd-net
mailing list