Output of /proc/net/route in 2.0.x

Harald Anlauf (anlauf@crunch.ikp.physik.tu-darmstadt.de)
Tue, 30 Dec 1997 12:39:03 +0100


Hi Alan & Co.,

in 2.0.33 and earlier, on Linux-x86 `cat /proc/net/route` results in

Iface Destination Gateway Flags RefCnt Use Metric Mask MTU Window IRTT
eth0 00185382 00000000 01 0 9 0 00FFFFFF 1500 0 0
lo 0000007F 00000000 01 0 24 0 000000FF 3584 0 0
eth0 00000000 FE185382 03 0 340 0 00000000 1500 0 0

Should the numbers be printed in "native" order (thus reading reversed,
as above), or should they be converted to network byte order first?

Cheers,
-Harald