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] Changing value of packet during dissection

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 19 Nov 2017 11:27:55 -0800
On Nov 19, 2017, at 7:49 AM, Manik Khandelwal <manik123khandelwal@xxxxxxxxx> wrote:

> I am new to wireshark, I have a genuine question that it possible to change the value of a packet during dissection process. 

If you mean "change the *contents* of the packet", the answer is "no".  That's why all the packet pointers you get from tvbuff calls are const pointers.