From owner-freebsd-net@FreeBSD.ORG Tue Mar 19 23:10:02 2013 Return-Path: Delivered-To: freebsd-net@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6311BCC for ; Tue, 19 Mar 2013 23:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 51B6DC2A for ; Tue, 19 Mar 2013 23:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2JNA2in029209 for ; Tue, 19 Mar 2013 23:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2JNA2xC029208; Tue, 19 Mar 2013 23:10:02 GMT (envelope-from gnats) Date: Tue, 19 Mar 2013 23:10:02 GMT Message-Id: <201303192310.r2JNA2xC029208@freefall.freebsd.org> To: freebsd-net@FreeBSD.org Cc: From: Mark Andrews Subject: Re: kern/165305: [ip6] [request] Feature parity between IP_TOS and IPV6_TCLASS X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Mark Andrews List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2013 23:10:02 -0000 The following reply was made to PR kern/165305; it has been noted by GNATS. From: Mark Andrews 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=