aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nbap.c
AgeCommit message (Collapse)AuthorFilesLines
2014-06-22Fix leak in nbap init functionEvan Huus1-2/+2
Change-Id: I9a70d4da936ad5fd847fc1ba0b29b7220030b977 Reviewed-on: https://code.wireshark.org/review/2558 Reviewed-by: Evan Huus <eapache@gmail.com>
2014-06-21batch of tvb-length conversionsEvan Huus1-5/+5
Change-Id: I76ca4d075756e3ac691070e0c05344a410ea2498 Reviewed-on: https://code.wireshark.org/review/2507 Reviewed-by: Evan Huus <eapache@gmail.com>
2014-06-20Rename dissector_add_handle() to dissector_add_for_decode_as().Guy Harris1-2/+2
Hopefully that name makes it clear what the routiner's purpose is, and will encourage people to use it rather than using dissector_add_uint() with a bogus integer value. Change-Id: Ic5be456d0ad40b176aab01712ab7b13aed5de2a8 Reviewed-on: https://code.wireshark.org/review/2483 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-06-19Revert "Fixup: tvb_* -> tvb_captured"Michael Mann1-7/+7
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-7/+7
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-133/+131
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-02-05Dissector assert in packet-nbap.c. num_items isn't reset before calling a ↵Anders Broman1-19/+24
sequence filling the array. Closed-bug #9726 Change-Id: Ie4bc538b0788eb32895c9eedf8e0277c6d9ed1b2 Reviewed-on: https://code.wireshark.org/review/120 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com> Tested-by: Anders Broman <a.broman58@gmail.com>
2013-12-09- Forward declaration of register functions.Anders Broman1-7/+10
svn path=/trunk/; revision=53876
2013-11-23Convert ASN1 dissectors from ep_address_to_str to address_to_str. Clean up a bitEvan Huus1-6/+6
of ansi_tcap code while in the neighbourhood. svn path=/trunk/; revision=53530
2013-11-17Add a way to retrieve a PER variable bit string lengthPascal Quantin1-53/+53
svn path=/trunk/; revision=53382
2013-11-02Require dissector_try_string to pass a data parameter to its subdissectors. ↵Michael Mann1-3/+3
There weren't that many calls, so might as well modify the function than create a need for dissector_try_string_new. svn path=/trunk/; revision=53049
2013-09-20DCH-ID can be 255Anders Broman1-2/+2
svn path=/trunk/; revision=52154
2013-09-15Finish asn1 emem -> wmem conversion.Jörg Mayer1-18/+19
Left are snmp and those functions that don't have wmem equivalents. svn path=/trunk/; revision=52060
2013-08-07add a range check for dch_idMartin Kaiser1-58/+59
this should fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9005 svn path=/trunk/; revision=51195
2013-08-05Make some global variables staticJakub Zawadzki1-1/+1
svn path=/trunk/; revision=51163
2013-07-01Fix Coverity CID 712348 (Unused pointer value).Chris Maynard1-1/+1
svn path=/trunk/; revision=50288
2013-06-19Regenerate dissectorPascal Quantin1-1/+1
svn path=/trunk/; revision=50031
2013-06-19Fix CID 712341: Dereference null return value (NULL_RETURNS)Jörg Mayer1-3/+4
Well, not really. Just catch that case and error out. svn path=/trunk/; revision=50029
2013-06-03cc1: warnings being treated as errorsAnders Broman1-3/+3
../../asn1/nbap/packet-nbap-template.c: In function 'add_hsdsch_bind': ../../asn1/nbap/packet-nbap-template.c:349: warning: unused parameter 'tree' svn path=/trunk/; revision=49708
2013-06-03Convert ASN.1 dissectors to use filterable expert info.Michael Mann1-9/+24
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-1342/+1342
incompatible filters in ASN.1 dissectors https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2402 svn path=/trunk/; revision=49599
2013-05-19Don't access nbap_dch_chnl_info if the index is > maxNrOfDCHsAnders Broman1-57/+59
svn path=/trunk/; revision=49418
2013-04-11Update the ASN.1 based dissectors following the changes done in r48812Pascal Quantin1-2/+2
svn path=/trunk/; revision=48820
2013-03-18From beroset:Anders Broman1-12/+12
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48399
2013-02-26Fix spelling/typos found using a list of commonly misspelled words.Bill Meier1-4/+4
The misspellings were mostly in comments but some were in text strings visible to the user. svn path=/trunk/; revision=47899
2012-12-18When copying addresses, also copy the (new) hf field.Jeff Morriss1-189/+172
Use SET_ADDRESS in some dissectors that weren't using it (so that the hf field is correctly initialized). Introduce a COPY_ADDRESS_SHALLOW (which copies an address without copying the contents of the data field). svn path=/trunk/; revision=46602
2012-11-16If we have an com_context_id entry reuse that.Anders Broman1-206/+274
svn path=/trunk/; revision=46036
2012-11-14Dissable code causing a crash. Add debug printouts and add a few more ↵Anders Broman1-69/+128
visited checks. svn path=/trunk/; revision=46029
2012-09-24Regenerate asn.1 dissectors.Jakub Zawadzki1-7/+7
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-09-11Add data parameter to dissector_try_uint_newJakub Zawadzki1-2/+2
svn path=/trunk/; revision=44874
2012-09-10Regenerate all asn.1 dissectors.Jakub Zawadzki1-966/+966
svn path=/trunk/; revision=44861
2012-09-10Propage changes done in generated dissectors to asn1/Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=44845
2012-08-10Fix missing dissection of HSDSCH-Paging-System-InformationFDD (bug ↵Pascal Quantin1-20/+24
introduced in r44037) and HSDSCH-MACdPDUSizeFormat (bug introduced in r44423). While we are at it, fix a few typo errors. svn path=/trunk/; revision=44434
2012-08-10Try to make the buildbot happy.Anders Broman1-36/+28
svn path=/trunk/; revision=44425
2012-08-10From Jacob Nordgren and Rishie Sharma:Anders Broman1-953/+1330
RLC: changed so reassembly fail flag is set per channel instead of globally. RLC: added reset channel function Added support for reconfigurin HSDSCH flows, and E-DCH flows (just needs to figure out when it should become active for 'overloaded' ports), also changed slightly how ehs headers are configured in nbap. Removed extra (debugging) port in nbap This is the last patch set for a while. svn path=/trunk/; revision=44423
2012-08-08From Jacob Nordgren and Rishie Sharma:Anders Broman1-1/+2
- FP: added header CRC validation, added crc11.c and crc11.h in wsutil/ for EDCH 11 bit CRC, fixed bug in RRC, And also smaller bugfixes in umts_fp and rrc. svn path=/trunk/; revision=44349
2012-08-02From Jacob Nordgren and Rishie Sharma:Anders Broman1-3/+3
NBAP: fixed segfault, FP: aesthetic fix, RLC: added channel info to GUI, MAC-is: fixed case with reassembly when a middle segment arrives MAC, RLC, added preferences for LI-size and TSN-size svn path=/trunk/; revision=44205
2012-07-31From Jacob Nordgren and Rishie Sharma:Anders Broman1-118/+141
NBAP: added preferences to change logical channel id to mac content type mapping. svn path=/trunk/; revision=44151
2012-07-27From Jacob Nordgren and Rishie Sharma:Anders Broman1-105/+172
- Added basic support for tracking flows over reconfigured transport channels + mindor bugfixes - small fix in rrc, and some small cleanups svn path=/trunk/; revision=44062
2012-07-26From Jacob Nordgren and Rishie Sharma:Anders Broman1-47/+125
- RRC now configures logical channels in HS-DSCH hs, and some HSDSCH common support added - RLC: modifed memory management, MAC: dch would set the incorrect logical channel for RLC svn path=/trunk/; revision=44027
2012-07-18Merge the rest of Jacob Nordgren and Rishie Sharmas work onAnders Broman1-42/+174
Updateing conversation handling to dissect FP/MAC/RLC (Work in progress). svn path=/trunk/; revision=43782
2012-07-17Use G_MININT32 instead of -2^31 so as to get rid of 'this decimal constant ↵Pascal Quantin1-1/+1
is unsigned only in ISO C90' warning svn path=/trunk/; revision=43764
2012-07-16Comment a few unused variables / functionsPascal Quantin1-7/+7
svn path=/trunk/; revision=43754
2012-07-16From Jacob Nordgren and Rishie Sharma:Anders Broman1-115/+347
Updated conversation handling to dissect FP/MAC/RLC svn path=/trunk/; revision=43749
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-02Put more mesage names in info colAnders Broman1-46/+126
svn path=/trunk/; revision=42993
2012-05-30Prefix TransportFormatSet_type_enum values with NBAP_ to avoid a clash with ↵Pascal Quantin1-20/+20
'PCH' in <WinNT.h> svn path=/trunk/; revision=42922
2012-05-30Dissect non segmented MiB and SiB:sAnders Broman1-48/+111
svn path=/trunk/; revision=42914
2012-05-28Keep backward compatibility with UDP framing format for UMTS RLC dissectorPascal Quantin1-110/+109
Fix a few typo errors while we are at it svn path=/trunk/; revision=42889