]> The Tcpdump Group git mirrors - tcpdump/commit
We still need u_intN_t.
authorGuy Harris <[email protected]>
Wed, 23 Apr 2014 17:56:20 +0000 (10:56 -0700)
committerGuy Harris <[email protected]>
Wed, 23 Apr 2014 17:56:20 +0000 (10:56 -0700)
commit30f0d2314d1086ebf4bad29b1d11c7916338b95d
tree275dbf40966f1376596534b3e132cd6eb4a7b8f3
parent02fd22eb31a7385cfe483a2ee4980775a259b085
We still need u_intN_t.

Some libpcap headers use them, and even if we change libpcap to use
uintN_t, we don't require that tcpdump 4.x go with libpcap 1.x - we
allow people to install the latest tcpdump even if they have an older
libpcap and don't want to install a newer one.

However, we now define them in terms of the C99 uintN_t types, rather
than trying to guess what's appropriate; using unsigned long long for
u_int64_t meant that, on some platforms, u_int64_t didn't match
PRI[doux]64, and using unsigned long obviously won't work on ILP32
platforms.

Also, we already had calls to the autoconf macros for C99 types; get rid
of the ones we added.

Also also, clean up a comment in tcpdump-stdinc.h.
config.h.in
configure
configure.in
tcpdump-stdinc.h