aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-catapult-dct2000.c
AgeCommit message (Collapse)AuthorFilesLines
2014-12-22First batch of unincludes. Last attempt...Martin Mathieson1-2/+0
Change-Id: I3681462aeb98ca62ed3ec5eb226b2553317391a9 Reviewed-on: https://code.wireshark.org/review/5997 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2014-12-21Cleanup use of #includes in non-generated epan/dissector/*.cBill Meier1-3/+0
Specifically: - Set packet.h to be the first wireshark #include after config.h and "system" #includes. packet.h added as an #include in some cases when missing. - Remove some #includes included (directly/indirectly) in packet.h. E.g., glib.h. (Done only for those files including packet.h). - As needed, move "system" #includes to be after config.h and before wireshark #includes. - Rework various #include file specifications for consistency. - Misc. Change-Id: Ifaa1a14b50b69fbad38ea4838a49dfe595c54c95 Reviewed-on: https://code.wireshark.org/review/5923 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-11-16Remove ipproto member of packet_info.Michael Mann1-12/+0
All situations can be handled with "shimmed" dissector functions. Change-Id: Ic85483b32d99d3270b193c9f6b29574d8fad46a8 Reviewed-on: https://code.wireshark.org/review/5327 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-10-20Get rid of calls to ctype.h functions.Guy Harris1-4/+3
They don't handle values outside the range -1 to 127, and their behavior is locale-dependent. Use g_ascii_isXXX() and g_ascii_toXXX() instead of isXXX() and toXXX(). If you're checking for printable ASCII, don't use isascii() and don't use iscntrl(), use g_ascii_isprint(). If you're checking for graphical ASCII, i.e. printable ASCII except for a space, use g_ascii_isgraph(). Use ws_xton() to convert a hex digit character to the corresponding numeric value. Change-Id: Id3039bc586fbf66d8736c2df248c790c0d7a2330 Reviewed-on: https://code.wireshark.org/review/4851 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-08-15packet-catapult-dct2000.c: Create/use and extended value-string; Add editor ↵Bill Meier1-1/+14
modelines. Change-Id: I881700ec2ec011f22172ff21f2f13dfaa6dae68e Reviewed-on: https://code.wireshark.org/review/3614 Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-07-07Trying to create and use an empty tvb now throws an exception. Just pass ↵Martin Mathieson1-3/+1
current tvb to mac-lte dissector. Change-Id: I4aa24342192ec079254f26e00317470377c3e20b Reviewed-on: https://code.wireshark.org/review/2916 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2014-06-19Revert "Fixup: tvb_* -> tvb_captured"Michael Mann1-10/+10
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-10/+10
Change-Id: I9209c1271967405c34c1b6fa43e1726a4d3a5a3f Reviewed-on: https://code.wireshark.org/review/2377 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-06-18Fixup: tvb_get_string(z) -> tvb_get_string(z)_encDario Lombardo1-3/+3
Change-Id: I63a3704effe3fcab01a193dc39b6a22e9f1cf3fe Reviewed-on: https://code.wireshark.org/review/2376 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-06-07tvb_new_subset -> tvb_new_subset_length when length parameters are equal.Michael Mann1-1/+1
tvb_new_subset -> tvb_new_subset_remaining it appears that's what the intention is. Change-Id: I2334bbf3f10475b3c22391392fc8b6864454de2d Reviewed-on: https://code.wireshark.org/review/1999 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-12-22From Fabrice Bellard:Pascal Quantin1-5/+5
Add Carrier Id and detailed PHY info to MAC LTE UDP framing dissector svn path=/trunk/; revision=54370
2013-12-15Fix [-Wmissing-prototypes]Jakub Zawadzki1-2/+3
svn path=/trunk/; revision=54135
2013-12-03When including <epan/prefs.h> don't force inclusion of <epan/uat.h>Jakub Zawadzki1-0/+1
svn path=/trunk/; revision=53769
2013-11-23Create the ability to have packet scoped "proto" data. Bug 9470 ↵Michael Mann1-11/+11
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9470) I'm not sold on the name or module the proto_data functions live in, but I believe the function arguments are solid and gives us the most flexibility for the future. And search/replace of a function name is easy enough to do. The big driving force for getting this in sooner rather than later is the saved memory on ethernet packets (and IP packets soon), that used to have file_scope() proto data when all it needed was packet_scope() data (technically packet_info->pool scoped), strictly for Decode As. All dissectors that use p_add_proto_data() only for Decode As functionality have been converted to using packet_scope(). All other dissectors were converted to using file_scope() which was the original scope for "proto" data. svn path=/trunk/; revision=53520
2013-11-11Include rohc struct inside pdcp instead of repeating all of the fieldsMartin Mathieson1-8/+8
svn path=/trunk/; revision=53262
2013-09-22emem -> wmem conversion:Pascal Quantin1-3/+3
- 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-13Convert a few more dissectors to wmemPascal Quantin1-9/+9
svn path=/trunk/; revision=52013
2013-09-09expert_add_info_format_text -> expert_add_info_formatMichael Mann1-1/+1
svn path=/trunk/; revision=51852
2013-05-25Batch of filterable expert_infos.Michael Mann1-3/+13
svn path=/trunk/; revision=49581
2013-05-12Add the posibillity to use a key for per-packet-data.Anders Broman1-11/+11
svn path=/trunk/; revision=49259
2013-04-18Add R10 versions of LTE protocols.Martin Mathieson1-8/+16
svn path=/trunk/; revision=48911
2013-03-14From beroset:Anders Broman1-24/+24
remove C++ incompatibilities from packet-catapult-dct2000.c https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48305
2013-02-26it's ==> its & its ==> it's as needed.Bill Meier1-4/+4
svn path=/trunk/; revision=47891
2013-02-24Various enhancements to ROHC dissector:Pascal Quantin1-1/+1
- fix dissection of type 0 packets with large CID - add dissection of type 1 and 2 packets (extension 3 dissection to be done) - add dissection of UDP checksum svn path=/trunk/; revision=47869
2013-02-19How can I get a new tvbuff that starts at an offset within a givenGuy Harris1-4/+4
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-15Add support for reading/writing 'sprint' lines from test scripts.Martin Mathieson1-4/+27
svn path=/trunk/; revision=47686
2012-12-03Use tvb_get_const_stringz() when I know the tvb will be contiguous.Martin Mathieson1-5/+5
svn path=/trunk/; revision=46339
2012-12-02Introduce, and start using, TVB_SET_ADDRESS() and TVB_SET_ADDRESS_HF(). TheyJeff Morriss1-18/+12
are like the non-TVB versions except that they take a TVB and an offset instead of (frequently) a pointer into the TVB. Calling tvb_get_ptr() before modifying the rest of the fields should help fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7960 (though I can't reproduce that problem). Replace a bunch of calls like: SET_ADDRESS(..., AT_XXX, length, tvb_get_ptr(tvb, offset, length)); with: TVB_SET_ADDRESS(..., AT_XXX, tvb, offset, length); svn path=/trunk/; revision=46324
2012-11-18Support the older format of SR failure for a while longer.Martin Mathieson1-2/+6
svn path=/trunk/; revision=46065
2012-10-10Get rid of an outdated formatMartin Mathieson1-6/+0
svn path=/trunk/; revision=45450
2012-10-10Update to format of string that indicates SR failure.Martin Mathieson1-1/+3
svn path=/trunk/; revision=45448
2012-10-06Give up trying to parse those lines - the format has changed and its tooMartin Mathieson1-73/+0
complicated now. svn path=/trunk/; revision=45342
2012-09-24Also avoid some unnecessary calls to strcmp() here, where the releaseMartin Mathieson1-10/+2
number at the end isn't important to know. svn path=/trunk/; revision=45092
2012-09-23Let's be consistent and display lte_rrc root for all LTE RRC messagesPascal Quantin1-3/+3
svn path=/trunk/; revision=45080
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 call_dissector_only.Jakub Zawadzki1-6/+6
svn path=/trunk/; revision=44872
2012-08-21Use tvb_get_stringz() rather than tvb_get_const_stringz(). I know thatMartin Mathieson1-5/+5
these strings will be in a single, contiguous tvb... svn path=/trunk/; revision=44607
2012-07-18Match R9 versions of some more LTE protocols to registered dissector names.Martin Mathieson1-4/+9
svn path=/trunk/; revision=43777
2012-07-12Speed up reading of out-header values, and add a couple of 'monitor'Martin Mathieson1-19/+57
fields. svn path=/trunk/; revision=43678
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-07packet-umts_fp.h now requires epan/conversation.h.Guy Harris1-0/+1
svn path=/trunk/; revision=42470
2012-04-28Check result of sscanf(), and avoid a mirrored variable declaration.Martin Mathieson1-2/+5
From Visual Studio Analyzer output. svn path=/trunk/; revision=42327
2012-04-28Don't look up p_fp_info only to always overwrite it.Martin Mathieson1-1/+1
svn path=/trunk/; revision=42314
2012-04-25Upgrade MAC LTE dissector to Release 10 (V10.5.0)pascal1-0/+5
svn path=/trunk/; revision=42240
2012-03-29Improve support for primitives that carry NAS-EPS.Martin Mathieson1-14/+122
Also parse beginning of "Monitor" lines. svn path=/trunk/; revision=41821
2012-03-16FT_BOOLEAN hf[] entries with a 0 'bitmask' should have 'display' = BASE_NONE;Bill Meier1-65/+66
In some cases: Use val_to_str_const() instead of val_to_str(); Reformat long lines; Do some general whitespace changes. svn path=/trunk/; revision=41587
2012-03-06Call X2AP dissector.Martin Mathieson1-0/+7
svn path=/trunk/; revision=41373
2012-01-11"Call nas-eps" dissector for nas_rrc_r8_lte and nas_rrc_r9_lte frames that ↵Martin Mathieson1-0/+50
have L3 payloads. svn path=/trunk/; revision=40441
2011-11-25Add the reason for a UL ReTx (PDCCH retx grant or PHICH NACK).Martin Mathieson1-1/+7
svn path=/trunk/; revision=40001