Ethereal-dev: [Ethereal-dev] Adding 6 bit fields to a tree for Nortel's Optical protocol

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Charles Wilkinson <c_s_wilkinson@xxxxxxxxxxx>
Date: Tue, 30 Aug 2005 10:38:23 +0100 (BST)
Hi list, me again, I solved the other problem and have
only 6 bytes left to dissect in order for the optical
protocol to be functional, the first 20 bytes were a
breaze as I could re-use alot of the IP header code,
the alignements were the same but many fields were
unused
I need to add a 6-bit field to a protocol tree, how
can I  add a non-bit-aligned field to a tree.

I have bitmasked a byte, and managed to obtain the 6
bits but can't display it without a bug message. Pls
advice
All the best
Charles


		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com