aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h248.c
AgeCommit message (Collapse)AuthorFilesLines
2013-07-06Use epan-scoped memory for h248 packages. Fixes another ~24KB of leaks.Evan Huus1-3/+3
svn path=/trunk/; revision=50414
2013-06-19Apparently one of our major global headers must include emem.h, because I justEvan Huus1-15/+15
found a bunch more asn1 dissectors using emem without ever directly including the header. Convert those to wmem as well, which involves add a number of #include directives since dissectors do *not* automatically pull in the wmem headers. svn path=/trunk/; revision=50066
2013-06-03Convert ASN.1 dissectors to use filterable expert info.Michael Mann1-5/+13
NOTE: Kerberos ASN.1 template was updated, but not generated to source. svn path=/trunk/; revision=49707
2013-05-27Postfix FT_NONE fields with "_element" string to reduce number of ↵Pascal Quantin1-129/+129
incompatible filters in ASN.1 dissectors https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2402 svn path=/trunk/; revision=49599
2013-04-11Update the ASN.1 based dissectors following the changes done in r48812Pascal Quantin1-2/+2
svn path=/trunk/; revision=48820
2013-03-29Rename value string (and similar) functions to use a consistent pattern. ThisEvan Huus1-8/+8
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
2013-03-19From beroset:Anders Broman1-9/+8
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48429
2013-02-26its ==> it's & it's ==> its as needed.Bill Meier1-2/+2
svn path=/trunk/; revision=47892
2013-02-20Clean up white space - get rid of 4-space tabs.Guy Harris1-168/+178
Reformat the hf[] array to be consistent, and get rid of some bogus blurbs (probably copy-and-pasteos). svn path=/trunk/; revision=47759
2013-02-02Hack: disguise '/*' in text strings to prevent checkAPIs & etc seeing 'start ↵Bill Meier1-6/+6
of comment' within a text string. svn path=/trunk/; revision=47446
2013-01-19Use epan-scoped memory to clean up another 1Kb+ of valgrindEvan Huus1-3/+4
sorta-false-positive leaks. svn path=/trunk/; revision=47170
2012-12-13From John Batty via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8087 :Pascal Quantin1-1/+1
H.248 MEGACO PkgName property is poorly formatted svn path=/trunk/; revision=46526
2012-09-24Regenerate asn.1 dissectors.Jakub Zawadzki1-5/+5
svn path=/trunk/; revision=45110
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=45017
2012-07-11Revert part of revision 43107 which broke sub dissection ofAnders Broman1-37/+42
Signal and events as a new tvb wasn't created. |BASE_EXT_STRING also removed. svn path=/trunk/; revision=43661
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-20Add a link to IANA registry.Anders Broman1-1/+2
svn path=/trunk/; revision=43403
2012-06-05from Alex Lindberg:Anders Broman1-348/+336
Update to packet-h248.c and associated h248 dissecorts. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7332 svn path=/trunk/; revision=43107
2012-05-07Get rid of remaining Booleans-as-encoding-arguments inGuy Harris1-9/+19
proto_tree_add_item() calls. svn path=/trunk/; revision=42488
2012-03-13H.248 Annex E dissector does not properly dissect event parametersAnders Broman1-122/+161
(Update the h.248 dissector's package registration to support v1 packets.) Applying part of the patch from Alex Lindberg in bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6915 by hand. Fixes bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4842 svn path=/trunk/; revision=41526
2012-02-03Create a list of MTP Service Indicator macros and use them.Jeff Morriss1-10/+8
svn path=/trunk/; revision=40828
2011-11-14[-Wunused-but-set-variable]Anders Broman1-2/+2
svn path=/trunk/; revision=39829
2011-11-12fix [-Wunused-but-set-variable]Anders Broman1-17/+6
svn path=/trunk/; revision=39803
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-1/+1
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-15Update generated ASN1 *.[hc] files after recent work done by Jeff Morriss;Bill Meier1-1/+1
The only change in each file is in a comment showing the asn2wrs cmd used to build that file. svn path=/trunk/; revision=39427
2011-05-27Make TVBs opaque for most users.Jeff Morriss1-13/+13
Convert TVB_RAW_OFFSET() and TVB_GET_DS_TVB() into functions. svn path=/trunk/; revision=37422
2011-04-12Regenerate more ASN.1 dissectors for Coverity.Gerald Combs1-62/+62
svn path=/trunk/; revision=36609
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-11-15Use value_string_ext fcns to access certain value_string arrays;Bill Meier1-1061/+1074
Whitespace cleanup. svn path=/trunk/; revision=34882
2010-11-15Update package_name_vals[] value_string array:Bill Meier1-9/+27
- Add new entries based on: http://www.iana.org/assignments/megaco-h248 last updated 2010-10-01; - Fix a typo (incorrect value for an entry); - Switch values between two entries to match the IANA list; - Switch two entries so list is in ascending order by value. svn path=/trunk/; revision=34881
2010-05-11Add a little more code to avoid not-very-useful blurbs:Jeff Morriss1-46/+46
- Change spaces in the name to underscores before comparing it to the blurb. - Check if the type simply as T_ prepended to the name. - Don't put in a blurb of "NULL". and regenerate the dissectors. svn path=/trunk/; revision=32748
2010-05-11Regenerate a few of the ASN.1 dissectorsJeff Morriss1-297/+297
svn path=/trunk/; revision=32742
2010-01-21From Alex Lindberg:Anders Broman1-10/+62
resolves all h248V1 differences and provides dissection of V1 instances of Packets, Events, Signals, and Properties. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3999 svn path=/trunk/; revision=31597
2010-01-17Get rid of check_col();Anders Broman1-48/+47
svn path=/trunk/; revision=31546
2009-10-09Regenerate asn1 dissectors (no change, only some line offset changes)Kovarththanan Rajaratnam1-17/+17
svn path=/trunk/; revision=30454
2009-10-08From Gerasimos Dimitriadis via. bug 4104:Kovarththanan Rajaratnam1-13/+13
When dissecting a h248 message, col_set_str is called with a string from the ephemeral pool and an assertion fails. svn path=/trunk/; revision=30398
2009-09-28Only include config.h in C files, to avoid multiple inclusion.Stig Bjørlykke1-0/+4
svn path=/trunk/; revision=30182
2009-09-10From Alex Lindberg:Anders Broman1-56/+294
Add H248V1 suport. (H248 dissector fails on poorly formed AuditReply packet from Media Gateway) https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3953 svn path=/trunk/; revision=29835
2009-09-08From Alex Lindberg:Anders Broman1-4/+4
Update to h248v3.asn Applied the change from the Amendment 1 by hand. svn path=/trunk/; revision=29787
2009-08-21Sanitize epan includesKovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=29499
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29340
2009-06-27From yin sun:Anders Broman1-4/+8
h248 term wildcard enhancement svn path=/trunk/; revision=28861
2009-06-26Re-generate asn1 dissectors after hf_register_info cleanup.Stig Bjørlykke1-9/+9
svn path=/trunk/; revision=28848
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-68/+68
(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-16Regenerate all asn2wrs generated dissectors.Stig Bjørlykke1-42/+42
svn path=/trunk/; revision=28379
2009-03-31Update value strings.Anders Broman1-4/+86
svn path=/trunk/; revision=27916
2008-12-17Fix some typos and spelling (mostly in text strings)Bill Meier1-1/+1
svn path=/trunk/; revision=27037
2008-12-16Fix some spelling/typosBill Meier1-1/+1
svn path=/trunk/; revision=27024
2008-11-04asn2wrs generated files changed as a result of recent asn1 template changes Bill Meier1-50/+36
svn path=/trunk/; revision=26698
2008-11-01Regenerate all asn2wrs generated dissectorsAnders Broman1-42/+42
svn path=/trunk/; revision=26670