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

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: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Mon, 7 Jul 2003 15:12:50 +0200
And add also:
 * packet-smpp.c
 * packet-radius.c
But there are other ones as can be seen by means of a "grep -li tlv
packet-*.c"

Regards,

Olivier

> -----Original Message-----
> From: Michael Tuexen
> 
> 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