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?

----