From bms@FreeBSD.org  Thu Feb 21 13:13:52 2008
Return-Path: <bms@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 46A7D16A405
	for <freebsd-gnats-submit@hub.freebsd.org>; Thu, 21 Feb 2008 13:13:52 +0000 (UTC)
	(envelope-from bms@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 3913513C46B
	for <freebsd-gnats-submit@hub.freebsd.org>; Thu, 21 Feb 2008 13:13:52 +0000 (UTC)
	(envelope-from bms@FreeBSD.org)
Received: from freefall.freebsd.org (bms@localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1LDDqlw050134
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 21 Feb 2008 13:13:52 GMT
	(envelope-from bms@freefall.freebsd.org)
Received: (from bms@localhost)
	by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1LDDqtS050133;
	Thu, 21 Feb 2008 13:13:52 GMT
	(envelope-from bms)
Message-Id: <200802211313.m1LDDqtS050133@freefall.freebsd.org>
Date: Thu, 21 Feb 2008 13:13:52 GMT
From: Bruce M Simpson <bms@FreeBSD.org>
Reply-To: Bruce M Simpson <bms@FreeBSD.org>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:
Subject: [PATCH] ip6(4) man page lacks documentation for TCLASS option.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         120945
>Category:       docs
>Synopsis:       [patch] ip6(4) man page lacks documentation for TCLASS option.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-net
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 21 13:20:01 UTC 2008
>Closed-Date:    Sat Jun 11 01:59:06 UTC 2011
>Last-Modified:  Sat Jun 11 02:00:24 UTC 2011
>Originator:     Bruce M Simpson
>Release:        FreeBSD 7.0-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #32: Tue Jan 15 15:07:33 UTC 2008 simon@freefall.freebsd.org:/usr/src/sys/i386/compile/FREEFALL i386


	
>Description:
	ip6(4) man page lacks documentation for TCLASS option.
>How-To-Repeat:
	
>Fix:

	

--- ip6.diff begins here ---
Index: src/share/man/man4/ip6.4
===================================================================
RCS file: /home/ncvs/src/share/man/man4/ip6.4,v
retrieving revision 1.22
diff -u -p -r1.22 ip6.4
--- src/share/man/man4/ip6.4	29 Sep 2006 16:16:41 -0000	1.22
+++ src/share/man/man4/ip6.4	21 Feb 2008 13:06:20 -0000
@@ -30,7 +30,7 @@
 .\"
 .\" $FreeBSD: src/share/man/man4/ip6.4,v 1.22 2006/09/29 16:16:41 bms Exp $
 .\"
-.Dd September 29, 2006
+.Dd Februrary 21, 2008
 .Dt IP6 4
 .Os
 .Sh NAME
@@ -147,7 +147,6 @@ The following socket options are support
 .It Dv IPV6_UNICAST_HOPS Fa "int *"
 Get or set the default hop limit header field for outgoing unicast
 datagrams sent on this socket.
-A value of \-1 resets to the default value.
 .\" .It Dv IPV6_RECVOPTS Fa "int *"
 .\" Get or set the status of whether all header options will be
 .\" delivered along with the datagram when it is received.
@@ -312,6 +311,18 @@ The
 routine and family of routines may be used to manipulate this data.
 .Pp
 This option requires superuser privileges.
+.It Dv IPV6_TCLASS Fa "int *"
+Get or set the value of the traffic class field used for outgoing datagrams
+on this socket.
+The value must be between \-1 and 255.
+A value of \-1 resets to the default value.
+.It Dv IPV6_RECVTCLASS Fa "int *"
+Get or set the status of whether the traffic class header field will be
+provided as ancillary data along with the payload in subsequent
+.Xr recvmsg 2
+calls.
+The header field is stored as a single value of type
+.Vt int .
 .It Dv IPV6_RTHDR Fa "int *"
 Get or set whether the routing header from subsequent packets will be
 provided as ancillary data along with the payload in subsequent
--- ip6.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-doc 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Feb 22 01:18:22 UTC 2008 
Responsible-Changed-Why:  
reclassify. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120945 
Responsible-Changed-From-To: freebsd-doc->bms 
Responsible-Changed-By: remko 
Responsible-Changed-When: Fri Feb 22 20:32:16 UTC 2008 
Responsible-Changed-Why:  
Bruce, please commit this, Christian found a typo in the diff 
(month in the .Dd); for the rest it looks good! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120945 
State-Changed-From-To: open->patched 
State-Changed-By: bms 
State-Changed-When: Fri 22 Feb 2008 21:03:01 UTC 
State-Changed-Why:  
committed to HEAD 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120945 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/120945: commit references a PR
Date: Fri, 22 Feb 2008 21:02:44 +0000 (UTC)

 bms         2008-02-22 21:02:36 UTC
 
   FreeBSD src repository
 
   Modified files:
     share/man/man4       ip6.4 
   Log:
   ip6(4) man page lacks documentation for TCLASS option.
   
   PR:             docs/120945
   Reviewed by:    remko
   
   Revision  Changes    Path
   1.23      +13 -2     src/share/man/man4/ip6.4
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
Responsible-Changed-From-To: bms->net 
Responsible-Changed-By: bms 
Responsible-Changed-When: Mon 1 Sep 2008 13:37:24 UTC 
Responsible-Changed-Why:  
Someone else best grab this until I learn how to MFC in Subversion. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120945 
Responsible-Changed-From-To: net->freebsd-net 
Responsible-Changed-By: bz 
Responsible-Changed-When: Tue Sep 16 09:07:33 UTC 2008 
Responsible-Changed-Why:  
Change Resp. to not get an extra GNATS spam every week. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120945 
State-Changed-From-To: patched->closed 
State-Changed-By: gjb 
State-Changed-When: Sat Jun 11 01:58:52 UTC 2011 
State-Changed-Why:  
MFCd to stable/7. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=120945 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/120945: commit references a PR
Date: Sat, 11 Jun 2011 01:58:51 +0000 (UTC)

 Author: gjb (doc committer)
 Date: Sat Jun 11 01:58:31 2011
 New Revision: 222970
 URL: http://svn.freebsd.org/changeset/base/222970
 
 Log:
   MFC 176470 [1]:
   
   Document TCLASS in ip6(4).
   
   PR:		120945
   Original commit by:	bms [1]
 
 Modified:
   stable/7/share/man/man4/ip6.4
 Directory Properties:
   stable/7/share/man/man4/   (props changed)
 
 Modified: stable/7/share/man/man4/ip6.4
 ==============================================================================
 --- stable/7/share/man/man4/ip6.4	Sat Jun 11 01:44:49 2011	(r222969)
 +++ stable/7/share/man/man4/ip6.4	Sat Jun 11 01:58:31 2011	(r222970)
 @@ -147,7 +147,6 @@ The following socket options are support
  .It Dv IPV6_UNICAST_HOPS Fa "int *"
  Get or set the default hop limit header field for outgoing unicast
  datagrams sent on this socket.
 -A value of \-1 resets to the default value.
  .\" .It Dv IPV6_RECVOPTS Fa "int *"
  .\" Get or set the status of whether all header options will be
  .\" delivered along with the datagram when it is received.
 @@ -313,6 +312,18 @@ The
  routine and family of routines may be used to manipulate this data.
  .Pp
  This option requires superuser privileges.
 +.It Dv IPV6_TCLASS Fa "int *"
 +Get or set the value of the traffic class field used for outgoing datagrams
 +on this socket.
 +The value must be between \-1 and 255.
 +A value of \-1 resets to the default value.
 +.It Dv IPV6_RECVTCLASS Fa "int *"
 +Get or set the status of whether the traffic class header field will be
 +provided as ancillary data along with the payload in subsequent
 +.Xr recvmsg 2
 +calls.
 +The header field is stored as a single value of type
 +.Vt int .
  .It Dv IPV6_RTHDR Fa "int *"
  Get or set whether the routing header from subsequent packets will be
  provided as ancillary data along with the payload in subsequent
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
