aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-catapult-dct2000.c
AgeCommit message (Collapse)AuthorFilesLines
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
2011-11-21Add the system frame number (SFN) to the context fields logged along with ↵Martin Mathieson1-3/+8
LTE MAC frames. svn path=/trunk/; revision=39971
2011-11-15UMTS RLC:Martin Mathieson1-7/+8
- add lookup for "unknown" channel type dissector (mode is known) - set length extent for SUFI root item - show data frames in the info column (at least for AM...) DCT: - call RLCDCH with "unknown" channel type (as don't know whether IP or RRC) - support R9 svn path=/trunk/; revision=39846
2011-11-14Add remaining UMTS RLC primitive parameters preceding RLC payload.Martin Mathieson1-1/+113
svn path=/trunk/; revision=39826
2011-11-04Terminate a value_string.Jeff Morriss1-1/+2
svn path=/trunk/; revision=39731
2011-11-03Add (most) primitive header items to the tree before calling UMTS RLC dissector.Martin Mathieson1-3/+82
svn path=/trunk/; revision=39724
2011-10-28Fix the width of a type (and hopefully please the buildbots).Martin Mathieson1-1/+1
svn path=/trunk/; revision=39657
2011-10-28First go at calling UMTS RLC dissector from IxCatapult logs.Martin Mathieson1-1/+226
Had to change some #defines in the header file (for UDP-framed/heuristic dissector) - will need to update example sending program later on tonight. svn path=/trunk/; revision=39656
2011-10-26Fix some proto_tree_add_item() encoding args;Bill Meier1-13/+16
Remove some unneeded #includes. svn path=/trunk/; revision=39612
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-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵Bill Meier1-5/+5
FT_STRINGZ, FT_UINT_STRING as follows: 1. If there's no character encoding (ENC_ASCII, ...) specified then use ENC_ASCII. 2. For all but FT_UINT_STRING, always use ENC_NA (replacing any existing True/1/FALSE/0 /ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN). svn path=/trunk/; revision=39426
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-25/+25
non-autogenerated epan/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=39288
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵Bill Meier1-3/+3
reference an hf item (in hf[] with types: FT_NONE FT_BYTES FT_IPV6 FT_IPXNET FT_OID Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN svn path=/trunk/; revision=39260
2011-08-08Remove unneeded #includes: proto.h,tvbuff.h,value_string.h,stdlib.h,...Bill Meier1-1/+0
svn path=/trunk/; revision=38413