Wireshark-dev: [Wireshark-dev] Issue with add_new_data_source
From: Srinivasa Goda <[email protected]>
Date: Wed, 12 Aug 2009 20:04:00 -0700

I'm trying to decode a message in tcp segment and display it under new tab with "decoded PDU". In my call back dissector, i'm doing following

tvbuff_t* d_tvb = tvb_new_real_data(dchunks, total_len,
                                               tvb_length_remaining(tvb, offset));
      tvb_set_child_real_data_tvbuff(tvb, d_tvb);
      add_new_data_source(pinfo, d_tvb, "decoded PDU");
      tvb = d_tvb;

<follows dissector code>

in my wireshark display window, HEX display window, i'm not seeing any tab with "decoded PDU". Any help is appreciated.

Best Regards,

Beta Tester Badge 3

Get your vacation photos on your phone! Click here.