From: Jorge Matias (ykjvoo.fhnmie@newmedia.no)
Date: Tue Sep 19 2000 - 21:54:01 EEST
On Tue, 19 Sep 2000, Jean-Paul ROUBELAT wrote:
> I got the same problem last year when I tried to make rspfd working. It
> seems that the code is not working correctly.
>
> Attached a mail I sent to Craig last January concerning the chcksum problem.
>
> There is another problem concerning the metric if I well remember.
>
> I never was able to make it working correctly and I gave up.
I took a look to the code but the only thing I figured out is that, at
the sender, the RRH PING has always the same calculated checksum. This if
because of constant applied to the checksum function calling:
This is the file rspfd_out.c, function send_rrh()
/* Calculate the checksum, we need a pseudo header like TCP/UDP :<
*/
rrh->checksum = rspf_check((unsigned char*)rrh, RSPF_RRH_LEN,
saddr, daddr);
I should be verified if the packet length, at the receiver, is equal to
RSPF_RRH_LEN. Both, receiver and sender call the same rspf_check. I
suppose this is the main difference but sending and receiving.
Regards,
Jorge Matias
P.S.: Hope that Craig reads this.
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to terhi.victor@logonet.com
This archive was generated by hypermail 2b29 : Tue Sep 19 2000 - 21:55:15 EEST