Lines Matching refs:remaining_len
346 u16_t frag_len, remaining_len, max_data_len; in lowpan6_frag() local
390 remaining_len = p->tot_len; in lowpan6_frag()
392 if (remaining_len > 0x7FF) { in lowpan6_frag()
401 if (remaining_len > max_data_len) { in lowpan6_frag()
419 remaining_len -= frag_len - lowpan6_header_len; in lowpan6_frag()
436 while ((remaining_len > 0) && (err == ERR_OK)) { in lowpan6_frag()
447 if (frag_len > remaining_len) { in lowpan6_frag()
448 frag_len = remaining_len; in lowpan6_frag()
451 pbuf_copy_partial(p, buffer + ieee_header_len + 5, frag_len, p->tot_len - remaining_len); in lowpan6_frag()
452 remaining_len -= frag_len; in lowpan6_frag()
469 frag_len = remaining_len; in lowpan6_frag()
473 remaining_len = 0; in lowpan6_frag()