From: jmc Date: Fri, 29 Aug 2008 08:13:08 +0000 (+0000) Subject: MSIZE and MCLBYTES are now defined in sys/param.h; from Jordan Gordeev X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bfd8191009fbdaf184cfb0f6db1ddbb2589899c8;p=openbsd MSIZE and MCLBYTES are now defined in sys/param.h; from Jordan Gordeev ok thib --- diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9 index 4f098151c12..c915497b4ed 100644 --- a/share/man/man9/mbuf.9 +++ b/share/man/man9/mbuf.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mbuf.9,v 1.32 2008/04/13 14:13:14 jmc Exp $ +.\" $OpenBSD: mbuf.9,v 1.33 2008/08/29 08:13:08 jmc Exp $ .\" .\" Copyright (c) 2001 Jean-Jacques Bernard-Gundol .\" All rights reserved. @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: April 13 2008 $ +.Dd $Mdocdate: August 29 2008 $ .Dt MBUF 9 .Os .Sh NAME @@ -259,7 +259,7 @@ for mbuf statistics. An external cluster is used when the data to hold in the mbuf is large. The size of an external cluster is MCLBYTES -.Pq also defined in Aq Pa machine/param.h . +.Pq also defined in Aq Pa sys/param.h . A cluster should be used when the size of the data reach MINCLSIZE (the minimum size to be held by an external cluster). .Pp diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h index 0a63337550a..a5bcd3d8b06 100644 --- a/sys/sys/mbuf.h +++ b/sys/sys/mbuf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mbuf.h,v 1.102 2008/08/14 19:39:40 claudio Exp $ */ +/* $OpenBSD: mbuf.h,v 1.103 2008/08/29 08:13:08 jmc Exp $ */ /* $NetBSD: mbuf.h,v 1.19 1996/02/09 18:25:14 christos Exp $ */ /* @@ -37,9 +37,9 @@ #include /* - * Mbufs are of a single size, MSIZE (machine/param.h), which + * Mbufs are of a single size, MSIZE (sys/param.h), which * includes overhead. An mbuf may add a single "mbuf cluster" of size - * MCLBYTES (also in machine/param.h), which has no additional overhead + * MCLBYTES (also in sys/param.h), which has no additional overhead * and is used instead of the internal data area; this is done when * at least MINCLSIZE of data must be stored. */