summaryrefslogtreecommitdiff
path: root/lib/libc/net/inet6_rthdr_space.3
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-01-18 23:53:50 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-01-18 23:53:50 +0000
commit0737851f1642d613c81b8ae2ee1cb7603cbd837a (patch)
treef302a7fae29e75d80a8f4c984253110ec1eab569 /lib/libc/net/inet6_rthdr_space.3
parent46ff6b272921b15bc0df982c467b575d17c674a6 (diff)
inet6 fixes from jmc@prioris.mini.pw.edu.pl
Diffstat (limited to 'lib/libc/net/inet6_rthdr_space.3')
-rw-r--r--lib/libc/net/inet6_rthdr_space.314
1 files changed, 5 insertions, 9 deletions
diff --git a/lib/libc/net/inet6_rthdr_space.3 b/lib/libc/net/inet6_rthdr_space.3
index cafe0d2645e..3b0d893d046 100644
--- a/lib/libc/net/inet6_rthdr_space.3
+++ b/lib/libc/net/inet6_rthdr_space.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: inet6_rthdr_space.3,v 1.8 2001/06/23 05:57:04 deraadt Exp $
+.\" $OpenBSD: inet6_rthdr_space.3,v 1.9 2003/01/18 23:53:49 deraadt Exp $
.\" $KAME: inet6_rthdr_space.3,v 1.8 2000/05/17 14:30:15 itojun Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
@@ -234,10 +234,8 @@ The return value of the function is -1 upon an error.
.Ss inet6_rthdr_getaddr
This function returns a pointer to the IPv6 address specified by
.Fa index
-.Po
-which must have a value between 1 and the value returned by
-.Fn inet6_rthdr_segments
-.Pc
+(which must have a value between 1 and the value returned by
+.Fn inet6_rthdr_segments )
in the Routing header described by
.Fa cmsg .
An
@@ -251,11 +249,9 @@ Upon an error the return value of the function is
.Ss inet6_rthdr_getflags
This function returns the flags value specified by
.Fa index
-.Po
-which must
+(which must
have a value between 0 and the value returned by
-.Fn inet6_rthdr_segments
-.Pc
+.Fn inet6_rthdr_segments )
in the Routing header described by
.Fa cmsg .
For an IPv6 Type 0 Routing header the return value will be either