Ethereal-dev: Re: [Ethereal-dev] Re: question on TLV

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Tue, 13 Sep 2005 11:24:33 -0700
Alok wrote:

For exampel i have a
Tag=85
Len=6
Value=0x(aabbccddeeff0000)

seems like 2 extra bytes for no reason.......
Is it documented anywhere that TLV has to be word aligned etc?

If it is, it's documented in the documentation for the particular protocol you're dealing with. TLVs are a general concept; there is no "universal" document about TLVs for all protocols that use them.

Perhaps the developer of that particular protocol decided to pad the TLVs to 4-byte boundaries.