aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pdcp-lte.c
AgeCommit message (Collapse)AuthorFilesLines
2013-12-12Missing from last commit - copy hfn into stored result for PDUMartin Mathieson1-0/+1
svn path=/trunk/; revision=53960
2013-12-12Show other security inputs (apart from keys)Martin Mathieson1-12/+89
svn path=/trunk/; revision=53959
2013-11-23Create the ability to have packet scoped "proto" data. Bug 9470 ↵Michael Mann1-6/+6
(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-22Tweak filter names for expert items, mostly to consistently use - rather than _Martin Mathieson1-4/+4
svn path=/trunk/; revision=53514
2013-11-22Tidy up some TODOsMartin Mathieson1-11/+5
svn path=/trunk/; revision=53513
2013-11-11Include rohc struct inside pdcp instead of repeating all of the fieldsMartin Mathieson1-32/+25
svn path=/trunk/; revision=53262
2013-10-31Test was the wrong way aroundMartin Mathieson1-1/+1
svn path=/trunk/; revision=53000
2013-10-30Initialise current_security to NULL, to avoid possibly using uninitialisedMartin Mathieson1-1/+1
svn path=/trunk/; revision=52983
2013-10-30Get rid of value_strings that appear to be a throwback to when ROHC appeared ↵Martin Mathieson1-38/+0
in this dissector svn path=/trunk/; revision=52982
2013-10-30Don't call RRC dissector if should be ciphered. Take care to allow ↵Martin Mathieson1-74/+72
SecurityModeComplete to be shown though (i.e. the next UL frame after security is configured) svn path=/trunk/; revision=52981
2013-10-29Add casts to results of g_hash_table_lookup() callsMartin Mathieson1-2/+3
svn path=/trunk/; revision=52955
2013-10-29Show security config settings in each PDCP PDU. Don't call IP dissector for ↵Martin Mathieson1-11/+144
ciphered userplane frames. SRB messages are more complicated - need to keep track of SecurityModeRequest and SecurityModeResponse as they are not ciphered svn path=/trunk/; revision=52953
2013-10-29Add a cast to try to fix OSX buildbotMartin Mathieson1-1/+1
svn path=/trunk/; revision=52947
2013-10-29Pass security command details (integrity and ciphering algorithms) to PDCP ↵Martin Mathieson1-1/+37
(which doesn't yet do much with them) svn path=/trunk/; revision=52946
2013-10-23#if 0 numerous "unused const variables" (mostly value-string-arrays);Bill Meier1-0/+8
Also; fix a few "set but not used" warnings. svn path=/trunk/; revision=52780
2013-10-20Pass ROHC "private data" from PDCP-LTE using dissector data parameter ↵Michael Mann1-4/+2
instead of using pinfo->private_data. Passing data through the dissector parameter eliminates the need for ROHC dissector to save/restore private_data. svn path=/trunk/; revision=52723
2013-09-09expert_add_info_format_text -> expert_add_info_formatMichael Mann1-7/+7
svn path=/trunk/; revision=51852
2013-09-05Batch of filterable expert info.Michael Mann1-8/+21
Some of the FT_NONE hf_ variables were removed in favor of proto_tree_add_expert. It may also be possible to remove some of the booleans surrounding the expert info. New expert display filters may need to be double-checked to make sure they make sense. svn path=/trunk/; revision=51760
2013-08-30Convert a few dissectors from EMEM to WMEM APIPascal Quantin1-7/+7
svn path=/trunk/; revision=51597
2013-07-06Add UE Id to UDP framing protocolPascal Quantin1-0/+4
svn path=/trunk/; revision=50422
2013-07-04Add channel id to UDP framing protocol and allow to dissect only the header ↵Pascal Quantin1-0/+9
of a signalling PDU (as we do for data PDUs) svn path=/trunk/; revision=50381
2013-06-17tvb_length_remaining() can return -1 so don't cast its return value to an ↵Chris Maynard1-1/+1
unsigned type when performing integer comparisons. Instead, cast strlen()'s return value to a signed type and perform the comparison that way. #BACKPORT(1.10,1.8) svn path=/trunk/; revision=49983
2013-06-17Use a more compact display for the status bitmapPascal Quantin1-78/+24
svn path=/trunk/; revision=49974
2013-06-16Improve the way PDCP status PDUs are shown.Martin Mathieson1-9/+63
For the bitmap, present and missing SNs are both interesting, but only until the last received SN (i.e. the last byte of the bitmap will be padded out with zero bits). It would be possible to use existing sequence analysis info, where available, to decide if any zeros beyond the last received SN are interesting... svn path=/trunk/; revision=49959
2013-05-12Add the posibillity to use a key for per-packet-data.Anders Broman1-6/+6
svn path=/trunk/; revision=49259
2013-04-23Turn some preferences on by default. Won't affect info column.Martin Mathieson1-3/+3
svn path=/trunk/; revision=49005
2013-03-19From beroset:Anders Broman1-4/+4
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48425
2013-02-26it's ==> its & its ==> it's as needed.Bill Meier1-1/+1
svn path=/trunk/; revision=47891
2013-02-24Various enhancements to ROHC dissector:Pascal Quantin1-11/+11
- 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-1/+1
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-01-04replace "unsigned" datatype with "guint". Some mpeg files needed "unsigned ↵Michael Mann1-11/+11
int" instead. bugs 7825-7827 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7825) svn path=/trunk/; revision=46928
2012-12-16Fix some clang warnings.Martin Mathieson1-4/+8
svn path=/trunk/; revision=46549
2012-11-29Make all enum_val_t's const.Jeff Morriss1-2/+2
svn path=/trunk/; revision=46292
2012-11-15Include channel details in PDCP sequence analysis expert info strings.Martin Mathieson1-8/+17
svn path=/trunk/; revision=46035
2012-10-07Use GPOINTER_TO_UINT macro.Martin Mathieson1-1/+1
svn path=/trunk/; revision=45368
2012-10-07Make the channel state key fit into the gpointer to avoid allocations.Martin Mathieson1-40/+50
Don't fetch the first byte of the payload length multiple times. svn path=/trunk/; revision=45367
2012-09-23Let's be consistent and display lte_rrc root for all LTE RRC messagesPascal Quantin1-1/+1
svn path=/trunk/; revision=45080
2012-09-21Upgrade PDCP LTE dissector to v11.0.0Pascal Quantin1-39/+101
svn path=/trunk/; revision=45049
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-19Revert r45005.Martin Mathieson1-3/+3
svn path=/trunk/; revision=45006
2012-09-19Make proto_item_append_string() behave sanely, and use it in a few moreMartin Mathieson1-3/+3
dissectors. svn path=/trunk/; revision=45005
2012-09-11Add data parameter to call_dissector_only.Jakub Zawadzki1-5/+5
svn path=/trunk/; revision=44872
2012-09-10Initial commit to support yet another method of passing data between dissectors.Jakub Zawadzki1-1/+1
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL svn path=/trunk/; revision=44860
2012-08-22proto_item_append_string() doesn't work this case, so stop using it.Martin Mathieson1-2/+2
I am tempted though to chage proto_item_append_string() just be like proto_item_append_text() without the call to g_vsnprintf(), which is the expensize part I was hoping to avoid. svn path=/trunk/; revision=44614
2012-08-21Delete the ROHC from here as it is superceded by packet-rohc.cMartin Mathieson1-1672/+7
svn path=/trunk/; revision=44610
2012-08-21Use proto_item_append_string() rather than proto_item_append_text() withMartin Mathieson1-1/+1
%s. svn path=/trunk/; revision=44606
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-17General Cleanup including:Bill Meier1-66/+64
- Remove unneeded #include <stdlib.h>; - Remove "README.developer" comments; - Reformat hf[] entries; - Remove unneeded variable initialization; - "localize" some variables; - Whitespace/indentation/long lines/formatting - (In one case) proto_tree_add_uint returns a proto_item* (not a proto_tree *); svn path=/trunk/; revision=42678
2012-04-18Fix some: 'cast discards qualifiers from pointer target type' warningsJakub Zawadzki1-2/+2
- Add const qualifier - Remove some strange casts svn path=/trunk/; revision=42131
2012-04-15Getting closer to deleting old ROHC from PDCP dissector.Martin Mathieson1-6/+10
Don't register ROHC fields there (so its easier to find real fields with auto-completion). svn path=/trunk/; revision=42076