aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ipproto.c
AgeCommit message (Collapse)AuthorFilesLines
2016-04-04Remove synchronous DNS name resolutionJoão Valverde1-1/+1
Change-Id: Ie5e670b769eb0674950f3679ef511047641c2873 Reviewed-on: https://code.wireshark.org/review/14751 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-11-29IPv6: Add ipv6extprotostr() to ipproto.hJoão Valverde1-0/+30
Move ipv6_exthdr_check() to ipproto.c. Seems a better fit, prevents future code duplication. Change-Id: I84f247febd1499e334289e3057ec1d8ba32d5bcc Reviewed-on: https://code.wireshark.org/review/12283 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-10-04UDP: Rename UDPlite to UDP-LiteJoão Valverde1-1/+1
Keep "UDPLite" in ipproto.c in accordance with the IANA Considerations section of RFC 3828. Change-Id: Icfa2bc07ea3c6782e838b4896f9e4aec28422d34 Reviewed-on: https://code.wireshark.org/review/10765 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2015-09-04Capitalize IPv6 extension headers ipprotostr()João Valverde1-5/+5
Change-Id: I36f0ceb0c44414e6b98f580757eec226facae9ae Reviewed-on: https://code.wireshark.org/review/10353 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-05-16IP Protocol : Update description of IP ProtocolAlexis La Goutte1-6/+6
From Boaz In IANA the two IPv4 protocols are defined: 35 IDPR Inter-Domain Policy Routing Protocol 45 IDRP Inter-Domain Routing Protocol http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml However, in Wireshark, they are named: { IP_PROTO_IDPR, "Interdomain routing" }, /* 35 IDPR Inter-Domain Policy Routing Protocol [Martha_Steenstrup] */ { IP_PROTO_IDRP, "IDRP" }, /* 45 IDRP Inter-Domain Routing Protocol [Sue_Hares] */ Which is somewhat confusing. I think IDPR should be named "Inter-Domain Policy Routing". And IDRP should be named "Inter-Domain Routing Protocol". Change-Id: I69b34ea8d9b3169fd779357710edb44cfb5cb2b3 Reviewed-on: https://code.wireshark.org/review/1664 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-05-16Add modelines infoAlexis La Goutte1-0/+13
Change-Id: Ia37dd9c79e70b839063e131c532ae2b724293600 Reviewed-on: https://code.wireshark.org/review/1663 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-04-28Make a dissector table out of IPv6 Next header.Michael Mann1-1/+1
This cleans up the implementation of the extension header, but also allows Decode As functionality for Next Header fields. This allows "old" SHIM6 IP protocol number (not IANA registered) to still be dissected. bug:9995 Change-Id: I6f29a1f7db144478c5b6416d27da2c9c5a7a1de1 Reviewed-on: https://code.wireshark.org/review/1378 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
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