>
> Ah. I just realize that the endianess can be supported as simple as:
>
> In stead of this:
>                xsum += (*p & 0xff00);
> Use this:
>                xsum += (*p & ntohs(0xff00));

Did you look at the suggestion I sent you?
I know it works because I use in ospf.

 Jocke

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to