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: Gilbert Ramirez <gilbertr@xxxxxxxxx>
Date: Tue, 13 Sep 2005 09:49:06 -0500
Yeah, I'd say it's very common to use bit sizes that match those  C
integers on common machines...  1 byte, 2 bytes, or 4 bytes.

--gilbert

On 9/13/05, Alok <alokdube@xxxxxxxxxx> wrote:
>  
> rather 
>   
> does one tend to align to word boundaries/multiple of 32 bits...
>  
>   
>  
> ----- Original Message ----- 
> From: Alok 
> To: Ethereal development 
> Sent: Tuesday, September 13, 2005 8:02 PM 
> Subject: question on TLV 
> 
>  
> I was working on a dissector here for some local stuff and noted that the
> protocol i was dissecting does not follow TLV in the best sense 
>   
> in other words at times a Tag type=X has length=6 bytes but the actual value
> is sent as 8 bytes. 
>   
> Have people seen a general tendency to align TLV elements to octet
> boundaries? 
>   
> -thanks 
> Alok 
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
> 
> 
>