Ethereal-dev: [Ethereal-dev] PTV Routines ...

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

From: Richard Sharpe <sharpe@xxxxxxxxxx>
Date: Sat, 05 May 2001 22:04:54 +0900
Hi,

I have looked at the PTV routines again, and I think that they, with some
extension could be what I am looking for with my dissector generator ...

For dissectors that have fields like UINT8, UINT16, etc, and other fixed
fields, the ptvcursor_add routine would do very well. You just assemble the
correct hf items, and everything would work ...

However, I also need some other routines ... like, for some protocols, I
need to keep looking until I find a space, but I also need to skip the next
byte if it is a space.

Would these routines be better as ptvcursor routines, or tvb routines?

Regards
-------
Richard Sharpe, sharpe@xxxxxxxxxx
Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba