summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmc <>2003-08-08 09:26:02 +0000
committerjmc <>2003-08-08 09:26:02 +0000
commitf52c7b7796468cc9251eb651a16f15f70f8adaaf (patch)
treedde2d56d86614c0706cb4d151ad7a6b0f998f52d
parentff3a9648adf246b203b1cd4fa18e0185786f5c89 (diff)
downloadopenbsd-f52c7b7796468cc9251eb651a16f15f70f8adaaf.tar.gz
openbsd-f52c7b7796468cc9251eb651a16f15f70f8adaaf.tar.bz2
openbsd-f52c7b7796468cc9251eb651a16f15f70f8adaaf.zip
refer to RFCs consistently (RFC XXXX);
-rw-r--r--src/lib/libc/net/getaddrinfo.38
-rw-r--r--src/lib/libc/net/getnameinfo.310
-rw-r--r--src/lib/libc/net/if_indextoname.36
-rw-r--r--src/lib/libc/net/inet.34
-rw-r--r--src/lib/libc/net/inet6_option_space.316
-rw-r--r--src/lib/libc/net/inet6_rthdr_space.316
-rw-r--r--src/lib/libc/net/resolver.314
7 files changed, 37 insertions, 37 deletions
diff --git a/src/lib/libc/net/getaddrinfo.3 b/src/lib/libc/net/getaddrinfo.3
index f91681dbcd..a9004e3207 100644
--- a/src/lib/libc/net/getaddrinfo.3
+++ b/src/lib/libc/net/getaddrinfo.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: getaddrinfo.3,v 1.24 2003/07/27 15:34:03 jmc Exp $ 1.\" $OpenBSD: getaddrinfo.3,v 1.25 2003/08/08 09:26:02 jmc Exp $
2.\" $KAME: getaddrinfo.3,v 1.29 2001/02/12 09:24:45 itojun Exp $ 2.\" $KAME: getaddrinfo.3,v 1.29 2001/02/12 09:24:45 itojun Exp $
3.\" 3.\"
4.\" Copyright (c) 1983, 1987, 1991, 1993 4.\" Copyright (c) 1983, 1987, 1991, 1993
@@ -542,7 +542,7 @@ indicate an unknown error.
542.%A J. Bound 542.%A J. Bound
543.%A W. Stevens 543.%A W. Stevens
544.%T Basic Socket Interface Extensions for IPv6 544.%T Basic Socket Interface Extensions for IPv6
545.%R RFC2553 545.%R RFC 2553
546.%D March 1999 546.%D March 1999
547.Re 547.Re
548.Rs 548.Rs
@@ -566,7 +566,7 @@ The
566function is defined in IEEE POSIX 1003.1g draft specification, 566function is defined in IEEE POSIX 1003.1g draft specification,
567and documented in 567and documented in
568.Dq Basic Socket Interface Extensions for IPv6 568.Dq Basic Socket Interface Extensions for IPv6
569.Pq RFC2553 . 569.Pq RFC 2553 .
570.\" 570.\"
571.Sh HISTORY 571.Sh HISTORY
572The implementation first appeared in WIDE Hydrangea IPv6 protocol stack kit. 572The implementation first appeared in WIDE Hydrangea IPv6 protocol stack kit.
@@ -574,4 +574,4 @@ The implementation first appeared in WIDE Hydrangea IPv6 protocol stack kit.
574.Sh BUGS 574.Sh BUGS
575The current implementation is not thread-safe. 575The current implementation is not thread-safe.
576.Pp 576.Pp
577The text was shamelessly copied from RFC2553. 577The text was shamelessly copied from RFC 2553.
diff --git a/src/lib/libc/net/getnameinfo.3 b/src/lib/libc/net/getnameinfo.3
index 606a95572c..03b6149e01 100644
--- a/src/lib/libc/net/getnameinfo.3
+++ b/src/lib/libc/net/getnameinfo.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: getnameinfo.3,v 1.21 2003/06/02 20:18:35 millert Exp $ 1.\" $OpenBSD: getnameinfo.3,v 1.22 2003/08/08 09:26:02 jmc Exp $
2.\" $KAME: getnameinfo.3,v 1.20 2001/01/05 13:37:37 itojun Exp $ 2.\" $KAME: getnameinfo.3,v 1.20 2001/01/05 13:37:37 itojun Exp $
3.\" 3.\"
4.\" Copyright (c) 1983, 1987, 1991, 1993 4.\" Copyright (c) 1983, 1987, 1991, 1993
@@ -253,7 +253,7 @@ The error code can be found in errno.
253.%A J. Bound 253.%A J. Bound
254.%A W. Stevens 254.%A W. Stevens
255.%T Basic Socket Interface Extensions for IPv6 255.%T Basic Socket Interface Extensions for IPv6
256.%R RFC2553 256.%R RFC 2553
257.%D March 1999 257.%D March 1999
258.Re 258.Re
259.Rs 259.Rs
@@ -277,7 +277,7 @@ The
277function is defined in IEEE POSIX 1003.1g draft specification, 277function is defined in IEEE POSIX 1003.1g draft specification,
278and documented in 278and documented in
279.Dq Basic Socket Interface Extensions for IPv6 279.Dq Basic Socket Interface Extensions for IPv6
280.Pq RFC2553 . 280.Pq RFC 2553 .
281.\" 281.\"
282.Sh HISTORY 282.Sh HISTORY
283The implementation first appeared in WIDE Hydrangea IPv6 protocol stack kit. 283The implementation first appeared in WIDE Hydrangea IPv6 protocol stack kit.
@@ -285,9 +285,9 @@ The implementation first appeared in WIDE Hydrangea IPv6 protocol stack kit.
285.Sh BUGS 285.Sh BUGS
286The current implementation is not thread-safe. 286The current implementation is not thread-safe.
287.Pp 287.Pp
288The text was shamelessly copied from RFC2553. 288The text was shamelessly copied from RFC 2553.
289.Pp 289.Pp
290.Ox 290.Ox
291intentionally uses a different 291intentionally uses a different
292.Dv NI_MAXHOST 292.Dv NI_MAXHOST
293value from what RFC2553 suggests, to avoid buffer length handling mistakes. 293value from what RFC 2553 suggests, to avoid buffer length handling mistakes.
diff --git a/src/lib/libc/net/if_indextoname.3 b/src/lib/libc/net/if_indextoname.3
index 2b7073328f..30293dcdf2 100644
--- a/src/lib/libc/net/if_indextoname.3
+++ b/src/lib/libc/net/if_indextoname.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: if_indextoname.3,v 1.6 2003/06/02 20:18:35 millert Exp $ 1.\" $OpenBSD: if_indextoname.3,v 1.7 2003/08/08 09:26:02 jmc Exp $
2.\" Copyright (c) 1983, 1991, 1993 2.\" Copyright (c) 1983, 1991, 1993
3.\" The Regents of the University of California. All rights reserved. 3.\" The Regents of the University of California. All rights reserved.
4.\" 4.\"
@@ -130,7 +130,7 @@ on errors.
130.Xr networking 4 130.Xr networking 4
131.Pp 131.Pp
132R. Gilligan, S. Thomson, J. Bound, and W. Stevens, 132R. Gilligan, S. Thomson, J. Bound, and W. Stevens,
133``Basic Socket Interface Extensions for IPv6,'' RFC2553, March 1999. 133``Basic Socket Interface Extensions for IPv6,'' RFC 2553, March 1999.
134.Sh STANDARDS 134.Sh STANDARDS
135These functions are defined in ``Basic Socket Interface Extensions for IPv6'' 135These functions are defined in ``Basic Socket Interface Extensions for IPv6''
136.Pq RFC2533 . 136.Pq RFC 2533 .
diff --git a/src/lib/libc/net/inet.3 b/src/lib/libc/net/inet.3
index 73beb8d7a4..cb974c9e85 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.16 2003/06/02 20:18:35 millert Exp $ 1.\" $OpenBSD: inet.3,v 1.17 2003/08/08 09:26:02 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
@@ -201,7 +201,7 @@ and
201.Xr getnameinfo 3 201.Xr getnameinfo 3
202are recommended rather than the functions presented here. 202are recommended rather than the functions presented here.
203.Pp 203.Pp
204The presentation format of an IPv6 address is given in [RFC1884 2.2]: 204The presentation format of an IPv6 address is given in [RFC 1884 2.2]:
205.Pp 205.Pp
206There are three conventional forms for representing IPv6 addresses as 206There are three conventional forms for representing IPv6 addresses as
207text strings: 207text strings:
diff --git a/src/lib/libc/net/inet6_option_space.3 b/src/lib/libc/net/inet6_option_space.3
index 8757641eac..4e5dc22711 100644
--- a/src/lib/libc/net/inet6_option_space.3
+++ b/src/lib/libc/net/inet6_option_space.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: inet6_option_space.3,v 1.12 2003/06/02 20:18:35 millert Exp $ 1.\" $OpenBSD: inet6_option_space.3,v 1.13 2003/08/08 09:26:02 jmc Exp $
2.\" $KAME: inet6_option_space.3,v 1.7 2000/05/17 14:32:13 itojun Exp $ 2.\" $KAME: inet6_option_space.3,v 1.7 2000/05/17 14:32:13 itojun Exp $
3.\" 3.\"
4.\" Copyright (c) 1983, 1987, 1991, 1993 4.\" Copyright (c) 1983, 1987, 1991, 1993
@@ -61,7 +61,7 @@
61Building and parsing the Hop-by-Hop and Destination options is 61Building and parsing the Hop-by-Hop and Destination options is
62complicated due to alignment constraints, padding and 62complicated due to alignment constraints, padding and
63ancillary data manipulation. 63ancillary data manipulation.
64RFC2292 defines a set of functions to help the application. 64RFC 2292 defines a set of functions to help the application.
65The function prototypes for 65The function prototypes for
66these functions are all in the 66these functions are all in the
67.Aq Pa netinet/in.h 67.Aq Pa netinet/in.h
@@ -99,7 +99,7 @@ is the number of options to be stored in the object.
99This is of little consequence, since it is assumed that most 99This is of little consequence, since it is assumed that most
100Hop-by-Hop option headers and Destination option headers carry only 100Hop-by-Hop option headers and Destination option headers carry only
101one option 101one option
102.Pq appendix B of [RFC-2460] . 102.Pq appendix B of [RFC 2460] .
103.\" 103.\"
104.Ss inet6_option_init 104.Ss inet6_option_init
105.Fn inet6_option_init 105.Fn inet6_option_init
@@ -386,7 +386,7 @@ is not
386.Dv NULL . 386.Dv NULL .
387.\" 387.\"
388.Sh EXAMPLES 388.Sh EXAMPLES
389RFC2292 gives comprehensive examples in chapter 6. 389RFC 2292 gives comprehensive examples in chapter 6.
390.\" 390.\"
391.Sh DIAGNOSTICS 391.Sh DIAGNOSTICS
392.Fn inet6_option_init 392.Fn inet6_option_init
@@ -420,14 +420,14 @@ value.
420.%A W. Stevens 420.%A W. Stevens
421.%A M. Thomas 421.%A M. Thomas
422.%T "Advanced Sockets API for IPv6" 422.%T "Advanced Sockets API for IPv6"
423.%N RFC2292 423.%N RFC 2292
424.%D February 1998 424.%D February 1998
425.Re 425.Re
426.Rs 426.Rs
427.%A S. Deering 427.%A S. Deering
428.%A R. Hinden 428.%A R. Hinden
429.%T "Internet Protocol, Version 6 (IPv6) Specification" 429.%T "Internet Protocol, Version 6 (IPv6) Specification"
430.%N RFC2460 430.%N RFC 2460
431.%D December 1998 431.%D December 1998
432.Re 432.Re
433.\" 433.\"
@@ -435,10 +435,10 @@ value.
435The functions 435The functions
436are documented in 436are documented in
437.Dq Advanced Sockets API for IPv6 437.Dq Advanced Sockets API for IPv6
438.Pq RFC2292 . 438.Pq RFC 2292 .
439.\" 439.\"
440.Sh HISTORY 440.Sh HISTORY
441The implementation first appeared in KAME advanced networking kit. 441The implementation first appeared in KAME advanced networking kit.
442.\" 442.\"
443.Sh BUGS 443.Sh BUGS
444The text was shamelessly copied from RFC2292. 444The text was shamelessly copied from RFC 2292.
diff --git a/src/lib/libc/net/inet6_rthdr_space.3 b/src/lib/libc/net/inet6_rthdr_space.3
index 4db0fdd5e0..33b209af4f 100644
--- a/src/lib/libc/net/inet6_rthdr_space.3
+++ b/src/lib/libc/net/inet6_rthdr_space.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: inet6_rthdr_space.3,v 1.12 2003/06/02 20:18:35 millert Exp $ 1.\" $OpenBSD: inet6_rthdr_space.3,v 1.13 2003/08/08 09:26:02 jmc Exp $
2.\" $KAME: inet6_rthdr_space.3,v 1.8 2000/05/17 14:30:15 itojun Exp $ 2.\" $KAME: inet6_rthdr_space.3,v 1.8 2000/05/17 14:30:15 itojun Exp $
3.\" 3.\"
4.\" Copyright (c) 1983, 1987, 1991, 1993 4.\" Copyright (c) 1983, 1987, 1991, 1993
@@ -63,7 +63,7 @@
63.Fn inet6_rthdr_getflags "const struct cmsghdr *cmsg" "int index" 63.Fn inet6_rthdr_getflags "const struct cmsghdr *cmsg" "int index"
64.\" 64.\"
65.Sh DESCRIPTION 65.Sh DESCRIPTION
66RFC2292 IPv6 advanced API defines eight 66RFC 2292 IPv6 advanced API defines eight
67functions that the application calls to build and examine a Routing 67functions that the application calls to build and examine a Routing
68header. 68header.
69Four functions build a Routing header: 69Four functions build a Routing header:
@@ -258,10 +258,10 @@ or
258Upon an error the return value of the function is -1. 258Upon an error the return value of the function is -1.
259.Pp 259.Pp
260Note: Addresses are indexed starting at 1, and flags starting at 0, 260Note: Addresses are indexed starting at 1, and flags starting at 0,
261to maintain consistency with the terminology and figures in RFC2460. 261to maintain consistency with the terminology and figures in RFC 2460.
262.\" 262.\"
263.Sh EXAMPLES 263.Sh EXAMPLES
264RFC2292 gives comprehensive examples in chapter 8. 264RFC 2292 gives comprehensive examples in chapter 8.
265.\" 265.\"
266.Sh DIAGNOSTICS 266.Sh DIAGNOSTICS
267.Fn inet6_rthdr_space 267.Fn inet6_rthdr_space
@@ -290,14 +290,14 @@ return -1 on error.
290.%A W. Stevens 290.%A W. Stevens
291.%A M. Thomas 291.%A M. Thomas
292.%T "Advanced Sockets API for IPv6" 292.%T "Advanced Sockets API for IPv6"
293.%N RFC2292 293.%N RFC 2292
294.%D February 1998 294.%D February 1998
295.Re 295.Re
296.Rs 296.Rs
297.%A S. Deering 297.%A S. Deering
298.%A R. Hinden 298.%A R. Hinden
299.%T "Internet Protocol, Version 6 (IPv6) Specification" 299.%T "Internet Protocol, Version 6 (IPv6) Specification"
300.%N RFC2460 300.%N RFC 2460
301.%D December 1998 301.%D December 1998
302.Re 302.Re
303.\" 303.\"
@@ -305,13 +305,13 @@ return -1 on error.
305The functions 305The functions
306are documented in 306are documented in
307.Dq Advanced Sockets API for IPv6 307.Dq Advanced Sockets API for IPv6
308.Pq RFC2292 . 308.Pq RFC 2292 .
309.\" 309.\"
310.Sh HISTORY 310.Sh HISTORY
311The implementation first appeared in KAME advanced networking kit. 311The implementation first appeared in KAME advanced networking kit.
312.\" 312.\"
313.Sh BUGS 313.Sh BUGS
314The text was shamelessly copied from RFC2292. 314The text was shamelessly copied from RFC 2292.
315.Pp 315.Pp
316.Fn inet6_rthdr_reverse 316.Fn inet6_rthdr_reverse
317is not implemented yet. 317is not implemented yet.
diff --git a/src/lib/libc/net/resolver.3 b/src/lib/libc/net/resolver.3
index bb0ac86009..577420e9f1 100644
--- a/src/lib/libc/net/resolver.3
+++ b/src/lib/libc/net/resolver.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: resolver.3,v 1.16 2003/06/02 20:18:36 millert Exp $ 1.\" $OpenBSD: resolver.3,v 1.17 2003/08/08 09:26:02 jmc Exp $
2.\" 2.\"
3.\" Copyright (c) 1985, 1991, 1993 3.\" Copyright (c) 1985, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -325,12 +325,12 @@ see
325.Xr hostname 7 , 325.Xr hostname 7 ,
326.Xr named 8 326.Xr named 8
327.Pp 327.Pp
328.%T RFC1032 , 328.%T RFC 1032 ,
329.%T RFC1033 , 329.%T RFC 1033 ,
330.%T RFC1034 , 330.%T RFC 1034 ,
331.%T RFC1035 , 331.%T RFC 1035 ,
332.%T RFC1535 , 332.%T RFC 1535 ,
333.%T RFC974 333.%T RFC 974
334.Rs 334.Rs
335.%T "Name Server Operations Guide for BIND" 335.%T "Name Server Operations Guide for BIND"
336.Re 336.Re