Wireshark-dev: [Wireshark-dev] Don't need the chaff

Date: Mon, 6 Nov 2006 14:17:26 -0000
Hi,
 
I'm developing a dissector, now within a packet header there are 2 bytes, 5 bits relate to flags and 3 bits refer to the message. I've managed to seperate the flags into their individual bits, but I need all three of the remaining bits.
 
How do I do that?
 
Cheers  


This email and any files attached are intended for the addressee and may contain information of a confidential nature. If you are not the intended recipient, be aware that this email was sent to you in error and you should not disclose, distribute, print, copy or make other use of this email or its attachments. Such actions, in fact, may be unlawful. In compliance with the various Regulations and Acts, General Dynamics UK Limited reserves the right to monitor (and examine for viruses) all emails and email attachments, both inbound and outbound. Email communications and their attachments may not be secure or error- or virus-free and the company does not accept liability or responsibility for such matters or the consequences thereof. Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in England and Wales No: 1911653.