lkml.org 
[lkml]   [1998]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Patch to fix /proc/net files.
From
Date
Matthias Welwarsky <matze@stud.fbi.fh-darmstadt.de> writes:

|> Alan Cox wrote:
|> >
|> > > This patch should convert /proc/net/{raw,tcp,udp} so that the various
|> > > IP addresses therein are shown in dotted quad format rather than in
|> > > little-endian hex integers.
|> >
|> > Changing the format is an even worse idea
|> >
|>
|> net-tools need the /proc/net stuff quite a lot, and from this point of
|> view having the data in network byte order would be a good thing, I
|> think. Only minor changes on application level, and it would ease
|> maintaining net-tools across the multiple platforms.

Using htonl in net-tools isn't a big deal either, and works across all
platforms.

--
Andreas Schwab "And now for something
schwab@issan.cs.uni-dortmund.de completely different"
schwab@gnu.org

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.053 / U:4.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site