[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] rawapi documentation update
From: |
Sylvain Rochet |
Subject: |
[lwip-devel] rawapi documentation update |
Date: |
Sat, 12 Sep 2015 15:26:45 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi,
I didn't follow in details what was changed to the core since 1.4.x,
mainly because I joined later after 1.4.x was released, but at least
this part seems wrong in rawapi.txt:
When the system is running, the two timer functions tcp_fasttmr() and
tcp_slowtmr() must be called with regular intervals. The tcp_fasttmr()
should be called every TCP_FAST_INTERVAL milliseconds (defined in tcp.h)
and tcp_slowtmr() should be called every TCP_SLOW_INTERVAL milliseconds.
From what I see, we should now call sys_check_timeouts() as often as
possible or wait with the help of the sys_timeouts_sleeptime() function.
And that's obviously not TCP specific anymore.
"System initalization" chapter looks wrong too, from what I see,
lwip_init() takes care of everything except netif_*.
Sylvain
signature.asc
Description: Digital signature
- [lwip-devel] rawapi documentation update,
Sylvain Rochet <=