summaryrefslogtreecommitdiff
path: root/missing
Commit message (Collapse)AuthorAgeFilesLines
* Print both the name and the description of a link-layer type (the nameguy2003-11-181-43/+66
| | | | | | | | isn't always very suggestive - for example, somebody might think "EN10MB" is always 10 MB/s, and might not know that "IEEE802" is Token Ring), using "pcap_datalink_val_to_description()". Supply our own "pcap_datalink_val_to_description()" if libpcap doesn't have it (even if it has "pcap_datalink_name_to_val()").
* Include "config.h" before including "tcpdump-stdinc.h" inguy2003-11-161-1/+5
| | | | "missing/datalinks.c".
* Have the configure script arrange that the Makefile define _U_guy2003-11-1610-76/+36
| | | | | | | | | | appropriately, and that GNUmakefile and the MSVC++ project file define it apppriately, as we do with libpcap, rather than defining it in "interface.h". Undo the rcsid-shuffling and addition of extra #includes, as we no longer need to arrange that "interface.h" be included before using _U_ in an RCS ID or copyright.
* From Neil Spring:guy2003-11-1510-14/+14
| | | | | | | | | | | use "_U_" in the definitions of "rcsid[]", to eliminate complaints about those variables being unused; move the definitions after the include of "interface.h", or add an include of "interface.h", so that "_U_" is defined. Include "config.h" before including "tcpdump-stdinc.h" in "missing/datalinks.c".
* From Neil Spring:guy2003-11-1510-37/+77
| | | | | | | | | | | use "_U_" in the definitions of "rcsid[]", to eliminate complaints about those variables being unused; move the definitions after the include of "interface.h", or add an include of "interface.h", so that "_U_" is defined. Include "config.h" before including "tcpdump-stdinc.h" in "missing/datalinks.c".
* Digital UNIX 4.0's <net/bpf.h> doesn't define DLT_SLIP_BSDOS orguy2003-05-021-1/+5
| | | | | DLT_PPP_BSDOS - don't assume they're defined, check whether they're defined before using them.
* Fix up some compiler warnings.guy2003-03-251-5/+8
|
* Get rid of the include of <sys/cdefs.h>, as that's a BSDism, and put in aguy2003-03-031-5/+5
| | | | standard tcpdump RCS ID.
* From Gisle Vanem: make print-esp.c work with more (maybe all?) OpenSSLguy2003-03-021-0/+80
| | | | | versions, and changes to make it work on DOS/Windows with various compilers and C support libraries.
* NetBSD support for multiple data link types on an interface, from Davidguy2002-12-192-0/+211
| | | | | | | | | | | | | | | Young <dyoung@ojctech.com>, with some minor changes by Jason R. Thorpe <thorpej@netbsd.org>, and further changes by me to: use "-y" rather than "-D" to set the link type ("-D" was already taken); use libpcap APIs to map between data link type names and values; supply stub versions of missing-but-needed libpcap APIs. Update Jason Thorpe's e-mail address (Zembu is going away, if it hasn't done so already).
* Make the definitions of "strlcat()" and "strcpy()" prototypeguy2002-08-022-10/+4
| | | | definitions, to squelch warnings from some compilers.
* Added support for Win32, based on WinPcap.risso2002-08-015-24/+21
|
* __ss_len/family is now nonstandard. standards were clarified to useitojun2002-06-111-3/+3
| | | | ss_len/family.
* whitespaceitojun2002-06-1112-75/+75
|
* Patch from Pekka Savola <pekkas@netcore.fi> to get rid of "savestr()"guy2001-01-201-0/+57
| | | | | | | (which doesn't actually seem to be significantly more efficient than "strdup()", at least not to the extent that it makes any difference to "tcpdump"), modified to use the BSD "strdup()", rather than the old "savestr()", on platforms that lack "strdup()".
* "#if 0" out stuff for "asprintf()", "asnprintf()", "vasprintf()", andguy2001-01-121-2/+6
| | | | | | | "vasnprintf()", as we're not using any of them, and we're not declaring them in "interface.h" (keep them around for now in case we decide we need them; they may be useful if we ever want to "sprintf" a string and want the string to grow dynamically to hold what we're putting into it).
* As GCC "2.96" notes, "`short int' is promoted to `int' when passedguy2001-01-021-3/+3
| | | | | | | | | through `...'", and therefore "...you should pass `int' not `short int' to `va_arg'". GCC "2.96" apparently fails to compile code that passes "short int" to "va_arg()", and Red Hat Linux 7.0 uses GCC "2.96", so we fix this, as per Pekka Savola's note.
* Eliminate __P().fenner2000-10-244-77/+32
|
* repair 1-byte buffer overrunitojun2000-10-071-6/+6
|
* split checks for struct addrinfo and NI_xxx.itojun2000-01-212-4/+4
| | | | From: Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
* need strl{cat,cpy} badly for buffer overflowitojun2000-01-192-0/+153
|
* bring in latest kame getaddrinfo (couple of bug fixes).itojun2000-01-192-41/+132
| | | | | | more portability checks for getaddrinfo. checked on: netbsd141, kame/netbsd141
* Include <sys/types.h> to allow compilation on Solaris.fenner2000-01-101-2/+3
|
* Unify rcsid[]'s.fenner2000-01-096-4/+36
|
* add snprintf implementationassar2000-01-071-0/+620
|
* always include addrinfo.h (some needed flags values might be defined there)assar1999-11-211-2/+0
|
* always include addrinfo.hassar1999-11-211-2/+0
|
* define values of flags if they are not already definedassar1999-11-211-15/+31
|
* HP-UX 10.20 build fix <http://www.sics.se/~assar/tcpdump_patches/13>itojun1999-10-303-2/+16
| | | | #ifdef h_errno, snprintf -> sprintf, arpa/inet.h for [hn]to[hn][sl]
* last resort functions for inet_{aton,pton,ntop}.itojun1999-10-304-3/+231
| | | | only works for IPv4-only build.
* - enable build outside of the treeitojun1999-10-301-0/+2
| | | | | | | - endian checks (use WORDS_BIGENDIAN) - fallback def for IPPROTO_{AH,ESP} - sa_len issues - do not use bittypes.h, respect AC_LBL_CHECK_TYPES
* fix complation on IPv4 host (tested with plain FreeBSD228).itojun1999-10-301-0/+2
|
* Bring in KAME IPv6 tcpdump. replaces esp/ah/isakmp decoder.itojun1999-10-309-0/+1642
Hope I did not break anything. Portability on IPv4-only node needs checking, I'll do this very soon. (sorry for rather jumbo commit) XXx what is _FAVOR_BSD?