[EMAIL PROTECTED] wrote:
At Wed, 20 Feb 2008 18:25:05 +0000,
Bruce M Simpson wrote:
I just noticed that whilst the socket code appears to support IPV6_TCLASS, we don't document it.

I  haven't raised a PR for this issue yet nor have I written a patch.

Please do both :-)

Done. TCLASS is in the synopsis, hasn't hit the database yet.

Here's the patch just in case.

[I really wish we used Bugzilla, I shouldn't have to go through the SMTP rigmarole... I can log into freefall, but that's a privileged position. Also, Mercurial does RSS feeds for commits like git does, further removing the need for vulnerable and messy SMTP...]

later
BMS
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
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to