From: Sascha Wildner Date: Fri, 5 Sep 2008 20:43:08 +0000 (+0000) Subject: Bump .Dd, add .Lb, and use 'RFC xxxx'. X-Git-Tag: v2.1.1~489 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/306a071492e3c0f62376683df815286c3a101dad Bump .Dd, add .Lb, and use 'RFC xxxx'. --- diff --git a/lib/libc/net/inet6_opt_init.3 b/lib/libc/net/inet6_opt_init.3 index 29286c3cd2..e97e2c020e 100644 --- a/lib/libc/net/inet6_opt_init.3 +++ b/lib/libc/net/inet6_opt_init.3 @@ -28,9 +28,9 @@ .\" SUCH DAMAGE. .\" .\" $FreeBSD: src/lib/libc/net/inet6_opt_init.3,v 1.10 2005/11/23 16:07:54 ru Exp $ -.\" $DragonFly: src/lib/libc/net/inet6_opt_init.3,v 1.1 2008/09/04 09:08:21 hasso Exp $ +.\" $DragonFly: src/lib/libc/net/inet6_opt_init.3,v 1.2 2008/09/05 20:43:08 swildner Exp $ .\" -.Dd December 23, 2004 +.Dd September 4, 2008 .Dt INET6_OPT_INIT 3 .Os .\" @@ -44,6 +44,8 @@ .Nm inet6_opt_get_val .Nd IPv6 Hop-by-Hop and Destination Options manipulation .\" +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .In netinet/in.h .Ft "int" @@ -68,9 +70,9 @@ The advanced sockets API defines a set of functions to help applications create and manipulate Hop-by-Hop and Destination options. This man page describes the functions specified in -IETF Draft RFC3542. +IETF Draft RFC 3542. These functions use the -formatting rules specified in Appendix B in RFC2460, i.e., that the +formatting rules specified in Appendix B in RFC 2460, i.e., that the largest field is placed last in the option. The function prototypes for these functions are all contained in the @@ -207,7 +209,7 @@ inserted into the extension header, and the argument indicates how much data to copy. .Pp The caller should ensure that each field is aligned on its natural -boundaries as described in Appendix B of RFC2460. +boundaries as described in Appendix B of RFC 2460. .Pp The function returns the offset for the next field which is calculated as .Fa offset @@ -290,7 +292,7 @@ value should be extracted; the first byte of option data is specified by an offset of zero. .Pp It is expected that each field is aligned on its natural boundaries as -described in Appendix B of RFC2460. +described in Appendix B of RFC 2460. .Pp The function returns the offset for the next field by calculating @@ -306,7 +308,7 @@ All the functions return on an error. .\" .Sh EXAMPLES -RFC3542 gives comprehensive examples in Section 23. +RFC 3542 gives comprehensive examples in Section 23. .Pp KAME also provides examples in the .Pa advapitest @@ -319,20 +321,20 @@ directory of its kit. .%A E. Nordmark .%A T. Jinmei .%T "Advanced Sockets API for IPv6" -.%N RFC3542 +.%N RFC 3542 .%D October 2002 .Re .Rs .%A S. Deering .%A R. Hinden .%T "Internet Protocol, Version 6 (IPv6) Specification" -.%N RFC2460 +.%N RFC 2460 .%D December 1998 .Re .Sh STANDARDS The functions are documented in .Dq Advanced Sockets API for IPv6 -.Pq RFC3542 . +.Pq RFC 3542 . .\" .Sh HISTORY The implementation first appeared in KAME advanced networking kit. diff --git a/lib/libc/net/inet6_rth_space.3 b/lib/libc/net/inet6_rth_space.3 index 9339a0b8c4..051bd849f6 100644 --- a/lib/libc/net/inet6_rth_space.3 +++ b/lib/libc/net/inet6_rth_space.3 @@ -28,9 +28,9 @@ .\" SUCH DAMAGE. .\" .\" $FreeBSD: src/lib/libc/net/inet6_rth_space.3,v 1.10 2005/07/31 03:30:44 keramida Exp $ -.\" $DragonFly: src/lib/libc/net/inet6_rth_space.3,v 1.1 2008/09/04 09:08:21 hasso Exp $ +.\" $DragonFly: src/lib/libc/net/inet6_rth_space.3,v 1.2 2008/09/05 20:43:08 swildner Exp $ .\" -.Dd December 24, 2004 +.Dd September 4, 2008 .Dt INET6_RTH_SPACE 3 .Os .\" @@ -43,6 +43,8 @@ .Nm inet6_rth_getaddr .Nd IPv6 Routing Header Options manipulation .\" +.Sh LIBRARY +.Lb libc .Sh SYNOPSIS .In netinet/in.h .Ft socklen_t @@ -218,7 +220,7 @@ functions return 0 on success, or \-1 upon an error. .%A S. Deering .%A R. Hinden .%T "Internet Protocol, Version 6 (IPv6) Specification" -.%N RFC2460 +.%N RFC 2460 .%D December 1998 .Re .Sh HISTORY