[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Re: [lwip] why PBUB_LINK_HLEN = 16
From: |
Kieran Mansley |
Subject: |
[lwip-users] Re: [lwip] why PBUB_LINK_HLEN = 16 |
Date: |
Thu, 09 Jan 2003 00:56:50 -0000 |
On Wed, 13 Mar 2002, Mumtaz Ahmad wrote:
> Hi guys
>
> Well in code PBUB_LINK_HLEN is defined as 16 but inreality the the eth_hdr
> is of 14 size .Is it for some reasons ?
Judging by your more recent message I think you've discovered the reason
for this! It's because the first two bytes aren't used (so extending the
size by 2 bytes) in order to ensure the ip header is word aligned. I
suspect this is the case anyway, I've not had anything to do with the
ethernet parts of the code.
Kieran
[This message was sent through the lwip discussion list.]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] Re: [lwip] why PBUB_LINK_HLEN = 16,
Kieran Mansley <=