Wireshark-bugs: [Wireshark-bugs] [Bug 9068] BSMAP dissector does not decode Signal values
Date: Fri, 23 Aug 2013 21:32:49 +0000

Comment # 6 on bug 9068 from
Thanks for the direction and suggestions.  I think the other code my colleague
has is a plugin, not built in natively like the dissector.  And the code looks
like it's pretty much all there in pacekt-ansi_a.c, it's just not called in the
functions.  I'm really close to having the dissector working since I discovered
that there is already a function in packet-ansi_a.c that performs the necessary
dissection.  But I'm not getting the correct values out of it.

Basically what I've done is add the following starting on line 6520 of
packet-ansi_a.c

            case ANSI_FWD_MS_INFO_REC_SIGNAL:
                curr_offset += elem_signal(tvb, pinfo, tree, curr_offset, len,
add_string, string_len);

                break;

There are a couple of issues that I haven't been able to resolve with the
elem_signal function itself (it already existed in the source code).  It
doesn't seem to output the bits properly with the 'other_decode_bitfield_value'
function.  I've tried to figure out how exactly that works, but I get stuck
since I can't figure out how a_bigbuf works (does it get set somewhere or do I
need to manually set it?  elem_signal doesn't seem to set it anywhere).  And
more importantly it's not getting the value that I'm expecting with the oct =
tvb_get_guint8(tvb, curr_offset) function.

Any help is greatly appreciated.

-Jon


You are receiving this mail because:
  • You are watching all bug changes.