RTEMS BOOTP and Linksys routers
Chris Johns
chrisj at rtems.org
Thu Apr 28 01:31:07 UTC 2005
Joel Sherrill <joel at OARcorp.com> wrote:
>
> I am not familiar with the protocol but it may be as simple as spawning
> a background task to wakeup periodically and do some subset of the
> actions done during bootpc_init.
>
We found some dhcp code on the RTEMS list provided by Andrew Bythell,
and changed it to add a task to renew the lease.
Warning, the code will not rebind if the lease if not returned.
Enjoy.
--
Chris Johns
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dhcp.h
Type: text/x-c-header
Size: 1059 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20050428/cf63b846/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dhcp.c
Type: text/x-c
Size: 26879 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20050428/cf63b846/attachment-0003.bin>
More information about the users
mailing list