lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] pbuf link hlen = 16 for memory alignment =4 architectur


From: Leon Woestenberg
Subject: Re: [lwip-users] pbuf link hlen = 16 for memory alignment =4 architecture
Date: Sat, 20 Mar 2004 00:36:15 +0100
User-agent: Mozilla Thunderbird 0.5 (Windows/20040207)

address@hidden wrote:

Is there a reason that pbuf link hlen is set to 16 for the memory alignment =4 architecture? The normal ethernet link header length is 14.

I guess to make sure that the payload is aligned (16 % 4 = 0, whereas 14 % 4 = 2).

Regards,

Leon.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]