aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
AgeCommit message (Collapse)AuthorFilesLines
2013-04-04Update ASN.1 conformance files with the changes from r48634Pascal Quantin3-10/+10
svn path=/trunk/; revision=48741
2013-04-04Fix encoding arg for proto_tree_add_item() and friends.Chris Maynard1-5/+5
svn path=/trunk/; revision=48732
2013-04-03Sort LocalCode value string.Anders Broman1-1/+1
svn path=/trunk/; revision=48721
2013-03-29Rename value string (and similar) functions to use a consistent pattern. ThisEvan Huus7-23/+23
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-28-Wmissing-prototypesAnders Broman19-1/+52
svn path=/trunk/; revision=48609
2013-03-27Fix another incorrectly duplicated display filter, this time for ↵Chris Maynard1-2/+2
hf_gsm_map_etsi_pdp_type_number. #BACKPORT(1.6,1.8) svn path=/trunk/; revision=48601
2013-03-27Fix the incorrectly duplicated display filter for hf_gsm_map_dlci.Chris Maynard1-1/+1
#BACKPORT(1.6, 1.8) svn path=/trunk/; revision=48597
2013-03-26Make the oid memeber a const.Anders Broman1-1/+1
svn path=/trunk/; revision=48558
2013-03-24Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8517 :Pascal Quantin1-6/+6
Do not tap an unknown Opration Code svn path=/trunk/; revision=48539
2013-03-22Don't wire into the reassembly code the notion that reassemblies shouldGuy Harris4-38/+36
be done on flows from one address to another; reassembly for protocols running atop TCP should be done on flows from one TCP endpoint to another. We do this by: adding "reassembly table" as a data structure; associating hash tables for both in-progress reassemblies and completed reassemblies with that data structure (currently, not all reassemblies use the latter; they might keep completed reassemblies in the first table); having functions to create and destroy keys in that table; offering standard routines for doing address-based and address-and-port-based flow processing, so that dissectors not needing their own specialized flow processing can just use them. This fixes some mis-reassemblies of NIS YPSERV YPALL responses (where the second YPALL response is processed as if it were a continuation of a previous response between different endpoints, even though said response is already reassembled), and also allows the DCE RPC-specific stuff to be moved out of epan/reassembly.c into the DCE RPC dissector. svn path=/trunk/; revision=48491
2013-03-22Add some of the global codes as asn2wrs handle them now.Anders Broman3-3/+26
svn path=/trunk/; revision=48478
2013-03-22Make Freephone-Operations parseable.Anders Broman1-2/+39
svn path=/trunk/; revision=48475
2013-03-21Fix compilation for LinuxPascal Quantin1-0/+1
svn path=/trunk/; revision=48464
2013-03-21Upgrade LTE RRC dissector to v11.3.0Pascal Quantin5-548/+633
svn path=/trunk/; revision=48463
2013-03-21From beroset:Bill Meier2-2/+2
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachments #10423,#10424 svn path=/trunk/; revision=48450
2013-03-20Upgrade RRC dissector to v11.5.0Pascal Quantin7-321/+743
svn path=/trunk/; revision=48444
2013-03-20Upgrade LPP dissector to v11.2.0Pascal Quantin2-13/+42
svn path=/trunk/; revision=48443
2013-03-20From beroset:Bill Meier1-2/+2
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachment #10401 svn path=/trunk/; revision=48441
2013-03-20svn path=/trunk/; revision=48440Anders Broman4-6/+18
2013-03-20[-Wmissing-prototypes]Anders Broman2-5/+14
Use explicit casts. svn path=/trunk/; revision=48439
2013-03-19From beroset:Anders Broman15-42/+36
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48429
2013-03-19From beroset:Anders Broman1-10/+10
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48412
2013-03-18From beroset:Anders Broman3-24/+24
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48399
2013-03-17Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+1
svn path=/trunk/; revision=48374
2013-03-17From beroset:Anders Broman2-18/+18
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48356
2013-03-14From beroset:Anders Broman1-4/+4
changed implicit casts to explicit casts and corrected one erroneous cast (from void* to void**) https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48286
2013-03-12From beroset:Anders Broman1-2/+2
remove C++ incompatibilities from UAT_VS_DEF macro and all uses https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48259
2013-03-08Update to V11.5.0 (2012-12).Anders Broman24-81/+317
svn path=/trunk/; revision=48195
2013-03-08Prettify a bit dissection of sr-ProhibitTimer-r9 and drxShortCycleTimerPascal Quantin1-4/+10
svn path=/trunk/; revision=48188
2013-03-04Use explicit casts.Anders Broman4-20/+20
svn path=/trunk/; revision=48045
2013-03-03Use explicit casts.Anders Broman2-21/+22
svn path=/trunk/; revision=48043
2013-03-02Use explicit casts.Anders Broman6-26/+26
svn path=/trunk/; revision=48008
2013-03-02Remove asn1/dsp from autotools Makefile system since it lacks distclean targetBalint Reczey1-1/+0
svn path=/trunk/; revision=47994
2013-03-01Export libwireshark symbols using WS_DLL_PUBLIC defineBalint Reczey19-26/+50
Also remove old WS_VAR_IMPORT define and related Makefile magic everywhere in the project. svn path=/trunk/; revision=47992
2013-02-28The LDAP dissector uses register_frame_end_routine(), so it needs toGuy Harris1-0/+1
include packet-frame.h. svn path=/trunk/; revision=47928
2013-02-27Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8378 :Pascal Quantin1-3/+7
A detailed diagnostic information contains either a SMS-SUBMIT-REPORT or a SMS-DELIVERY-REPORT. Set P2P direction accordingly. svn path=/trunk/; revision=47927
2013-02-27Get rid of unnecessary includes of "packet-frame.h".Guy Harris1-1/+0
svn path=/trunk/; revision=47925
2013-02-27Move show_exception() and show_reported_bounds_error() toGuy Harris6-11/+8
epan/show_exception.c, as it's used outside epan/dissectors/packet-frame.c. Update their callers to include <epan/show_exception.h> to get their declaration. Add a CATCH_NONFATAL_ERRORS macro that catches all exceptions that, if there's more stuff in the packet to dissect after the dissector call that threw the exception, doesn't mean you shouldn't go ahead and dissect that stuff. Use it in all those cases, including ones where BoundsError was inappropriately being caught (you want those passed up to the top level, so that the packet is reported as having been cut short in the capture process). Add a CATCH_BOUNDS_ERRORS macro that catches all exceptions that correspond to running past the end of the data for a tvbuff; use it rather than explicitly catching those exceptions individually, and rather than just catching all exceptions (the only place that DissectorError should be caught, for example, is at the top level, so dissector bugs show up in the protocol tree). Don't catch and then immediately rethrow exceptions without doing anything else; just let the exceptions go up to the final catcher. Use show_exception() to report non-fatal errors, rather than doing it yourself. If a dissector is called from Lua, catch all non-fatal errors and use show_exception() to report them rather than catching only ReportedBoundsError and adding a proto_malformed item. Don't catch exceptions when constructing a trailer tvbuff in packet-ieee8023.c - just construct it after the payload has been dissected, and let whatever exceptions that throws be handled at the top level. Avoid some TRY/CATCH/ENDTRY cases by using checks such as tvb_bytes_exist() before even looking in the tvbuff. svn path=/trunk/; revision=47924
2013-02-26SNMP dissector should handle aes256 (better version than r47690)Michael Mann1-47/+96
svn path=/trunk/; revision=47902
2013-02-26Fix spelling/typos found using a list of commonly misspelled words.Bill Meier7-38/+38
The misspellings were mostly in comments but some were in text strings visible to the user. svn path=/trunk/; revision=47899
2013-02-26its ==> it's & it's ==> its as needed.Bill Meier3-4/+4
svn path=/trunk/; revision=47892
2013-02-21include the wsutil/wsgcrypt.h instead of including gcrypt.h directlyMartin Kaiser2-2/+2
svn path=/trunk/; revision=47802
2013-02-20And one more case where tvb_new_subset_remaining() is appropriate.Guy Harris1-3/+1
svn path=/trunk/; revision=47760
2013-02-20Clean up white space - get rid of 4-space tabs.Guy Harris1-166/+176
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-19How can I get a new tvbuff that starts at an offset within a givenGuy Harris5-6/+6
tvbuff and runs to the end of the tvbuff? Let me count the ways.... Replace a bunch of different ways of doing that (some incorrect, in that they're not properly handling tvbuffs where the captured and reported lengths are different) with tvb_new_subset_remaining(). svn path=/trunk/; revision=47751
2013-02-19Remove experiment with global codeAnders Broman1-2/+3
svn path=/trunk/; revision=47747
2013-02-19Add the remaining asn1 files "CODE global" not handled yet.Anders Broman12-2/+1024
svn path=/trunk/; revision=47746
2013-02-18Dissect more supplementarry servicesAnders Broman8-50/+621
svn path=/trunk/; revision=47738
2013-02-18Add more ASN1 files.Anders Broman2-0/+106
svn path=/trunk/; revision=47730
2013-02-17Remove C++ incompatibilities in c1222 dissector.Michael Mann2-17/+9
Also addresses an implicit cast in the epan/uat.h file Bug 8342 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8342) svn path=/trunk/; revision=47721