Hi Yann, In fact I hoped there is a way to get the info back from the tree once it is populated by the dissector.
But I return to my first idea that was to populate the COL_INFO during the dissection (at this time it is partially working, thx to Anders). Regards, Xavier. -----Message d'origine----- De : wireshark-dev-boun...@wireshark.org [mailto:wireshark-dev-boun...@wireshark.org] De la part de BARILLY YANN Envoyé : vendredi 13 février 2009 16:18 À : Developer support list for Wireshark Objet : Re: [Wireshark-dev] Problems to fill COL_INFO in a new dissector Hi, I don't think you can get the info without find it in the tvbuff. In my opinion, 2 possibilities: - if the data is always at the same position, set an offset : tvb_get_*(tvb(, ), STANDARD_OFFSET(, length)); - when you populate, update the COLL_INFO : if (check_col(pinfo->cinfo, COL_INFO)) col_append_fstr(pinfo->cinfo, COL_INFO, " data: %s", data); ___________________ Yann BARILLY Alcatel-Lucent Orvault Internal : 2 105 1224 External : + 33 2 51 78 12 24 -----Original Message----- From: wireshark-dev-boun...@wireshark.org [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of xourciere....@orange-ftgroup.com Sent: Thursday, February 12, 2009 7:30 PM To: wireshark-dev@wireshark.org Subject: [Wireshark-dev] Problems to fill COL_INFO in a new dissector Hello, Well here is the full story. I managed to code a new dissector from its ASN.1 description (Cisco CRSPv3). Everything is working except that I want to have some informations showed in the column "Info". At this time I can parse the tvb to match the info I need, but in this case the dissector does the same work 2 times (one time to get the info I need in the "Info" column and the other time with the dissector generated code to populate the tree). So, is there a way to get the information dissected in the packet without parsing and doing the work of the dissector itself ? (NB: The code of the dissector is generated from the ASN.1 file) Regards, ------------------------------------------ Xavier OURCIERE. France Telecom R&D ------------------------------------------ ________________________________________________________________________ ___ Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe