tcpdump mailing list archives

print-esp.c patch


From: "Gisle Vanem" <giva () bgnett no>
Date: Sat, 1 Mar 2003 15:29:34 +0100

I finally finished the print-esp.c patch so it works with all (?) OpenSSL
versions. Missing strsep (for MingW32/Watcom etc) is added in 
missing/strsep.c (borrowed from djgpp).

Some patches to tcpdump-stdinc.h needed:
  * A header guard.
  * toascii() macro missing in Watcom.
  * Defines for fopen() read/write mode (what mode does MacOS use
    for opening text/binary files?)

print-esp.c:
  * addrinfo.h needed for inet_pton()
  * I have no idea how to add HAVE_STRSEP to the configure process.
   I'm using my home-brew MingWin makefile (also working on a Open
   Watcom port).

Gisle V.

# rm /bin/laden 
/bin/laden: Not found 

Attachment: tcpdump-stdinc.h.diff
Description:

Attachment: print-esp.c.diff
Description:

Attachment: strsep.c
Description:


Current thread: