static void pico_ipv6_fragments_complete(unsigned int len, uint8_t proto)
{
    if (pico_fragments_reassemble(&ipv6_fragments, len, proto, PICO_PROTO_IPV6) == 0)
    {
        pico_timer_cancel(ipv6_fragments_timer);
        ipv6_fragments_timer = 0;
    }
}
Пример #2
0
static void pico_slaacv4_cancel_timers(struct slaacv4_cookie *tmp)
{
    pico_timer_cancel(tmp->timer);
    tmp->timer = 0;
}