Nice, some questions though
Why do you need a define to specify the byte order? You are not taking
a poitner using tvb_get_ptr() and casting it into a pointer to s
tructure and accessing the structure fields directly that way are you?
You should read all fields using tvb_get_[n|le]to[hs] and similar.
We support many platforms and compilers so we can not make guarantees
on how a particular platform/compiler lays out structures in memory.
There are many tvb_get_ptr() calls. Are these necessary?
On Thu, 02 Dec 2004 18:30:41 +0100, Lutz Findeisen
<lfindeis@xxxxxxxxxxxxxx> wrote:
> Hi,
>
> I have written a dissector for analyzing MPEG2 Transport streams, it is
> able to display the TS and Section header information, the program
> specific information (PAT, PMT, NIT,SDT) with some descriptors, MPE
> (mutiprotocol encapsualtion) and
> ULE (ultra lightweight encapsulation)
>
> It was only compiled with gcc version 3.3.3 and mvc++ version 6
>
> More information on ULE can be found here:
> http://www.ietf.org/html.charters/ipdvb-charter.html
>
> A small manual on the dissector can be found here:
> http://student.cosy.sbg.ac.at/~lfindeis/
>
> The source code is published under GPL.
>
> regards,
> Lutz Findeisen
>
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>
>
>
>