[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] [lwip] calling arp_tmr() from tcp_slowtmr()
From: |
Chris Borrelli |
Subject: |
[lwip-users] [lwip] calling arp_tmr() from tcp_slowtmr() |
Date: |
Wed, 08 Jan 2003 22:54:33 -0000 |
I do not want to use the sys_timeout() function at all if possible. I
would like to remove the scheduled call to arp_timer in ethernetif.c,
and just call the arp_tmr() from tcp_slowtmr() every 20 tcp_ticks.
Does anyone have any comments/suggestions..
Here is what I am adding to tcp_slowtmr(). I'll have to put ifdefs
around it later...
void tcp_slowtmr(void)
{
. . .
. . .
if (tcp_ticks%20 == 0) {
arp_tmr();
}
. . .
. . .
}
[This message was sent through the lwip discussion list.]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] [lwip] calling arp_tmr() from tcp_slowtmr(),
Chris Borrelli <=