Date: Fri, 30 Jul 1999 08:56:12 -0700 (PDT) From: "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com> To: des@flood.ping.uio.no (Dag-Erling Smorgrav) Cc: bde@zeta.org.au (Bruce Evans), green@FreeBSD.org, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet ip_fw.c Message-ID: <199907301556.IAA05652@gndrsh.aac.dev.com> In-Reply-To: <xzppv1a38dv.fsf@flood.ping.uio.no> from Dag-Erling Smorgrav at "Jul 30, 1999 09:27:08 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> Bruce Evans <bde@zeta.org.au> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907301556.IAA05652>