diff options
author | Darien Spencer <cusneud@mail.com> | 2017-08-19 17:33:14 +0300 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2017-09-13 19:24:20 +0000 |
commit | bdf10a239fcf873e1fff955f0fb6d8fd41aefcf3 (patch) | |
tree | 7ca52f0fe8e473602fc285ccf51a6c8e66a757d0 /epan/dissectors/packet-rrc.h | |
parent | ba957234735b9a65ff831cf9a6b0ed1a230c19ea (diff) |
UMTS RLC: Mark ciphered frames
- Updated RRC dissector to always collect ciphering sequence numbers
from Security Mode Command/ Security Mode Complete
- Updated RLC dissector to seek the collected info when deciding if
the frame is ciphered
Change-Id: I44bc61736968ef9f420782048e15ba27d6c6267f
Reviewed-on: https://code.wireshark.org/review/23132
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-rrc.h')
-rw-r--r-- | epan/dissectors/packet-rrc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-rrc.h b/epan/dissectors/packet-rrc.h index 58acb84cbd..2d1be7cf26 100644 --- a/epan/dissectors/packet-rrc.h +++ b/epan/dissectors/packet-rrc.h @@ -70,20 +70,20 @@ typedef struct rrc_info } rrc_info; /*Struct for storing ciphering information*/ -typedef struct rrc_ciph_info_ +typedef struct rrc_ciphering_info { - int seq_no[31][2]; /*Indicates for each Rbid when ciphering starts*/ + int seq_no[31][2]; /*Indicates for each Rbid when ciphering starts - Indexers are [BearerID][Direction]*/ GTree * /*guint32*/ start_cs; /*Start value for CS counter*/ GTree * /*guint32*/ start_ps; /*Start value for PS counter*/ guint32 conf_algo_indicator; /*Indicates which type of ciphering algorithm used*/ guint32 int_algo_indiccator; /*Indicates which type of integrity algorithm used*/ - unsigned int setup_frame; /*Store which frame contained this information*/ + guint32 setup_frame[2]; /*Store which frame contained this information - Indexer is [Direction]*/ guint32 ps_conf_counters[31][2]; /*This should also be made for CS*/ } rrc_ciphering_info; extern GTree * hsdsch_muxed_flows; -extern GTree * rrc_ciph_inf; +extern GTree * rrc_ciph_info_tree; extern GTree * rrc_scrambling_code_urnti; extern wmem_tree_t* rrc_rach_urnti_crnti_map; |