From owner-cvs-all Fri Jul 30 8:57: 6 1999 Delivered-To: cvs-all@freebsd.org Received: from gndrsh.aac.dev.com (GndRsh.aac.dev.com [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id 7ADF915706; Fri, 30 Jul 1999 08:56:55 -0700 (PDT) (envelope-from rgrimes@gndrsh.aac.dev.com) Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.9.3/8.9.3) id IAA05652; Fri, 30 Jul 1999 08:56:12 -0700 (PDT) (envelope-from rgrimes) From: "Rodney W. Grimes" Message-Id: <199907301556.IAA05652@gndrsh.aac.dev.com> Subject: Re: cvs commit: src/sys/netinet ip_fw.c In-Reply-To: from Dag-Erling Smorgrav at "Jul 30, 1999 09:27:08 am" To: des@flood.ping.uio.no (Dag-Erling Smorgrav) Date: Fri, 30 Jul 1999 08:56:12 -0700 (PDT) Cc: bde@zeta.org.au (Bruce Evans), green@FreeBSD.org, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > Bruce Evans writes: > > > > > > 8 -> NBBy > > > > > "number of bits by byte"? > > > > Yep, that's exactly what it is. NBBY is much preferred to hardcoding 8 :) > > > BITS_PER_BYTE is much preferred to NBBY. > > You mean "Standard C's CHAR_BIT is much preferred to NBBy" when the number > > of bits in a byte is actually wanted. > > Yes, but that's not what's wanted here. Or rather, what's wanted here > is the number of bits per *network* byte. *network* byte -> octet, hence NBBy -> NBO, or BITS_PER_OCTET :-) -- Rod Grimes - KD7CAX - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message