From: Bill Fink <[EMAIL PROTECTED]>
Date: Mon, 8 Jan 2007 01:57:53 -0500

> BTW, is it expected behavior that when I cat /proc/net/tcp, the
> local_address and rem_address are byte swapped on a little endian
> system (this just noticed on a 2.6.15.4 kernel)?  They're not
> byte swapped on a big endian system (2.6.15-rc5 kernel).  And
> the port number portion of the local_address and rem_address isn't
> byte swapped on the little endian system, but the IP address portion
> is.

It gets printed in network endian (ie. big-endian) regardless of
cpu endianness.  I think it's been like this forever so changing
it would not be possible.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to