Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man4 moved to portalgo.h
details: https://anonhg.NetBSD.org/src/rev/c16a4ef7df4b
branches: trunk
changeset: 779886:c16a4ef7df4b
user: christos <christos%NetBSD.org@localhost>
date: Mon Jun 25 14:47:55 2012 +0000
description:
moved to portalgo.h
diffstat:
share/man/man4/ip.4 | 8 ++++----
share/man/man4/ip6.4 | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diffs (62 lines):
diff -r 68da33737476 -r c16a4ef7df4b share/man/man4/ip.4
--- a/share/man/man4/ip.4 Mon Jun 25 14:43:54 2012 +0000
+++ b/share/man/man4/ip.4 Mon Jun 25 14:47:55 2012 +0000
@@ -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 @@
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
diff -r 68da33737476 -r c16a4ef7df4b share/man/man4/ip6.4
--- a/share/man/man4/ip6.4 Mon Jun 25 14:43:54 2012 +0000
+++ b/share/man/man4/ip6.4 Mon Jun 25 14:47:55 2012 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index