Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man4 document IPV6_PORTRANGE.
details: https://anonhg.NetBSD.org/src/rev/8feb134c1319
branches: trunk
changeset: 485102:8feb134c1319
user: itojun <itojun%NetBSD.org@localhost>
date: Wed Apr 19 05:18:01 2000 +0000
description:
document IPV6_PORTRANGE.
diffstat:
share/man/man4/ip6.4 | 37 ++++++++++++++++++-------------------
1 files changed, 18 insertions(+), 19 deletions(-)
diffs (82 lines):
diff -r c49a3fc3d29b -r 8feb134c1319 share/man/man4/ip6.4
--- a/share/man/man4/ip6.4 Wed Apr 19 04:49:50 2000 +0000
+++ b/share/man/man4/ip6.4 Wed Apr 19 05:18:01 2000 +0000
@@ -1,8 +1,9 @@
-.\" $NetBSD: ip6.4,v 1.3 2000/01/06 06:41:18 itojun Exp $
+.\" $NetBSD: ip6.4,v 1.4 2000/04/19 05:18:01 itojun Exp $
+.\" $KAME: ip6.4,v 1.10 2000/04/17 08:26:17 itojun Exp $
.\"
.\" Copyright (C) 1999 WIDE Project.
.\" All rights reserved.
-.\"
+.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
@@ -14,7 +15,7 @@
.\" 3. Neither the name of the project nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -58,8 +59,6 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" KAME Id: ip6.4,v 1.7 2000/01/06 06:00:30 itojun Exp
-.\"
.Dd December 17, 1999
.Dt IP6 4
.Os
@@ -228,18 +227,18 @@
.Fa mreq6
contains the same values as used to add the membership.
Memberships are dropped when the socket is closed or the process exits.
-.\" .Pp
-.\" .Dv IPV6_PORTRANGE
-.\" controls how ephemeral ports are allocated for
-.\" .Dv SOCK_STREAM
-.\" and
-.\" .Dv SOCK_DGRAM
-.\" sockets.
-.\" For example,
-.\" .Bd -literal -offset indent
-.\" int range = IPV6_PORTRANGE_LOW; /* see <netinet/in.h> */
-.\" setsockopt(s, IPPROTO_IPV6, IPV6_PORTRANGE, &range, sizeof(range));
-.\" .Ed
+.Pp
+.Dv IPV6_PORTRANGE
+controls how ephemeral ports are allocated for
+.Dv SOCK_STREAM
+and
+.Dv SOCK_DGRAM
+sockets.
+For example,
+.Bd -literal -offset indent
+int range = IPV6_PORTRANGE_LOW; /* see <netinet/in.h> */
+setsockopt(s, IPPROTO_IPV6, IPV6_PORTRANGE, &range, sizeof(range));
+.Ed
.Pp
.Dv IPV6_BINDV6ONLY
controls behavior of
@@ -343,7 +342,7 @@
.Dv IPV6_DSTOPTS .
Similarly,
.Xr inet6_rthdr_space 3
-and friends will help you parse ancillary data items for
+and friends will help you parse ancillary data items for
.Dv IPV6_RTHDR .
.Pp
.Dv IPV6_HOPOPTS
@@ -685,7 +684,7 @@
.Sh STANDARDS
Most of the socket options are defined in
RFC2292 and/or RFC2553.
-.\" .Dv IPV6_PORTRANGE ,
+.Dv IPV6_PORTRANGE ,
.Dv IPV6_BINDV6ONLY
and
conflict resolution rule
Home |
Main Index |
Thread Index |
Old Index