Ethereal-dev: Re: [ethereal-dev] ipv6

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

From: guy@xxxxxxxxxx (Guy Harris)
Date: Sun, 21 Mar 1999 22:48:40 -0800 (PST)
> Can I get rid of the #ifdef __KAME__ clause and just use the structs that
> are defined in packet-ipsec.c? I'll go ahead and convert them to glib
> fields like guint8.

I seem to remember that the last patch used "u_int64_t"; there doesn't
seem to be a "guint64", at least for GTK+/Glib 1.0[.x].

If we decide not to support Ethereal on platforms where you don't have a
compiler that can do 64-bit integral types on 32-bit platforms, then we
can probably use "unsigned long long" for now (GCC and the Sun C
compiler use that - and I think the Sun C compiler got it from the AT&T
C compiler used to compile SVR4, and it may ultimately have come from
the Convex C compiler, so it may be that most if not all UNIX C
compilers that have 64-bit integral types on 32-bit platforms support
it; note that, on the Digital UNIX C compiler, "long long" is 64 bits),
or maybe use "unsigned long" if it's 64 bits and "unsigned long long"
otherwise.