From e75f77ece7aac1d5153ee4d43e6ee353ca2c7ed3 Mon Sep 17 00:00:00 2001 From: Bruce M Simpson Date: Fri, 22 Feb 2008 21:02:36 +0000 Subject: [PATCH] ip6(4) man page lacks documentation for TCLASS option. PR: docs/120945 Reviewed by: remko --- share/man/man4/ip6.4 | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/share/man/man4/ip6.4 b/share/man/man4/ip6.4 index 40f1b6ffafa..633537bb1ec 100644 --- a/share/man/man4/ip6.4 +++ b/share/man/man4/ip6.4 @@ -30,7 +30,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 29, 2006 +.Dd February 21, 2008 .Dt IP6 4 .Os .Sh NAME @@ -147,7 +147,6 @@ The following socket options are supported: .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