Ethereal-dev: Re: [Ethereal-dev] Strategy for Dissecting TLV Protocols

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Michael Tuexen <Michael.Tuexen@xxxxxxxxxxxxxxxxx>
Date: Mon, 7 Jul 2003 14:42:02 +0200
packet-sctp, packet-m3ua.c are protocol dissectors for TLV based protocols.

Best regards
Michael

On Sunday, Jul 6, 2003, at 02:31 Europe/Berlin, S. Faizi wrote:

Hi,
 
I am writing a protocol dissector for a proprietary protocol. Which has a format for Header + 1 or more TLV parameters. The TLV consists of Type (Element Id -- eid) + Length + Value. I wanted to know what would be an efficient way of writing a decoder. Which one of the packet-*.c file should I use as an example for TLV processing?
 
Thanks,
Sal
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev