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

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