diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-05-12 18:11:02 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-05-12 18:11:02 +0000 |
commit | 85a8e304ddeb73c54ad7e86271d67543484645c9 (patch) | |
tree | 1cc041f936dcdb3e5e95946361b0c75f71cd31ac /epan/dissectors/packet-rrc.c | |
parent | f2ccdd6dbf1143374e62bc645a703870f2106719 (diff) |
Add the posibillity to use a key for per-packet-data.
svn path=/trunk/; revision=49259
Diffstat (limited to 'epan/dissectors/packet-rrc.c')
-rw-r--r-- | epan/dissectors/packet-rrc.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/epan/dissectors/packet-rrc.c b/epan/dissectors/packet-rrc.c index 16590dff06..e21677f0c0 100644 --- a/epan/dissectors/packet-rrc.c +++ b/epan/dissectors/packet-rrc.c @@ -16409,7 +16409,7 @@ dissect_rrc_RB_ActivationTimeInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t - fpinf = (fp_info *)p_get_proto_data(actx->pinfo->fd, proto_fp); + fpinf = (fp_info *)p_get_proto_data(actx->pinfo->fd, proto_fp, 0); offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index, ett_rrc_RB_ActivationTimeInfo, RB_ActivationTimeInfo_sequence); @@ -20492,10 +20492,10 @@ dissect_rrc_H_RNTI(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, prot #line 788 "../../asn1/rrc/rrc.cnf" - rrcinf = (struct rrc_info *)p_get_proto_data(actx->pinfo->fd, proto_rrc); + rrcinf = (struct rrc_info *)p_get_proto_data(actx->pinfo->fd, proto_rrc, 0); if (!rrcinf) { rrcinf = se_new0(struct rrc_info); - p_add_proto_data(actx->pinfo->fd, proto_rrc, rrcinf); + p_add_proto_data(actx->pinfo->fd, proto_rrc, 0, rrcinf); } rrcinf->hrnti[actx->pinfo->fd->subnum] = tvb_get_ntohs(hrnti_tvb, 0); @@ -41379,7 +41379,7 @@ dissect_rrc_DL_TransportChannelType_r5(tvbuff_t *tvb _U_, int offset _U_, asn1_c num_chans_per_flow[flowd]++; if(num_chans_per_flow[flowd] > 1 ){ - rrcinf = (rrc_info *)p_get_proto_data(actx->pinfo->fd, proto_rrc); + rrcinf = (rrc_info *)p_get_proto_data(actx->pinfo->fd, proto_rrc, 0); if((rrcinf == NULL) || (rrcinf->hrnti[actx->pinfo->fd->subnum] == 0)){ expert_add_info_format(actx->pinfo, actx->created_item, PI_SEQUENCE, PI_NOTE, "Did not detect any H-RNTI"); } @@ -44854,7 +44854,7 @@ dissect_rrc_DL_TransportChannelType_r7(tvbuff_t *tvb _U_, int offset _U_, asn1_c if(num_chans_per_flow[flowd] > 1 ){ - rrcinf = (rrc_info *)p_get_proto_data(actx->pinfo->fd, proto_rrc); + rrcinf = (rrc_info *)p_get_proto_data(actx->pinfo->fd, proto_rrc, 0); if((rrcinf == NULL) || (rrcinf->hrnti[actx->pinfo->fd->subnum] == 0)){ expert_add_info_format(actx->pinfo, actx->created_item, PI_SEQUENCE, PI_NOTE, "Did not detect any H-RNTI"); } @@ -87497,7 +87497,7 @@ dissect_rrc_START_Value(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, /*We base this map on communication context from fp*/ - fpinf = (fp_info *)p_get_proto_data(actx->pinfo->fd, proto_fp); + fpinf = (fp_info *)p_get_proto_data(actx->pinfo->fd, proto_fp, 0); /*If no info found, skip all this*/ if(fpinf == NULL){ @@ -97667,7 +97667,7 @@ fp_info *fpinf ; ett_rrc_SecurityModeComplete, SecurityModeComplete_sequence); - fpinf = (fp_info *)p_get_proto_data(actx->pinfo->fd, proto_fp); + fpinf = (fp_info *)p_get_proto_data(actx->pinfo->fd, proto_fp, 0); if(fpinf && ((c_inf = (rrc_ciphering_info *)g_tree_lookup(rrc_ciph_inf, GINT_TO_POINTER(fpinf->com_context_id))) != NULL) ){ c_inf->setup_frame = actx->pinfo->fd->num; } @@ -143325,7 +143325,7 @@ dissect_rrc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) struct rrc_info *rrcinf; top_tree = tree; - rrcinf = (struct rrc_info *)p_get_proto_data(pinfo->fd, proto_rrc); + rrcinf = (struct rrc_info *)p_get_proto_data(pinfo->fd, proto_rrc, 0); /* make entry in the Protocol column on summary display */ col_set_str(pinfo->cinfo, COL_PROTOCOL, "RRC"); |