aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ipsec.h
Commit message (Collapse)AuthorAgeFilesLines
* Tvbuffification of the IPv6 and ICMPv6 dissectors, and some bug fixesGuy Harris2001-04-231-2/+3
| | | | | | | | | | | | and an update to draft 7 of ICMPv6 name lookups, from Heikki Vatiainen. Fix some formats in the ICMPv6 dissector to use %u, rather than %d, for unsigned quantities. Show various type and code values in ICMPv6 as decimal, not hexadecimal (they're decimal in the RFCs). svn path=/trunk/; revision=3360
* Tvbuffiy the IPSec dissectors.Guy Harris2001-02-281-2/+1
| | | | | | | | | Pull the bulk of the AH dissection code into a common routine, used both by "dissect_ah()" and "dissect_ah_old()". "dissect_ah()" isn't used outside "packet-ipsec.c"; make it static. svn path=/trunk/; revision=3084
* Miscellaneous code cleaningLaurent Deniel2000-08-111-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* Change dissect_ah() so that dissect_ip() doesn't have to make aGilbert Ramirez2000-06-051-2/+3
| | | | | | | | | | | | special case for it. dissect_ah() is registered with the "ip.proto" handoff table, and dissect_ah() calls the next dissector using this same "ip.proto" handoff table. The old dissect_ah() is kept as dissect_ah_old() since dissect_ipv6() still uses it. I need to convert some more functions before I can get rid of dissect_ah_old(). svn path=/trunk/; revision=2039
* Have the IPv6 dissector use the same dissector table as the IPv4Guy Harris2000-04-201-3/+1
| | | | | | | | | dissector. Don't dissect the payload of any fragmented IPv6 packet unless it's the initial fragment (that's what we do for IPv4). svn path=/trunk/; revision=1882
* Create a header file for every packet-*.c file. Prune the packet.h file.Gilbert Ramirez2000-02-151-0/+28
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