Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Data from previous protocol

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 11 Mar 2007 14:55:25 -0700
ali alkhalidi wrote:
will try this, and BTW, would the data fetched with tvb_get_ptr,
inside the ip dissector return the header information in network byte
order?

It would return a pointer to the raw data, which means that, as the header would be an IPv4 or IPv6 header, the fields would be in network byte order.