/** * Timer callback function that calls nd6_tmr() and reschedules itself. * * @param arg unused argument */ static void nd6_timer(void *arg) { LWIP_UNUSED_ARG(arg); LWIP_DEBUGF(TIMERS_DEBUG, ("tcpip: nd6_tmr()\n")); nd6_tmr(); sys_timeout(ND6_TMR_INTERVAL, nd6_timer, NULL); }
static void ip6_test_handle_timers(int count) { int i; for (i = 0; i < count; i++) { nd6_tmr(); } }