Ethereal-dev: Re: [Ethereal-dev] proto_tree_add_item() and IPv4

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gilbert Ramirez <gram@xxxxxxxxxxxxxxx>
Date: 17 May 2002 10:30:56 -0500
On Fri, 2002-05-17 at 01:22, Guy Harris wrote:
> On Thu, May 16, 2002 at 10:19:07PM -0500, Gilbert Ramirez wrote:
> > Should proto_tree_add_item() honor the little_endian flag when the field
> > is an IPv4 address? In that way, IPv4 addresses could be fetched
> > directly from tvbuffs whether they're in network order or in
> > little-endian order.
> 
> Are there protocols where IPv4 addresses are sometimes stored in
> little-endian order?

The list of protocols in general is large, so I can't say, but no, there
appear to be no protocol dissectors in Ethereal that have little-endian
IPv4 addresses. That's fine; I won't change anything.

--gilbert