aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ansi_map.c
AgeCommit message (Collapse)AuthorFilesLines
2014-06-19batch of manual tvb_length conversionsEvan Huus1-1/+1
Change-Id: Ib3a1ddc4342a7a8648d6ed8bfcb35aa229c56a27 Reviewed-on: https://code.wireshark.org/review/2445 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-19Revert "Fixup: tvb_* -> tvb_captured"Michael Mann1-14/+14
https://www.wireshark.org/lists/wireshark-dev/201406/msg00131.html This reverts commit 246fe2ca4c67d8c98caa84e2f57694f6322e2f96. Change-Id: Ib24bae0198c13a84bd7f731bf4af921212109a8f Reviewed-on: https://code.wireshark.org/review/2430 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-18Fixup: tvb_* -> tvb_capturedDario Lombardo1-14/+14
Change-Id: I9209c1271967405c34c1b6fa43e1726a4d3a5a3f Reviewed-on: https://code.wireshark.org/review/2377 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-02-18Remove $Id$ from the ASN.1 dissectors and regenerate them.Jeff Morriss1-52/+50
Change-Id: Ie476c6f82f318188b41ed922b92c6fec119ea954 Reviewed-on: https://code.wireshark.org/review/244 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com> Tested-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2014-01-21Fix one half-changed tvb_get_string() call.Guy Harris1-1/+1
svn path=/trunk/; revision=54879
2014-01-21IA5 = ASCII. Use tvb_get_string_enc() with an explicit encoding, notGuy Harris1-2/+2
tvb_get_string(). svn path=/trunk/; revision=54877
2014-01-04Omit assignment for not used types.Anders Broman1-83/+45
svn path=/trunk/; revision=54591
2013-12-18Add a sixteenth element to all BCD digit sets to avoid garbage values whenEvan Huus1-1/+1
decoding corrupt bytes. Some of these digit sets could probably be deduplicated... svn path=/trunk/; revision=54224
2013-12-14Remove not needed ';'Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=54088
2013-12-02Reject the packet if data is NULL without doing anything else.Chris Maynard1-8/+6
svn path=/trunk/; revision=53708
2013-11-23Convert ASN1 dissectors from ep_address_to_str to address_to_str. Clean up a bitEvan Huus1-4/+4
of ansi_tcap code while in the neighbourhood. svn path=/trunk/; revision=53530
2013-10-27Have ANSI TCAP dissector pass data through subdissector parameter instead of ↵Michael Mann1-73/+62
using struct _packet_info. svn path=/trunk/; revision=52885
2013-10-26Fix some [-Wunused-const-variable] warnings (using '#if 0')Bill Meier1-3/+51
svn path=/trunk/; revision=52862
2013-09-22More emem -> wmem conversion:Pascal Quantin1-3/+3
- tvb_get_g_stringz()/tvb_get_ephemeral_stringz()/tvb_get_seasonal_stringz() -> tvb_get_stringz() - tvb_get_g_stringz_enc()/tvb_get_ephemeral_stringz_enc() -> tvb_get_stringz_enc() - tvb_get_ephemeral_unicode_stringz() -> tvb_get_unicode_stringz() - tvb_bcd_dig_to_ep_str() -> tvb_bcd_dig_to_wmem_packet_str() - update docs accordingly svn path=/trunk/; revision=52180
2013-09-22emem -> wmem conversion:Pascal Quantin1-2/+2
- ep_tvb_get_bits() -> wmem_packet_tvb_get_bits() - tvb_g_memdup()/ep_tvb_memdup() -> tvb_memdup() - tvb_fake_unicode()/tvb_get_ephemeral_faked_unicode() -> tvb_get_faked_unicode() - tvb_get_g_string()/tvb_get_ephemeral_string()/tvb_get_seasonal_string() -> tvb_get_string() - tvb_get_g_unicode_string()/tvb_get_ephemeral_unicode_string() -> tvb_get_unicode_string() - tvb_get_ephemeral_string_enc() -> tvb_get_string_enc() - update docs accordingly svn path=/trunk/; revision=52172
2013-09-12Convert a few dissectors from emem to wmem APIPascal Quantin1-2/+2
svn path=/trunk/; revision=51983
2013-06-19Apparently one of our major global headers must include emem.h, because I justEvan Huus1-9/+10
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-05-27Postfix FT_NONE fields with "_element" string to reduce number of ↵Pascal Quantin1-224/+224
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-20[-Wmissing-prototypes]Anders Broman1-6/+10
Use explicit casts. svn path=/trunk/; revision=48439
2013-02-26its ==> it's & it's ==> its as needed.Bill Meier1-1/+1
svn path=/trunk/; revision=47892
2013-01-05Regenerate ANSI MAP dissectorPascal Quantin1-1/+1
svn path=/trunk/; revision=46948
2012-11-29Make all enum_val_t's const.Jeff Morriss1-1/+1
svn path=/trunk/; revision=46292
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-08-18make hash key session scopedMichael Mann1-21/+8
cleanup g_snprintf svn path=/trunk/; revision=44565
2012-08-18Mark a parameter as unused.Guy Harris1-6/+1
Clean up indentation and get rid of trailing white space. svn path=/trunk/; revision=44562
2012-08-18epan/dissectors/packet-ansi_map.c shouldn't be edited - it's generatedGuy Harris1-5/+4
from the files in asn1/ansi_map. Update packet-ansi_map-template.c to reflect the use of session-scope-allocated data for the saved invoke data, and regenerate the dissector - which means that TransactionId_table_cleanup() still exists, and is still used, it just frees only the hash table key, which is g_strdup()ed, not the value, which is automatically freed when the session-scope-allocated data is all freed. svn path=/trunk/; revision=44561
2012-08-18Use capture scoped memory for hash table functionalityMichael Mann1-2/+1
svn path=/trunk/; revision=44558
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-05-19Fix RVALS() macro usagepascal1-1/+1
svn path=/trunk/; revision=42720
2012-04-11The trial period is arguably over - no need for packet-ansi_map.c toGuy Harris1-13/+3
have its own #if 0'ed out definition of dgt_set_t. svn path=/trunk/; revision=42020
2012-04-11Get rid of redundant Dgt1_9_bcd digit set - passing NULL as the digitGuy Harris1-77/+70
set uses tvb_bcd_dig_to_ep_str()'s default digit set, which is the same. Clean up white space (no 4-space tab characters). svn path=/trunk/; revision=42019
2012-03-11Do not assign a value to itself.Stig Bjørlykke1-21/+17
svn path=/trunk/; revision=41482
2012-02-27Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-14/+6
svn path=/trunk/; revision=41211
2012-01-18Fix some duplicate display filter names.Chris Maynard1-6/+6
svn path=/trunk/; revision=40568
2011-11-19Get rid of Warnings.Anders Broman1-8/+8
svn path=/trunk/; revision=39951
2011-11-18Use tvb_bcd_dig_to_ep_str().Anders Broman1-44/+6
svn path=/trunk/; revision=39929
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-18Do some more conversions of proto_tree_add_item() 'encoding' argBill Meier1-9/+9
(previously missed). svn path=/trunk/; revision=39451
2011-10-15Convert asn1 template files proto_tree_add_item() 'encoding' arg for field ↵Bill Meier1-2/+2
types FT_STRING as follows: 1. If there's no character encoding (ENC_ASCII, ...) specified then use ENC_ASCII. 2. Always use ENC_NA (replacing any existing True/1/FALSE/0 /ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN). svn path=/trunk/; revision=39428
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-10-10Convert 'encoding' parameter of certain proto_tree_add_item() calls in asn1/*:Bill Meier1-105/+105
Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_BOOLEAN FT_IPv4 FT_EUI64 FT_GUID FT_UINT_STRING Also: For type FT_IPv6 use ENC_NA. (This was missed in SVN #39260) svn path=/trunk/; revision=39332
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in asn1 ↵Bill Meier1-97/+97
dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE svn path=/trunk/; revision=39294
2011-07-21Try to do a more syntactically correct import.Anders Broman1-1/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6150 svn path=/trunk/; revision=38159
2011-05-18Fix a couple (value) mistakes in value_strings. Found by Martin's patch on ↵Jeff Morriss1-6/+6
the -dev list. svn path=/trunk/; revision=37259
2011-04-11Regenerate the ANSI MAP, LDAP, and TETRA dissectors so that Coverity canGerald Combs1-56/+56
locate their template files. svn path=/trunk/; revision=36569
2011-02-07Add a missing IE found in trace from ↵Anders Broman1-0/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5637 svn path=/trunk/; revision=35842
2011-02-05Remove debug printouts.Anders Broman1-6/+7
svn path=/trunk/; revision=35834
2011-02-04Introduce preferences to set the strictness of Invoke/responseAnders Broman1-17/+49
tracking. svn path=/trunk/; revision=35822