Hi, Iam trying for custom dissector bit wise operation octet by octet. I have used
This is 6 bit lenth.
I can able to get the bits properly. No issues on that. i want remove
I have tried another method using MASK
asked 31 May '14, 00:40 umar edited 06 Jun '14, 02:59 |
One Answer:
Have you looked at the answered 06 Jun '14, 03:54 grahamb ♦ Hi I have tried
Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
|
IMHO removing ..00 0010 = Message Type : FWD_CNTRL (0x02) is a bad choice the former let you see exactly which bits are beeing dissected and the meaning of the bits. If the bits allways occure in the same Place using proto_add_item with a bit mask may be a better choice than proto_tree_add_bits_item(). Just my 2 cents.