summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/net/inet.316
1 files changed, 13 insertions, 3 deletions
diff --git a/lib/libc/net/inet.3 b/lib/libc/net/inet.3
index cb974c9e853..43cb5bafd75 100644
--- a/lib/libc/net/inet.3
+++ b/lib/libc/net/inet.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: inet.3,v 1.17 2003/08/08 09:26:02 jmc Exp $
+.\" $OpenBSD: inet.3,v 1.18 2003/09/09 12:00:39 jmc Exp $
.\" $NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
@@ -56,7 +56,7 @@
.Ft in_addr_t
.Fn inet_lnaof "struct in_addr in"
.Ft struct in_addr
-.Fn inet_makeaddr "unsigned long net" "unsigned long lna"
+.Fn inet_makeaddr "in_addr_t net" "in_addr_t lna"
.Ft in_addr_t
.Fn inet_netof "struct in_addr in"
.Ft in_addr_t
@@ -201,7 +201,7 @@ and
.Xr getnameinfo 3
are recommended rather than the functions presented here.
.Pp
-The presentation format of an IPv6 address is given in [RFC 1884 2.2]:
+The presentation format of an IPv6 address is given in RFC 2373:
.Pp
There are three conventional forms for representing IPv6 addresses as
text strings:
@@ -286,6 +286,16 @@ for malformed requests.
.Xr inet_net 3 ,
.Xr hosts 5 ,
.Xr networks 5
+.Rs
+.%R RFC 2373
+.%D July 1998
+.%T "IP Version 6 Addressing Architecture"
+.Re
+.Rs
+.%R RFC 3493
+.%D February 2003
+.%T "Basic Socket Interface Extensions for IPv6"
+.Re
.Sh STANDARDS
The
.Nm inet_ntop