Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] can't modify dissect_rrc_OCTET_STRING()

From: "Anders Broman" <anders.broman@xxxxxxxxxxxx>
Date: Wed, 11 Jun 2008 13:00:05 +0200

You probaly want:

#.FN_HDR TargetRNC-ToSourceRNC-Container/dL-DCCHmessage

 

Regards

Anders

prakash chowbey wrote:

hi tomas,

thanks for your reply

i m stating what i want to do.

in packet-rrc.c we have

 

static const per_choice_t TargetRNC_ToSourceRNC_Container_choice[] = {
  {   0, &hf_rrc_radioBearerSetup, ASN1_NO_EXTENSIONS     , dissect_rrc_RadioBearerSetup },
  {   1, &hf_rrc_radioBearerReconfiguration, ASN1_NO_EXTENSIONS     , dissect_rrc_RadioBearerReconfiguration },
  {   2, &hf_rrc_radioBearerRelease, ASN1_NO_EXTENSIONS     , dissect_rrc_RadioBearerRelease },
  {   3, &hf_rrc_transportChannelReconfiguration, ASN1_NO_EXTENSIONS     , dissect_rrc_TransportChannelReconfiguration },
  {   4, &hf_rrc_physicalChannelReconfiguration, ASN1_NO_EXTENSIONS     , dissect_rrc_PhysicalChannelReconfiguration },
  {   5, &hf_rrc_rrc_FailureInfo , ASN1_NO_EXTENSIONS     , dissect_rrc_RRC_FailureInfo },
  {   6, &hf_rrc_dL_DCCHmessage  , ASN1_NO_EXTENSIONS     , dissect_rrc_OCTET_STRING },
  {   7, &hf_rrc_extension       , ASN1_NO_EXTENSIONS     , dissect_rrc_NULL },
  { 0, NULL, 0, NULL }
};

 



From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Kukosa, Tomas
Sent: den 11 juni 2008 11:45
To: prakashchowbey@xxxxxxxxxxx; Developer support list for Wireshark
Subject: Re: [Wireshark-dev] can't modify dissect_rrc_OCTET_STRING()

Hi,
 
which OCTET STRING type do you need to modify?
It is not possibe to modify "common OCTET STRING".
 
You can use #.FN_HDR/BODY/FTR e.g. in following way:
 
NAS-Message ::=      OCTET STRING (SIZE (1..4095))
#.FN_HDR NAS-Message
...
 
or e.g.
 
RAB-Info-v6b0ext ::=    SEQUENCE {
 mbms-ServiceIdentity    OCTET STRING (SIZE (3))
}
 
#.FN_HDR RAB-Info-v6b0ext/mbms-ServiceIdentity
...
 
Regards,
Tomas
 

 

From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of prakash chowbey
Sent: Wednesday, June 11, 2008 11:14 AM
To: Wireshark-dev@xxxxxxxxxxxxx
Subject: [Wireshark-dev] can't modify dissect_rrc_OCTET_STRING()

hi,

im unable to modify dissect_rrc_OCTET_STRING()  function in packet-rrc.c , compiling after changing the rrc.cnf using  #.HDR or #.FTR ..... is not getting reflected for this function, which ive used successfully to modify other asn genereted disssector functions. can anyone plz help?

regards,

Prakash



Explore your hobbies and interests. Click here to begin.