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] using simple ASN.1 example with asn2wrs

From: "Kukosa, Tomas" <tomas.kukosa@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 17 Apr 2009 13:42:42 +0200
Hello Chris,

the wiki is not updated.

Please, look into asn1 directory
http://anonsvn.wireshark.org/viewvc/trunk/asn1/ where you can fine more
than 80 dissectors as examples.
Do not panic if you open some very complex dissector, you can find there
simple expamles too (e.g. wlancertextn  or h323).

regards,
  Tomas
 

> -----Original Message-----
> From: wireshark-dev-bounces@xxxxxxxxxxxxx 
> [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of 
> christopher.white@xxxxxxxxxxxxxxxxx
> Sent: Friday, April 17, 2009 1:00 PM
> To: wireshark-dev@xxxxxxxxxxxxx
> Subject: [Wireshark-dev] using simple ASN.1 example with asn2wrs
> 
> Hi All,
> I am interested in building an ASN.1 dissector using the 
> asn2wrs tools. 
> To start with, I thought I would try building the example ASN.1
> dissector which is documented on the wireshark wiki pages. So 
> I am using
> this as a tutorial to get a basic understanding.
> 
> However, I have run into problems. After copying the generated
> packet-foo.c/h files to the epan/dissector directory, the make fails
> with syntax errors whilst compiling packet-foo.c.
>  
> packet-foo-fn.c:4: error: syntax error before "asn1_ctx_t"
> 
> Since packet-foo.c is generated, I did not want to start playig around
> with it. 
> I am using the wireshark 1.1.3 version sources and respective tools
> (asn2wrs). 
> I have a fedora core 6 OS.
> 
> Anyone any ideas what I might be doing wrong? I have followed the
> instructions on the wiki pages exactly.
> 
> Regards,
> Chris
> 
> 
> 
> ______________________________________________________________
> _____________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>              
> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>