Date: Fri, 30 Jul 1999 19:04:31 +1000 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, des@flood.ping.uio.no Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, green@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet ip_fw.c Message-ID: <199907300904.TAA29532@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> > > > > 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. That's why I said "when the number of bts in a byte is actually wanted". Strangely enough, it is actually wanted in the code changed by the commit (which involves a bitmap implemented using an array of unsigned values). This has nothing to do with network bytes. Bruce 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?199907300904.TAA29532>