From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 21 13:20:01 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CE0D16A408 for ; Thu, 21 Feb 2008 13:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7BB7013C4D5 for ; Thu, 21 Feb 2008 13:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1LDK17t050998 for ; Thu, 21 Feb 2008 13:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1LDK1Hb050997; Thu, 21 Feb 2008 13:20:01 GMT (envelope-from gnats) Resent-Date: Thu, 21 Feb 2008 13:20:01 GMT Resent-Message-Id: <200802211320.m1LDK1Hb050997@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bruce M Simpson Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46A7D16A405 for ; 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 ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/120945: [PATCH] ip6(4) man page lacks documentation for TCLASS option. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bruce M Simpson List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2008 13:20:01 -0000 >Number: 120945 >Category: kern >Synopsis: [PATCH] ip6(4) man page lacks documentation for TCLASS option. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 21 13:20:01 UTC 2008 >Closed-Date: >Last-Modified: >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: >Unformatted: