Wireshark-bugs: [Wireshark-bugs] [Bug 6885] New: Add proto_tree_add_bits_item()
Date: Wed, 29 Feb 2012 08:46:59 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6885

           Summary: Add proto_tree_add_bits_item()
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: wireshark@xxxxxxxxxxxxxxx


Created attachment 7917
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7917
patch for proto.c and proto.h

Build Information:
-
--
The attached patches add the ability to dissect split bit-strings as discussed
under bug 6797.

The code has also been integrated into the packet-csn1 dissector

I am enhancing the packet-gsm_rlcmac dissector to dissect (E)GPRS data blocks

In the following example of split-bits dissection, TFI, BSN and CPS are all
spilt-bits items:

GSM RLC/MAC: Payload Type: UL DATA (MCS2)
    11.. .... .... .111 = TFI: 31
    11.. .... crumb 1 of TFI (decoded above)
    ..00 01.. = CV: 1
    .... ..0. = SI: 0
    .... ...0 = R: 0
    0000 0... ..00 0000 = Block Sequence Number: 0
    0000 0... crumb 1 of Block Sequence Number (decoded above)
    .... .111 crumb 0 of TFI (decoded above)
    01.. .... .... .10. = Coding and Puncturing scheme: 9
    01.. .... crumb 1 of Coding and Puncturing scheme (decoded above)
    ..00 0000 crumb 0 of Block Sequence Number (decoded above)
    0... .... = UL SPARE: 0
    .0.. .... = PFI Indicator: 0
    ..0. .... = Resent Block Bit: 0
    ...0 0... = Split Block indicator: 0
    .... .10. crumb 0 of Coding and Puncturing scheme (decoded above)

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.