aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-megaco.c
AgeCommit message (Collapse)AuthorFilesLines
2013-12-14Fix [-Wmissing-prototypes]Jakub Zawadzki1-2/+3
svn path=/trunk/; revision=54095
2013-11-10Add missing includes in order to remove exceptions.h from proto.h (next commit).Jakub Zawadzki1-0/+1
svn path=/trunk/; revision=53230
2013-09-09expert_add_info_format_text -> expert_add_info_formatMichael Mann1-13/+13
svn path=/trunk/; revision=51852
2013-09-02Batch of filterable expert info.Michael Mann1-14/+20
svn path=/trunk/; revision=51688
2013-09-02Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-2/+1
svn path=/trunk/; revision=51666
2013-08-19Change some dissectors to use pinfo memory pool instead of malloc if it can ↵Pascal Quantin1-6/+4
trigger an exception between between buffer allocation and tvb_set_free_cb call svn path=/trunk/; revision=51427
2013-08-04Convert proto_item_set_expert_flags to "filterable" items in alcap ↵Michael Mann1-1/+10
dissector. Unfortunately it had a few tentacles, so they needed to be brought along for the ride. svn path=/trunk/; revision=51136
2013-06-14Removed check_col() and the occasional tree.Michael Mann1-18/+9
svn path=/trunk/; revision=49938
2013-05-09Coverity 1011110: Unused pointer valueMartin Kaiser1-1/+0
remove the whole unused subtree svn path=/trunk/; revision=49213
2013-04-24convert some proto_tree_add_texts into expert_add_info_format. Didn't quite ↵Michael Mann1-15/+15
make checkAPIs.pl happy, but given the nature of the dissector (mostly raw text), I'm not sure it can hit the 50% ratio. svn path=/trunk/; revision=49022
2013-03-12Use explicit casts.Anders Broman1-8/+8
svn path=/trunk/; revision=48260
2013-01-31Use '#if 0 ... #endif' rather than /** ... **/ to comment outBill Meier1-22/+22
unused hf[] entries (which I should have done in the first place). svn path=/trunk/; revision=47391
2013-01-26Fix various instances of unused hf[] entries foundBill Meier1-11/+33
by checkhf. svn path=/trunk/; revision=47312
2012-12-26Fix a bunch of warnings.Guy Harris1-6/+6
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of sizeof. Cast away some implicit 64-bit-to-32-bit conversion errors due to use of strtol() and strtoul(). Change some data types to avoid those implicit conversion warnings. When assigning a constant to a float, make sure the constant isn't a double, by appending "f" to the constant. Constify a bunch of variables, parameters, and return values to eliminate warnings due to strings being given const qualifiers. Cast away those warnings in some cases where an API we don't control forces us to do so. Enable a bunch of additional warnings by default. Note why at least some of the other warnings aren't enabled. randpkt.c and text2pcap.c are used to build programs, so they don't need to be in EXTRA_DIST. If the user specifies --enable-warnings-as-errors, add -Werror *even if the user specified --enable-extra-gcc-flags; assume they know what they're doing and are willing to have the compile fail due to the extra GCC warnings being treated as errors. svn path=/trunk/; revision=46748
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-2/+0
svn path=/trunk/; revision=45017
2012-08-01remove unnecessary underscores from display filtersMichael Mann1-1/+1
svn path=/trunk/; revision=44181
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-11Use dscp_vals_ext everyplace (instead of dscp_vals);Bill Meier1-1/+2
(dscp_vals is now a static array in packet-ip.c) svn path=/trunk/; revision=43211
2012-05-17No leading whitespaces in the INFO column.Michael Tüxen1-3/+16
svn path=/trunk/; revision=42679
2012-05-17Add support for specifying an SCTP port number.Michael Tüxen1-2/+18
svn path=/trunk/; revision=42677
2012-04-26From Bodo Petermann:Anders Broman1-16/+28
Megaco parser problem with LF in header. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7198 svn path=/trunk/; revision=42258
2012-04-18Fix some: 'cast discards qualifiers from pointer target type' warningsJakub Zawadzki1-1/+1
- Add const qualifier - Remove some strange casts svn path=/trunk/; revision=42131
2012-03-10Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-90/+2
svn path=/trunk/; revision=41469
2012-01-13Fix some typos.Chris Maynard1-11/+11
svn path=/trunk/; revision=40454
2011-12-06Accpet lover case Topology descriptor (tp) as we accept other tokens in ↵Anders Broman1-7/+17
lowercase. svn path=/trunk/; revision=40104
2011-12-06Fix length of Error parameter.Anders Broman1-1/+1
svn path=/trunk/; revision=40103
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-2/+2
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵Bill Meier1-15/+15
FT_STRINGZ, FT_UINT_STRING as follows: 1. If there's no character encoding (ENC_ASCII, ...) specified then use ENC_ASCII. 2. For all but FT_UINT_STRING, always use ENC_NA (replacing any existing True/1/FALSE/0 /ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN). svn path=/trunk/; revision=39426
2011-07-13Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warningsBill Meier1-20/+8
svn path=/trunk/; revision=38001
2011-05-27Make TVBs opaque for most users.Jeff Morriss1-1/+1
Convert TVB_RAW_OFFSET() and TVB_GET_DS_TVB() into functions. svn path=/trunk/; revision=37422
2011-05-20Add #include <stdlib.h> to files which reference fcns declared in stdlib.h;Bill Meier1-0/+2
(In many cases I previously incorrectly removed the #include <stdlib.h>). svn path=/trunk/; revision=37334
2011-04-22Don't create a subtree that is not used.Jeff Morriss1-4/+3
svn path=/trunk/; revision=36805
2011-04-11Don't assign to a variable if the value won't be used: Coverity 964 & 965;Bill Meier1-2953/+2952
Also: - Move proto_register...() & proto_reg_handoff...() to the end of the file; - Remove some unneeded #includes; - Do some indentation and whitespace cleanup (e.g., "4-space tabs"). svn path=/trunk/; revision=36556
2011-02-08from Václav Horčák:Anders Broman1-8/+14
Bug 5663 - [PATCH] Fix for MEGACO dissector context tracking. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5663 svn path=/trunk/; revision=35880
2011-02-04From Václav Horčák:Anders Broman1-47/+86
Fix keeps parser function in scope of current transactions, allowing multiple transaction in one packet. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3420 svn path=/trunk/; revision=35814
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-5/+5
keys to have _uint in their names, to match the routines that handle dissector tables with string keys. (Using _port can confuse people into thinking they're intended solely for use with TCP/UDP/etc. ports when, in fact, they work better for things such as Ethernet types, where the binding of particular values to particular protocols are a lot stronger.) svn path=/trunk/; revision=35224
2010-04-03Remove unneeded #include <stdio.h>Bill Meier1-1/+0
svn path=/trunk/; revision=32367
2009-10-06From Didier Gautheron:Anders Broman1-2/+4
ep memory can't be used for tvbs defined as data_source. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4054 svn path=/trunk/; revision=30376
2009-09-24* Prefer col_append_str instead of col_append_fstr for constant stringsKovarththanan Rajaratnam1-26/+13
* Remove check_col guards svn path=/trunk/; revision=30127
2009-08-09Don't guard col_set_str (COL_INFO) with col_checkKovarththanan Rajaratnam1-1/+0
svn path=/trunk/; revision=29342
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29340
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-69/+69
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero svn path=/trunk/; revision=28770
2009-05-13Apply some of the patches from:Anders Broman1-4/+2
http://wiki.wireshark.org/Development/Optimization svn path=/trunk/; revision=28356
2009-03-29Define certain fcns as static (if not used externally).Bill Meier1-28/+27
Also: whiule we're at it: - fix hf[] blurbs as appropriate to use NULL; - fix some indentation svn path=/trunk/; revision=27890
2009-03-13Fix inverted interpretation of global_megaco_dissect_tree.Balint Reczey1-1/+1
svn path=/trunk/; revision=27716
2008-12-30Show topology descriptor using unescaped whitespaces.Balint Reczey1-1/+1
svn path=/trunk/; revision=27131
2008-12-30Do not dissect descriptors twice after topology descriptor.Balint Reczey1-2/+2
svn path=/trunk/; revision=27130
2008-12-30Fixed topology descriptor dissection.Balint Reczey1-4/+13
svn path=/trunk/; revision=27129
2008-12-20Fix various typos and spelling errors (mostly in text strings)Bill Meier1-1/+1
svn path=/trunk/; revision=27065
2008-10-30Try to dissect the Topology Descriptor before the commandBalint Reczey1-0/+30
This fixes bug 2665 svn path=/trunk/; revision=26620