Re: ESTABLISHED TCP connections missing from /proc/net/tcp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Bill Fink <billfink@xxxxxxxxxxxxxx>
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux