diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-04-23 10:56:20 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-04-23 10:56:20 -0700 |
commit | 30f0d2314d1086ebf4bad29b1d11c7916338b95d (patch) | |
tree | 275dbf40966f1376596534b3e132cd6eb4a7b8f3 /in_cksum.c | |
parent | 02fd22eb31a7385cfe483a2ee4980775a259b085 (diff) | |
download | tcpdump-30f0d2314d1086ebf4bad29b1d11c7916338b95d.tar.gz |
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.
Diffstat (limited to 'in_cksum.c')
0 files changed, 0 insertions, 0 deletions