| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This prevents GCC on SPARC from generating code that assumes those
structures are aligned naturally, which they are not guaranteed to be.
Move some #defines from interface.h to tcpdump-stdinc.h to make them
available to code that doesn't include interface.h.
Move the declaration of nextproto6_cksum() to ip6.h, so that only files
that use it get it declared, and thus so that you don't need to define
"struct ip6_hdr" in everything that includes interface.h. Don't include
ip6.h in tcpdump-stdinc.h.
|
| |
|
|
|
|
|
|
|
| |
when optimization is not on, glibc6 doesn't define ntohs(), and our attempt
to optimize it for x86 doesn't work --- the functions need to be static, not
extern.
added decryption of IKE v2 payloads, when keys are provided by -E.
|
| |
|
|
|
|
| |
cygnus gcc.
|
| |
|
|
|
|
|
|
| |
__ntohl is defined; __ntohl is defined in some OSes as a special asm
function that does the same sort of fast byte swapping, and that gets in
the way of our so defining it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. On AIX, AC_LBL_C_INLINE detected the compiler supported
the inline keyword which is wrong. AC_C_INLINE from
autoconf-2.59 worked.
2. AC_CHECK_TYPE from autoconf-2.5x is no longer broken.
Replaced AC_LBL_CHECK_TYPE with it, mainly to use
<sys/bitypes.h> for Tru64 UNIX where some of the u_int#_t
types are defined.
3. Tru64 UNIX 4.0D doesn't support %llx; however, it does support %lx.
4. Added <stdint.h> to interface.h for int#_t types on
Tru64 UNIX 4.0D (required for missing/snprintf.c).
5. Reworked includes in tcpdump-stdinc.h for int#_t types.
|
| |
|
|
|
|
| |
on Solaris 7 x86 with GCC 2.8.1.
|
|
|
|
|
|
|
|
|
|
|
| |
the _errno() stuff isn't needed for current versions of MinGW;
get rid of some definitions not needed with MSVC++ and other
non-MinGW32/non-Watcom compilers;
add IPv6 capability to inet_pton.c, courtesy of Paul Vixie;
add inline ntoh{ls}/hton{ls} functions for GCC/i386.
|
|
|
|
|
|
|
| |
recent configure script changes.
On UN*X, include <inttypes.h> in "tcpdump-stdinc.h" if it defines the
PRI[duxo]64 macros.
|
| |
|
|
|
|
|
|
|
| |
values. Use that rather than private definitions in various files.
Add "gmpls.h" to the list of files in FILES, and add it and "ipfc.h" to
the list of files in INSTALL.
|
|
|
|
| |
di Torino developers from the 4-clause BSD code to the modified BSD license
|
| |
|
|
|
|
|
| |
versions, and changes to make it work on DOS/Windows with various
compilers and C support libraries.
|
| |
|
|
|
|
|
|
|
|
|
| |
by most files in tcpdump.
Include <net/if.h> in "addrtoname.c", as it's needed there (but not
needed in other files, so it doesn't belong in "tcpdump-stdinc.h".
Put in explanatory comments in "tcpdump-stdinc.h".
|
|
|