aboutsummaryrefslogtreecommitdiffstats
path: root/packet-eth.h
Commit message (Collapse)AuthorAgeFilesLines
* Make the capture routines take an additional argument giving the amountGuy Harris2001-11-201-2/+2
| | | | | | | | | | | of packet data captured. Make the "BYTES_ARE_IN_FRAME()" macro take a "captured length of the packet" argument. Add some length checks to capture routines. svn path=/trunk/; revision=4235
* Update Gerald's e-mail address.Guy Harris2001-06-291-4/+2
| | | | svn path=/trunk/; revision=3620
* Always call the Ethernet and Token Ring dissectors through a dissectorGuy Harris2001-01-211-2/+1
| | | | | | handle, and make them static. svn path=/trunk/; revision=2925
* Miscellaneous code cleaningLaurent Deniel2000-08-111-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add <stdarg.h> or <varargs.h> in snprintf.h and remove those inclusions in the other #ifdef NEED_SNPRINTF_H codes - remove the check of multiple inclusions in source (.c) code (there is a bit loss of _cpp_ performance, but I prefer the gain of code reading and maintenance; and nowadays, disk caches and VM are correctly optimized ;-). - protect all (well almost) header files against multiple inclusions - add header (i.e. GPL license) in some include files - reorganize a bit the way header files are included: First: #include <system_include_files> #include <external_package_include_files (e.g. gtk, glib etc.)> Then #include "ethereal_include_files" with the correct HAVE_XXX or NEED_XXX protections. - add some HAVE_XXX checks before including some system header files - add the same HAVE_XXX in wiretap as in ethereal Please forgive me, if I break something (I've only compiled and regression tested on Linux). svn path=/trunk/; revision=2254
* Convert Ethernet and Lucent/Ascend dissectors to use tvbuff.Gilbert Ramirez2000-05-161-2/+2
| | | | | | Note in AUTHORS file that we use the exception module from kazlib. svn path=/trunk/; revision=1966
* Create a header file for every packet-*.c file. Prune the packet.h file.Gilbert Ramirez2000-02-151-0/+26
This change allows you to add a new packet-*.c file and not cause a recompilation of everything that #include's packet.h Add the plugin_api.[ch] files ot the plugins/Makefile.am packaging list. Add #define YY_NO_UNPUT 1 to the lex source so that the yyunput symbol is not defined, squelching a compiler complaint when compiling the generated C file. svn path=/trunk/; revision=1637