ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: [Ethereal-dev] How can I get offset of some field from tcp data zone?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: scz <scz@xxxxxxxxxxx>
Date: Wed, 04 Jan 2006 15:06:35 +0800
In some sub dissector, for example:

TCP
    NBT
        SMB
            DCE/RPC
                stub data

I'm unmarshaling the stub data, and want to show offset to &NBT in graphic
tree. Can I get/compute the offset via pinfo->private_data or others?

----