[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] RFC: etharp and dhcp timers in tcpip.c
From: |
Leon Woestenberg |
Subject: |
[lwip-devel] RFC: etharp and dhcp timers in tcpip.c |
Date: |
Wed, 07 Jul 2004 01:42:24 +0200 |
User-agent: |
Mozilla Thunderbird 0.7.1 (Windows/20040626) |
Hello,
the wrapper api (in the src/api/ directory) and mainly tcpip.c currently
instantiates a thread for running the time-out driven TCP state machine.
How about generalizing this thread for *all* lwIP timeouts, i.e. adding
DHCP timeouts and ARP timeouts?
Currently, developers have to implement their own mechanisms to drive
those timers, even when including the lwIP /src/api code, which often
leads to confusion or race conditions when not properly implemented.
I would suggest renaming tcpip.c to lwip_thread.c and add calls to
DHCP and ARP timers.
Regards,
Leon.
- [lwip-devel] RFC: etharp and dhcp timers in tcpip.c,
Leon Woestenberg <=