fork of 9front i guess
Go to file
cinap_lenrek 94333d83ab ip: fix wrong radix for iphash() (thanks yoann padioleau)
yoann padioleaus report on 9fans:

> I think I’ve found a bug in the network stack.
> in 9/ip/ip.h there is
> struct Ipht
> {
> 	Lock;
> 	Iphash	*tab[Nipht];
> };
>
> where Night is 521,
>
> but then in 9/ip/ipaux.c there is
>
> ulong
> iphash(uchar *sa, ushort sp, uchar *da, ushort dp)
> {
> 	return ((sa[IPaddrlen-1]<<24) ^ (sp << 16) ^ (da[IPaddrlen-1]<<8) ^ dp ) % Nhash;
> }
>
> where Nhash is just 64,
2015-06-09 10:04:04 +02:00
386
68000
68020
acme
adm/timezone
alpha
amd64
arm getfcr: change getfcr/setfcr to use VFP 2014-12-25 17:44:49 +01:00
lib unix is BUGGERED. remove it 2015-06-09 00:15:59 +02:00
mips
power
power64
rc sysinfo: update -p for sysinfo.9front.org 2015-06-06 18:18:38 -04:00
sparc
sparc64
sys ip: fix wrong radix for iphash() (thanks yoann padioleau) 2015-06-09 10:04:04 +02:00
.hgignore