Ethereal-dev: [Ethereal-dev] Dissecting TLVs for LDP

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

Date Prev · Date Next · Thread Prev · Thread Next
From: Richard Sharpe <sharpe@xxxxxxxxxx>
Date: Fri, 01 Dec 2000 16:13:23 +1000
Hi,

I am having to dissect TLVs for the Label Distribution Protocol.

TLVs in LDP have no alignment requirements, and thus there is no padding
requirements.

I notice that other dissectors have to deal with TLVs, and I would like to
re-use code, but will probably code my own routines to handle TLVs for the
moment, but would like to promote some discussion on this.

I would like to be able to deal with TLV names, and break-out, where
possible, the whole TLV.

I could perhaps have some sort of data structure that is interpreted at run
time, but will hand code things for now.


Regards
-------
Richard Sharpe, sharpe@xxxxxxxxxx
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba