diff options
author | jmc <> | 2012-09-27 11:31:58 +0000 |
---|---|---|
committer | jmc <> | 2012-09-27 11:31:58 +0000 |
commit | 59625e84c89bf82e1c6d20c55785b618eb56ea72 (patch) | |
tree | 0e9da89db4dc2b425aaa66ffdabbc19a13e8c404 /src/lib/libc/net/inet.3 | |
parent | f626b8d9e72b5e492f382231234a5df56d50f9ad (diff) | |
download | openbsd-59625e84c89bf82e1c6d20c55785b618eb56ea72.tar.gz openbsd-59625e84c89bf82e1c6d20c55785b618eb56ea72.tar.bz2 openbsd-59625e84c89bf82e1c6d20c55785b618eb56ea72.zip |
last stage of rfc changes, using consistent Rs/Re blocks, and moving the
references into a STANDARDS section;
Diffstat (limited to 'src/lib/libc/net/inet.3')
-rw-r--r-- | src/lib/libc/net/inet.3 | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/src/lib/libc/net/inet.3 b/src/lib/libc/net/inet.3 index 4521827466..d96a824532 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.24 2012/08/20 19:38:55 jmc Exp $ | 1 | .\" $OpenBSD: inet.3,v 1.25 2012/09/27 11:31:58 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 |
@@ -30,7 +30,7 @@ | |||
30 | .\" | 30 | .\" |
31 | .\" @(#)inet.3 8.1 (Berkeley) 6/4/93 | 31 | .\" @(#)inet.3 8.1 (Berkeley) 6/4/93 |
32 | .\" | 32 | .\" |
33 | .Dd $Mdocdate: August 20 2012 $ | 33 | .Dd $Mdocdate: September 27 2012 $ |
34 | .Dt INET 3 | 34 | .Dt INET 3 |
35 | .Os | 35 | .Os |
36 | .Sh NAME | 36 | .Sh NAME |
@@ -277,6 +277,20 @@ or in compressed form: | |||
277 | .Xr inet_net 3 , | 277 | .Xr inet_net 3 , |
278 | .Xr hosts 5 , | 278 | .Xr hosts 5 , |
279 | .Xr networks 5 | 279 | .Xr networks 5 |
280 | .Sh STANDARDS | ||
281 | The | ||
282 | .Nm inet_ntop | ||
283 | and | ||
284 | .Nm inet_pton | ||
285 | functions conform to the IETF IPv6 BSD API and address formatting | ||
286 | specifications. | ||
287 | Note that | ||
288 | .Nm inet_pton | ||
289 | does not accept 1-, 2-, or 3-part dotted addresses; all four parts | ||
290 | must be specified. | ||
291 | This is a narrower input set than that accepted by | ||
292 | .Nm inet_aton . | ||
293 | .Pp | ||
280 | .Rs | 294 | .Rs |
281 | .%A R. Gilligan | 295 | .%A R. Gilligan |
282 | .%A S. Thomson | 296 | .%A S. Thomson |
@@ -287,6 +301,7 @@ or in compressed form: | |||
287 | .%R RFC 3493 | 301 | .%R RFC 3493 |
288 | .%T Basic Socket Interface Extensions for IPv6 | 302 | .%T Basic Socket Interface Extensions for IPv6 |
289 | .Re | 303 | .Re |
304 | .Pp | ||
290 | .Rs | 305 | .Rs |
291 | .%A R. Hinden | 306 | .%A R. Hinden |
292 | .%A S. Deering | 307 | .%A S. Deering |
@@ -294,19 +309,6 @@ or in compressed form: | |||
294 | .%R RFC 4291 | 309 | .%R RFC 4291 |
295 | .%T IP Version 6 Addressing Architecture | 310 | .%T IP Version 6 Addressing Architecture |
296 | .Re | 311 | .Re |
297 | .Sh STANDARDS | ||
298 | The | ||
299 | .Nm inet_ntop | ||
300 | and | ||
301 | .Nm inet_pton | ||
302 | functions conform to the IETF IPv6 BSD API and address formatting | ||
303 | specifications. | ||
304 | Note that | ||
305 | .Nm inet_pton | ||
306 | does not accept 1-, 2-, or 3-part dotted addresses; all four parts | ||
307 | must be specified. | ||
308 | This is a narrower input set than that accepted by | ||
309 | .Nm inet_aton . | ||
310 | .Sh HISTORY | 312 | .Sh HISTORY |
311 | The | 313 | The |
312 | .Nm inet_addr , | 314 | .Nm inet_addr , |