lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] RFC: remove pfrag.c dependency on sysarch.c


From: Leon Woestenberg
Subject: [lwip-devel] RFC: remove pfrag.c dependency on sysarch.c
Date: Tue, 04 May 2004 00:59:46 +0200
User-agent: Mozilla Thunderbird 0.5 (Windows/20040207)

Hello,

I noticed there is a dependency of the lwIP core towards the
higher level sysarch.c wrapper, with regards to the timer
functionality.

This is no good in minimal environments where  NO_SYS == 0
and no sysarch functionality is available to provide for
the timers.

I suggest to make the timer interface to ipfrag.c equal to
that of tcp.c/tcp_tmr() and etharp.c/etharp_tmr(void).

And then, wrap a sysarch layer around that.

Regards, Leon.

p.s.  Also, the variable/function names ip_reasstmr  and
ip_reass_timer make the code somewhat confusing, as they
are very alike.






reply via email to

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