[lkml]   [2000]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] /proc/net/{tcp,udp,raw} cleanup
   From: Marc Zyngier <>
Date: 11 Sep 2000 14:14:01 +0200

/proc/net/{tcp,udp,raw} show IPv4 addresses with host order, while
port is shown with network order. The included patch adds the
needed ntohl(). Not very usefull, but hopefully correct.

Are sure that netstat and other tools don't "fix" this?
I just checked, and they in fact do take care of byte swapping what
needs to be byte-swapped.

Thus, this patch would break more than it would fix.

David S. Miller
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.050 / U:2.680 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site