diff options
| author | jmc <> | 2003-09-09 12:00:39 +0000 |
|---|---|---|
| committer | jmc <> | 2003-09-09 12:00:39 +0000 |
| commit | 4839ac8dc0d4f903aa90bf5c373015aa7fa0d569 (patch) | |
| tree | c4ccbaf18d5681927f84ef3d2b8f1a31e9d2638b /src/lib/libc | |
| parent | 65400201a16050f539ec67dac95fb3747a0ac949 (diff) | |
| download | openbsd-4839ac8dc0d4f903aa90bf5c373015aa7fa0d569.tar.gz openbsd-4839ac8dc0d4f903aa90bf5c373015aa7fa0d569.tar.bz2 openbsd-4839ac8dc0d4f903aa90bf5c373015aa7fa0d569.zip | |
update RFCs (from NetBSD);
inet_makeaddr() uses in_addr_t types, not unsigned long.
ok itojun@
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libc/net/inet.3 | 16 |
1 files changed, 13 insertions, 3 deletions
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 @@ | |||
| 1 | .\" $OpenBSD: inet.3,v 1.17 2003/08/08 09:26:02 jmc Exp $ | 1 | .\" $OpenBSD: inet.3,v 1.18 2003/09/09 12:00:39 jmc Exp $ |
| 2 | .\" $NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $ | 2 | .\" $NetBSD: inet.3,v 1.7 1997/06/18 02:25:24 lukem Exp $ |
| 3 | .\" | 3 | .\" |
| 4 | .\" Copyright (c) 1983, 1990, 1991, 1993 | 4 | .\" Copyright (c) 1983, 1990, 1991, 1993 |
| @@ -56,7 +56,7 @@ | |||
| 56 | .Ft in_addr_t | 56 | .Ft in_addr_t |
| 57 | .Fn inet_lnaof "struct in_addr in" | 57 | .Fn inet_lnaof "struct in_addr in" |
| 58 | .Ft struct in_addr | 58 | .Ft struct in_addr |
| 59 | .Fn inet_makeaddr "unsigned long net" "unsigned long lna" | 59 | .Fn inet_makeaddr "in_addr_t net" "in_addr_t lna" |
| 60 | .Ft in_addr_t | 60 | .Ft in_addr_t |
| 61 | .Fn inet_netof "struct in_addr in" | 61 | .Fn inet_netof "struct in_addr in" |
| 62 | .Ft in_addr_t | 62 | .Ft in_addr_t |
| @@ -201,7 +201,7 @@ and | |||
| 201 | .Xr getnameinfo 3 | 201 | .Xr getnameinfo 3 |
| 202 | are recommended rather than the functions presented here. | 202 | are recommended rather than the functions presented here. |
| 203 | .Pp | 203 | .Pp |
| 204 | The presentation format of an IPv6 address is given in [RFC 1884 2.2]: | 204 | The presentation format of an IPv6 address is given in RFC 2373: |
| 205 | .Pp | 205 | .Pp |
| 206 | There are three conventional forms for representing IPv6 addresses as | 206 | There are three conventional forms for representing IPv6 addresses as |
| 207 | text strings: | 207 | text strings: |
| @@ -286,6 +286,16 @@ for malformed requests. | |||
| 286 | .Xr inet_net 3 , | 286 | .Xr inet_net 3 , |
| 287 | .Xr hosts 5 , | 287 | .Xr hosts 5 , |
| 288 | .Xr networks 5 | 288 | .Xr networks 5 |
| 289 | .Rs | ||
| 290 | .%R RFC 2373 | ||
| 291 | .%D July 1998 | ||
| 292 | .%T "IP Version 6 Addressing Architecture" | ||
| 293 | .Re | ||
| 294 | .Rs | ||
| 295 | .%R RFC 3493 | ||
| 296 | .%D February 2003 | ||
| 297 | .%T "Basic Socket Interface Extensions for IPv6" | ||
| 298 | .Re | ||
| 289 | .Sh STANDARDS | 299 | .Sh STANDARDS |
| 290 | The | 300 | The |
| 291 | .Nm inet_ntop | 301 | .Nm inet_ntop |
