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

Ethereal-users: [Ethereal-users] escape sequences in tv_buff

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

From: "Oren Mazor" <oren.mazor@xxxxxxxxx>
Date: Thu, 05 May 2005 13:24:08 -0400
hi all,

I'm writing a dissector here at work and I'm trying to figure out how to deal with search and replace in a tv_buff.

What I'm trying to do is the equivalent of the perl s/FF55/FF. is this possible in a simple manner, or will I have to find the location of FF55, and create a new tv_buff comprised of everything before FF55 and everything after?

thanks
Oren