Module Name: src
Committed By: christos
Date: Mon Jun 25 14:47:56 UTC 2012
Modified Files:
src/share/man/man4: ip.4 ip6.4
Log Message:
moved to portalgo.h
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/share/man/man4/ip.4
cvs rdiff -u -r1.29 -r1.30 src/share/man/man4/ip6.4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man4/ip.4
diff -u src/share/man/man4/ip.4:1.32 src/share/man/man4/ip.4:1.33
--- src/share/man/man4/ip.4:1.32 Fri Jun 22 10:54:34 2012
+++ src/share/man/man4/ip.4 Mon Jun 25 10:47:55 2012
@@ -1,4 +1,4 @@
-.\" $NetBSD: ip.4,v 1.32 2012/06/22 14:54:34 christos Exp $
+.\" $NetBSD: ip.4,v 1.33 2012/06/25 14:47:55 christos Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)ip.4 8.2 (Berkeley) 11/30/93
.\"
-.Dd June 20, 2012
+.Dd June 25, 2012
.Dt IP 4
.Os
.Sh NAME
@@ -116,10 +116,10 @@ can be used to randomize the port select
Valid algorithms are described in
.Xr rfc6056 7
and their respective constants are in
-.In netinet/rfc6056.h .
+.In netinet/portalgo.h .
For example,
.Bd -literal
-int algo = RFC6056_ALGO_RANDOM_PICK; /* see \*[Lt]netinet/rfc6056.h\*[Gt] */
+int algo = PORTALGO_ALGO_RANDOM_PICK; /* see \*[Lt]netinet/portalgo.h\*[Gt] */
setsockopt(s, IPPROTO_IP, IP_PORTALGO, \*[Am]algo, sizeof(algo));
.Ed
.Pp
Index: src/share/man/man4/ip6.4
diff -u src/share/man/man4/ip6.4:1.29 src/share/man/man4/ip6.4:1.30
--- src/share/man/man4/ip6.4:1.29 Fri Jun 22 10:54:34 2012
+++ src/share/man/man4/ip6.4 Mon Jun 25 10:47:55 2012
@@ -1,4 +1,4 @@
-.\" $NetBSD: ip6.4,v 1.29 2012/06/22 14:54:34 christos Exp $
+.\" $NetBSD: ip6.4,v 1.30 2012/06/25 14:47:55 christos Exp $
.\" $KAME: ip6.4,v 1.23 2005/01/11 05:56:25 itojun Exp $
.\" $OpenBSD: ip6.4,v 1.21 2005/01/06 03:50:46 itojun Exp $
.\"
@@ -28,7 +28,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 June 20, 2012
+.Dd June 25, 2012
.Dt IP6 4
.Os
.Sh NAME
@@ -238,10 +238,10 @@ can be used to randomize the port select
Valid algorithms are described in
.Xr rfc6056 7
and their respective constants are in
-.In netinet/rfc6056.h .
+.In netinet/portalgo.h .
For example,
.Bd -literal
-int algo = RFC6056_ALGO_RANDOM_PICK; /* see \*[Lt]netinet/rfc6056.h\*[Gt] */
+int algo = PORTALGO_ALGO_RANDOM_PICK; /* see \*[Lt]netinet/portalgo.h\*[Gt] */
setsockopt(s, IPPROTO_IPV6, IPV6_PORTALGO, \*[Am]algo, sizeof(algo));
.Ed
.Pp