[openbeosnetteam] Re: Time to put up or shut up!
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: openbeosnetteam@xxxxxxxxxxxxx
- Date: Thu, 31 Jan 2002 16:08:25 CET (+0100)
[netcache]
> - provide ipv4 <-> ethernet MAC address translation
> - provide a quick means of looking up routing information
> - ipv6 <-> ethernet MAC
> - ipv6 router details
> - list of ipv4/ipv6 addresses for an interface
> Now, using a hash is a good idea as it should provide good
> performance, but
> the hashing methd will need to be flexible as an ipv4 address is 32
> bits, v6
> is 128 bits! Also in v6 there is a need to do lookup's using parts of
> the
> address, i.e. using only the first 10 bits for checking we only have
> a
> single link-local address registered with an interface.
Although it makes sense to have the same code dealing with all that
kind of caching, it doesn't make sense (to me) to have a unified cache
for these things - I hope you didn't mean that.
Using a hash to do some sort of a "fuzzy" search wouldn't be too good.
If this is really required often and arbitrary, we could connect
different 8 (or whatever) bit hash tables together. But I am not sure
if this is the right "container" for such a thing.
Adios...
Axel.
- Follow-Ups:
- [openbeosnetteam] Re: Time to put up or shut up!
- From: David Reid
Other related posts:
- » [openbeosnetteam] Time to put up or shut up!
- » [openbeosnetteam] Re: Time to put up or shut up!
- » [openbeosnetteam] Re: Time to put up or shut up!
- » [openbeosnetteam] Re: Time to put up or shut up!
- » [openbeosnetteam] Re: Time to put up or shut up!
- » [openbeosnetteam] Re: Time to put up or shut up!
- » [openbeosnetteam] Re: Time to put up or shut up!
- » [openbeosnetteam] Re: Time to put up or shut up!
- [openbeosnetteam] Re: Time to put up or shut up!
- From: David Reid