Hi,

#.FN_HDR IntraDomainNasNodeSelector/ version/ later

 

Might do the trick.

Regards

Anders

 

 

  _____  

Från: wireshark-dev-boun...@wireshark.org
[mailto:wireshark-dev-boun...@wireshark.org] För Tapas Chatterjee
Skickat: den 20 maj 2009 13:15
Till: wireshark-dev@wireshark.org
Ämne: [Wireshark-dev] Asn2wrs problem

 

Hi All,

I have faced some problem during modifying the dissector body which is
generated by

Asn2wrs compiler.My problem is as mentioned below.

The IE filed  description in the .asn file are

IntraDomainNasNodeSelector ::=                  SEQUENCE {

    version                                     CHOICE {

       release99                                   SEQUENCE {

           cn-Type                                     CHOICE {

               gsm-Map-IDNNS                               Gsm-map-IDNNS,

               ansi-41-IDNNS                               Ansi-41-IDNNS

           }

       },

       later                                       SEQUENCE {

           futurecoding                                BIT STRING (SIZE
(15))

       }

    }

}

Here when .c file is generated the dissector code of the latter field look
like 

 

Int dissect_rua_T_later(tvbuff_t  *tvb _U_ ,int offset………..)

{

//Need to add some code here

Offset=dissect_per_sequence(tvb,offset,…..)

return offset;

}

 

I have modified the .cnf file as 

#.FN_HDR later

//My part of code

#.END

But after run the command make copy_file in the generated .c file my part of
the code

is not reflected. Could any one tell me what is the reason and how can I add
my part of the code in the dissector?

BR,

Tapas

 

 

  _____  

"DISCLAIMER: This message is proprietary to Aricent and is intended solely
for the use of the individual to whom it is addressed. It may contain
privileged or confidential information and should not be circulated or used
for any purpose other than for what it is intended. If you have received
this message in error,please notify the originator immediately. If you are
not the intended recipient, you are notified that you are strictly
prohibited from using, copying, altering, or disclosing the contents of this
message. Aricent accepts no responsibility for loss or damage arising from
the use of the information transmitted by this email including damage from
virus."

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to