kern/120945: [PATCH] ip6(4) man page lacks documentation for TCLASS
option.
Bruce M Simpson
bms at FreeBSD.org
Thu Feb 21 13:20:01 UTC 2008
>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 at 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:
More information about the freebsd-bugs
mailing list