summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/inet6_option_space.36
-rw-r--r--lib/libc/net/inet6_rthdr_space.313
2 files changed, 8 insertions, 11 deletions
diff --git a/lib/libc/net/inet6_option_space.3 b/lib/libc/net/inet6_option_space.3
index 8c2bb0caf69..4323ead5a99 100644
--- a/lib/libc/net/inet6_option_space.3
+++ b/lib/libc/net/inet6_option_space.3
@@ -1,4 +1,5 @@
-.\" $OpenBSD: inet6_option_space.3,v 1.5 2000/04/15 02:15:23 aaron Exp $
+.\" $OpenBSD: inet6_option_space.3,v 1.6 2000/05/17 14:36:40 itojun Exp $
+.\" $KAME: inet6_option_space.3,v 1.7 2000/05/17 14:32:13 itojun Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,9 +32,6 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" From: @(#)gethostbyname.3 8.4 (Berkeley) 5/25/95
-.\" KAME Id: inet6_option_space.3,v 1.2 1999/12/10 04:46:16 itojun Exp
-.\"
.Dd December 10, 1999
.Dt INET6_OPTION_SPACE 3
.Os
diff --git a/lib/libc/net/inet6_rthdr_space.3 b/lib/libc/net/inet6_rthdr_space.3
index 6c84bdee78f..535b8c639fe 100644
--- a/lib/libc/net/inet6_rthdr_space.3
+++ b/lib/libc/net/inet6_rthdr_space.3
@@ -1,4 +1,5 @@
-.\" $OpenBSD: inet6_rthdr_space.3,v 1.5 2000/04/18 03:01:32 aaron Exp $
+.\" $OpenBSD: inet6_rthdr_space.3,v 1.6 2000/05/17 14:36:40 itojun Exp $
+.\" $KAME: inet6_rthdr_space.3,v 1.8 2000/05/17 14:30:15 itojun Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,11 +32,8 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" From: @(#)gethostbyname.3 8.4 (Berkeley) 5/25/95
-.\" KAME Id: inet6_rthdr_space.3,v 1.3 1999/12/12 14:58:04 itojun Exp
-.\"
.Dd December 10, 1999
-.Dt INET6_OPTION_SPACE 3
+.Dt INET6_RTHDR_SPACE 3
.Os
.\"
.Sh NAME
@@ -63,14 +61,15 @@
.Fn inet6_rthdr_reverse "const struct cmsghdr *in" "struct cmsghdr *out"
.Ft int
.Fn inet6_rthdr_segments "const struct cmsghdr *cmsg"
-.Ft "struct in6_addr"
+.Ft "struct in6_addr *"
.Fn inet6_rthdr_getaddr "struct cmsghdr *cmsg" "int index"
.Ft int
.Fn inet6_rthdr_getflags "const struct cmsghdr *cmsg" "int index"
.\"
.Sh DESCRIPTION
RFC2292 IPv6 advanced API defines eight
-functions that the application calls to build and examine a Routing header
+functions that the application calls to build and examine a Routing
+header.
Four functions build a Routing header:
.Bl -hang
.It Fn inet6_rthdr_space