Re: /proc/net/tcp format question

Keith Owens (
Fri, 07 Mar 1997 12:13:50 +1100

On Thu, 06 Mar 1997 11:29:50 EST, wrote:
>cat /proc/net/tcp ...
> *) port numbers are printed MSB->LSB as if someone did a printf("%04x",
> *) internet numbers are printed LSB-)MSB as if someone was dumping the bytes
> Lord knows what would break if you made the two consistent (either both host
>order or both network order; I'd prefer the latter).

Anything that reads /proc/net/tcp, netstat for one. Oh no, not another
"my XXXX utility does not work" - "proc has changed, did you upgrade
package YYYY like the docs said?" thread on linux-kernel!