aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ipproto.c
AgeCommit message (Collapse)AuthorFilesLines
2013-03-29Rename value string (and similar) functions to use a consistent pattern. ThisEvan Huus1-1/+1
was done using textual search+replace, not anything syntax-aware, so presumably it got most comments as well (except where there were typos). Use a consistent coding style, and make proper use of the WS_DLL_* defines. Group the functions appropriately in the header. I ended up getting rid of most of the explanatory comments since many of them duplicated what was in the value_string.c file (and were out of sync with the recent updates I made to those in r48633). Presumably most of the comments should be in the .h file not the .c file, but there's enough churn ahead that it's not worth fixing yet. Part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8467 svn path=/trunk/; revision=48634
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45016
2012-07-06Fix compilation with gcc 4.3.2 and without GEOIPPascal Quantin1-1/+2
svn path=/trunk/; revision=43587
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2010-10-12Rename g_resolv_flags --> gbl_resolv_flags; Also: cleanup some whitespace & ↵Bill Meier1-1/+1
indentation. svn path=/trunk/; revision=34487
2010-09-23Make value_string ipproto_val static; It should only be referenced using ↵Bill Meier1-1/+1
ipproto_val_ext svn path=/trunk/; revision=34215
2010-09-23Whitespace cleanup: Convert "4 space tabs" to spaces.Bill Meier1-230/+230
svn path=/trunk/; revision=34212
2010-05-22Use value_string_ext for ip protocol.Anders Broman1-143/+228
svn path=/trunk/; revision=32914
2010-04-03 From Yaniv Kaul: constify parametersBill Meier1-1/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4422 From me: Fix a number of instances where the function prototype or the function definition wasn't changed so there was a mismatch thus causing Windows (but not gcc) compilation errors. svn path=/trunk/; revision=32365
2010-04-02Revert SVN #32360 until Windows compilation errors corrected.Bill Meier1-1/+1
svn path=/trunk/; revision=32361
2010-04-02From Yaniv Kaul: constify parametersBill Meier1-1/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4422 svn path=/trunk/; revision=32360
2009-11-19Changed hf_ip_proto to use ipproto_val[].Stig Bjørlykke1-2/+2
Removed some unneeded includes. svn path=/trunk/; revision=31017
2009-05-19Update IP protocol numbers according to current IANA registery.Jaap Keuter1-7/+7
svn path=/trunk/; revision=28408
2007-10-27Apply yet another set of the optimization patches:Anders Broman1-16/+14
- Use a fast path for the most common use of tvb_get_xxx functions: offset is >= 0 and tvb->real_data is set (this one is always true). - match_strval() is a linear search, put the most common protocols TCP/UDP/RDP first. - fix gtk1 g_strlcat declaration Use g_strlcat svn path=/trunk/; revision=23285
2007-04-12From Matthijs Mekking : Sebastien Tandel1-0/+1
New dissector support, SHIM6 checked in with the following modifications : - use of proto_tree_add_item whenever possible (addition of several hf_items), - use distinct subtree idx for each subtree, - addition of some subtrees, - split shim_opts in several functions, - accurate incrementation of offset in locator preferences (in case of option length > 3) - add true_false_string for critical options and protocol differentiation (hip, shim6) - add ipv6.shim6.checkksum_good, ipv6.shim6.checkksum_bad, cksum expert info section added to AUTHORS svn path=/trunk/; revision=21390
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2005-12-02add two new ip protocol numbersRonnie Sahlberg1-0/+2
from Jaap K svn path=/trunk/; revision=16648
2005-09-20Francesco Fondelli; Add dcp supportJörg Mayer1-0/+3
svn path=/trunk/; revision=15897
2005-08-08various code cleanup:Ulf Lamping1-5/+1
-use g_snprintf instead of sprintf and snprintf -use g_strdup_printf where appropriate -remove #include "snprintf.h" (as only g_snprintf should be used) -replace some more alloc/realloc/calloc/free with their glib pendants svn path=/trunk/; revision=15264
2004-09-29Move various tables into the epan directory.Guy Harris1-0/+215
svn path=/trunk/; revision=12130