|> 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/