Ethereal-dev: Re: [ethereal-dev] Keeping state and name tables

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Thu, 07 Oct 1999 08:47:43 -0500
On Thu, Oct 07, 1999 at 12:50:50AM -0500, Bibek Sahu wrote:
> 
> On Thu, 7 Oct 1999, Richard Sharpe wrote:
> 
> > I was thinking that to keep the hashing routines more general, I would need
> > something that allows me to create a hash from a block of memory or a
> > structure.
> > 
> > The user of the routines would be responsible for interpreting the hash field.
> [...]
> > Now glib has routines for maintaining a hash etc.  Does anyone know how
> > they should be called?  Any examples around?
> 
> 	http://www.gtk.org/rdp/glib/glib-hash-tables.html

Also, I'm using the hash routines in packet-ncp.c

--gilbert