summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristiano F. Haesbaert <haesbaert@cvs.openbsd.org>2011-08-25 14:39:30 +0000
committerChristiano F. Haesbaert <haesbaert@cvs.openbsd.org>2011-08-25 14:39:30 +0000
commit4b556045d0ad5c04f2401304f879af82db506189 (patch)
treef237dea67da03ea4215b530ce6b063f2465987f7
parenta668a2f2b91e7cfa88e81aa0b672c1ff1c5fd8a9 (diff)
Document IPV6_TCLASS and IPV6_RECVTCLASS in ip6(4). Text from FreeBSD.
ok mcbride@ jmc@
-rw-r--r--share/man/man4/ip6.416
1 files changed, 14 insertions, 2 deletions
diff --git a/share/man/man4/ip6.4 b/share/man/man4/ip6.4
index 2843f188276..c59f0886008 100644
--- a/share/man/man4/ip6.4
+++ b/share/man/man4/ip6.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ip6.4,v 1.23 2009/08/31 04:46:32 jmc Exp $
+.\" $OpenBSD: ip6.4,v 1.24 2011/08/25 14:39:29 haesbaert Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -26,7 +26,7 @@
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
-.Dd $Mdocdate: August 31 2009 $
+.Dd $Mdocdate: August 25 2011 $
.Dt IP6 4
.Os
.Sh NAME
@@ -308,6 +308,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