Ethereal-dev: [Ethereal-dev] Create new tvbuff

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

From: Frank Singleton <frank.singleton@xxxxxxxxxxxx>
Date: Fri, 30 Mar 2001 15:36:19 -0600
Hi,

GIOP Is Coming along well now. A LOT of new things working,
and now I am adding functionality to read stringified IOR's
from a file at program start.

An IOR is just some data (octet sequence) that 
represents some Corba object reference (IOR). eg: Its read from
an input file from giop (in stringified format), when we wish 
to load stringified IORs before we dissect some traffic.

I have already converted the stringified sequence to a plain 
vanilla octet sequnce of  data (eg: guint8's)

Anyway, I want to  create a new tvbuff from this octet stream,
so I can leverage my existing get_CDR_xxx(tvbuff * ..)
routines to pull it to pieces, and process parts of the IOR.

I would appreciate some input on how a subdissector can
create tvbuff  properly, and dispose of it when required, and
what overhead that creates in ethereal.

Thanks / Frank..

-- 
EUS/SV/Z Frank Singleton      ASO Americas BSS
Office : +1 972 583 3251      ECN 800 33251  
Pager  : +1 800 651 1184      Mobile : +1 214 228 0874
Amateur Radio: VK3FCS/KM5WS   Email : frank.singleton@xxxxxxxxxxxx

Hardware: HP Omnibook 4150 running Redhat Linux 6.2 (2.2.16 kernel).