----- Original Message ----- From: "Ronnie Sahlberg" Sent: Tuesday, June 10, 2003 7:04 PM Subject: Re: Re: [Ethereal-dev] [Fwd: ASN2ETH]
> I have initial support for ASN.1 PER decoding with PER dissector > subroutines embedded in the > same file as a semi-complete H.245 decoder. > It decodes most of the constructs of H245 ASN.1 PER. > > The dissector helper routines are different from the normal ethereal > decoders in that they operate > on the bit-position and not the byte offset into the packet. > > > Most of it is table driven and tables and helper routines are called to > handle SEQUENCE and SET [OF] > and INTEGER variables and currently decodes a fair amount of the subset of > constructs used by H.245 > based on the V9 ASN.1 IDL file for the h.245 interface. > > > Is your compiler going to operate on the bit-level as well? > If so you may want to look at the helper routines I did for the dormant > semi-complete h245 decoder. > I wont attach the dissector in this mail since it is like 1MB in size but if > you want to look > at it and the embedded helpers mail me and ill mail it directly to you. > > If my helpers interface makes sense, maybe the asn2eth compiler could just > generate > code for BER/PER based on a simple flag that would just do > sed -e "s/_ber_/_per_/g" > > > if you want to look at the helpers please tell me where to mail it. it is > PER+h245 around 1MB in size. >
