aboutsummaryrefslogtreecommitdiffstats
path: root/ipproto.c
AgeCommit message (Collapse)AuthorFilesLines
2001-04-15There's no "enable name resolution in captures" preference in Ethereal,Guy Harris1-2/+3
and never was - there's only an Ethereal-wide "enable name resolution" preference. Name it just "name_resolve". Replace all tests of "g_resolving_actif" with tests of "prefs.name_resolv", and replace all code that sets "g_resolving_actif" with code that sets "prefs.name_resolv", so that the setting of "prefs.name_resolv" actually affects whether names are resolved or not. svn path=/trunk/; revision=3300
2001-04-13Nothing in "etypes.h" is used by "ipproto.c", so there's no need toGuy Harris1-2/+1
include "etypes.h". svn path=/trunk/; revision=3299
2001-03-05Move the definition of IP_PROTO_IGRP to "packet-ip.h", and put an entryGuy Harris1-3/+5
for IGRP in the table in "ipproto.c". Get rid of a duplicate entry for TCP in the same table, and also get rid of the entry for IP_PROTO_IPV4 right after IP_PROTO_IPIP, as IP_PROTO_IPIP and IP_PROTO_IPV4 are both 4. svn path=/trunk/; revision=3106
2000-08-11Miscellaneous code cleaningLaurent Deniel1-11/+4
- 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
2000-05-26Initial SCTP support (showing it by name from "ipprotostr()") fromGuy Harris1-1/+2
Michael Tuexen. svn path=/trunk/; revision=2011
2000-03-21Add support for TXT and WKS records to the DNS dissector.Guy Harris1-3/+5
Add EIGRP and VINES to the list of protocols "ipprotostr()" knows about. Get rid of the "proto_vals" table in "packet-ip.c" - it's not used, and the two entries it had that weren't in the table in "ipproto.c" have been moved there. svn path=/trunk/; revision=1735
2000-01-22Fix files that had Gilbert's old e-mail address or that didn't have myGuy Harris1-2/+2
forwarding e-mail address. svn path=/trunk/; revision=1522
1999-12-06Remove #include "globals.h" from packet-atalk.c (not needed) and fromGilbert Ramirez1-1/+6
packet-ipv6.h. Of all the files that include packet-ipv6.h, only ipproto.c needs "globals.h", so I put the #include in ipproto.c svn path=/trunk/; revision=1229
1999-11-21Added Heikki Vatiainen's <hessu@cs.tut.fi> VRRP dissector.Gilbert Ramirez1-1/+2
svn path=/trunk/; revision=1083
1999-10-22If one wants to look up a value in a "value_string" table, and get backGuy Harris1-2/+2
either the corresponding string on success or NULL on failure, one should use "match_strval()", rather than using "val_to_str()" with a null format - "val_to_str()" uses the format if the lookup fails, so it won't work correctly (e.g., it may drop core) if the format string is NULL. svn path=/trunk/; revision=910
1999-10-15IPComp (RFC2393) decoding.Jun-ichiro itojun Hagino1-1/+2
svn path=/trunk/; revision=838
1999-10-14implement ipprotostr() in ipproto.c, which basically does ipprotobynumber()Jun-ichiro itojun Hagino1-0/+118
for ip.ip_p and ip6.ip6_nxt (and other IPv6 header chain). use val_to_str() as much as possible in dissect_{ipv6,pim,ripng}(). make --disable-zlib a default for netbsd (temporary workaround). svn path=/trunk/; revision=827