From 4839ac8dc0d4f903aa90bf5c373015aa7fa0d569 Mon Sep 17 00:00:00 2001 From: jmc <> Date: Tue, 9 Sep 2003 12:00:39 +0000 Subject: update RFCs (from NetBSD); inet_makeaddr() uses in_addr_t types, not unsigned long. ok itojun@ --- src/lib/libc/net/inet.3 | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'src/lib/libc') diff --git a/src/lib/libc/net/inet.3 b/src/lib/libc/net/inet.3 index cb974c9e85..43cb5bafd7 100644 --- a/src/lib/libc/net/inet.3 +++ b/src/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 -- cgit v1.2.3-55-g6feb