24 Apr
2001
24 Apr
'01
08:02
* Eilert Brinkmann wrote on Mon, Apr 23, 2001 at 12:47 +0200:
printk(KERN_WARNING "martian source %08x for %08x, dev %s\n", saddr, daddr, dev->name);
I see you used the same source to find the answer than I: kernel sources.
Network byte order is big endian, while host byte order on Intel is little endian, so on an Intel machine the output has the "wrong" order.
I still wonder why they haven't written: printk(KERN_WARNING "martian source %08x for %08x, dev %s\n", ntohl(saddr), ntohl(daddr), dev->name); Well, who knows. oki, Steffen -- Dieses Schreiben wurde maschinell erstellt, es trägt daher weder Unterschrift noch Siegel.