Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2001 10:44:55 +0100 (CET)
From:      Harti Brandt <brandt@fokus.gmd.de>
To:        Boris Popov <bp@butya.kz>
Cc:        <freebsd-arch@freebsd.org>, <freebsd-net@freebsd.org>
Subject:   Re: CFR: Sequential mbuf read/write extensions
Message-ID:  <Pine.BSF.4.32.0102071036000.6318-100000@beagle.fokus.gmd.de>
In-Reply-To: <Pine.BSF.4.21.0102071530140.7952-100000@lion.butya.kz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 7 Feb 2001, Boris Popov wrote:

BP>> Using 'word' and 'doubleword' is rather confusing (when speeking of words
BP>> I would think of 32 bit nowadays).
BP>
BP>	Well, it depends. For me 'word', 'dword' and 'qword' are clear
BP>from the good old 8bit days :)
BP>
BP>	If numbers in the function names looks good I can live with it.

Well, I just looked back to the bus_space stuff and discovered, that they
use suffixes of _[1234] to count the number of bytes the functions operate
on. Perhaps this is a better variant? Anyway, I think, numbers are much
clearer, than words in this case (As an example, what does ntohl operate on
if longs are 64 bit??).

As a side note:

Someone told me that Mickeysoft is trying to persuade the C
standardisation people to drop the requirement that longs should not be
shorter than int's. This is, he said, because of their braindamage with
DWORD in -zillions of header files... If I look how they continue to
cripple C, this may also slip through :-(

harti
-- 
harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private
              brandt@fokus.gmd.de, harti@begemot.org, lhbrandt@mail.ru



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.32.0102071036000.6318-100000>