Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] hash table acceleration breaks lazyaw

2006-03-28 by Ranko Zivojnovic

On Tue, 2006-03-28 at 21:19 +0900, Hajimu UMEMOTO wrote:
> It seems you are confused.  

Hopefully not too much ...

> The s6_addr is uint8_t, and is not casted to uint32_t.  

True - the mistake was in the typecast, but I still want to use 32 bit
values in the hash calculus in order to allow for the large hash table.
Linux and others do provide for s6_addr32, but Solaris 8 unfortunately
does not (for user space at least) - thus the cast. If you have better
or more portable solution, please do let me know.

> Further, cast to `ipaddr *' is redundant.

True... Anyhow - I have rewritten macros and have _tested_ them this
time around, so now both v4 and v6 implementations do behave as
expected.

Attached is the working version. Sorry for any confusion :) caused.

Best regards,

R.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.