lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: [lwip] DHCP client release 22-1-2002


From: leon . woestenberg
Subject: [lwip-users] Re: [lwip] DHCP client release 22-1-2002
Date: Thu, 09 Jan 2003 00:12:19 -0000

Hello Adam,

On Wednesday 23 January 2002 18.36, you wrote:
> > > lwIP distribution (which I hope to do when you think it is ready to
be).
> >
> > Sure, I'll release the DHCP client this friday and won't touch it
before
> > 5th of February anyway. A good moment to include it if you find the
> > time.

> Great! I am currently quite pressed for time though, so I won't be able
to
> integrate it right now. But I am very interested in being able to run
DHCP
> with lwIP, so I will dive right into it when time permits!
>
Ok, there are some reasons to delay the DHCP client integration until I
have
got the ARP and timer stuff solved.

While implementing the ARP check (to check if the offered IP address is not
in use on the network) I came across some difficulties.

At least one problem was a bug in ARP.c (I'm using the 0.5.0 tree with some
bugfixes from the list):

// bug PROTOLEN must be HWLEN
//#define ARPH_PROTOLEN_SET(hdr, len) (hdr)->_hwlen_protolen = HTONS((len)
| (ARPH_PROTOLEN(hdr) << 8))
#define ARPH_PROTOLEN_SET(hdr, len) (hdr)->_hwlen_protolen = HTONS((len) |
(ARPH_HWLEN(hdr) << 8))

Other than this, the ARP packet crashes my packet analyzer Ethereal
(.soureforge.net) for a reason
I'll not be able to find out in the next half hour :)

After that, I'm off for a week, so first work on the DHCP client (on my
behalf) will be in a day or ten.

Regards,

Leon.

[This message was sent through the lwip discussion list.]




reply via email to

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