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

Ethereal-dev: Re: [Ethereal-dev] Can't compile Ethereal from current CVS on Windows.

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

From: Tomas Kukosa <tomas.kukosa@xxxxxxxxxxx>
Date: Tue, 09 Sep 2003 13:43:38 +0200
Guy Harris wrote:
> 
> On Wednesday, August 27, 2003, at 9:41 PM, Martin Regner wrote:
> 
> > A plugin can then register e.g. as:
> > dissector_add("h245.nsp.h221", 0xb500534c,
> > netmeeting_h221nonstd_handle);
> > or
> > dissector_add("h245.nsp.object",ADLER_MYOWN_NONSTD_OBJ,myown_nonstd_han
> > dle);
> 
> By the way, is H.245 defined here to use an Adler-32 checksum to
> identify objects, or is this just a way to condense an OID into an
> integer so it can be used in a dissector table?  There are places where
> we might want dissector tables based on text strings, e.g. for
> Content-Type in HTTP; we might want dissector tables based on OIDs as
> well.

No. The H.245 does not use an Adler-32 checksum.
It is only my decision to use it. It was the simplest 32bit "hash" which
I found.
It is only way to condense a string into 32 bits.

 Tom