Searched refs:newpbuflen (Results 1 – 2 of 2) sorted by relevance
/third_party/lwip/src/core/ipv4/ |
D | ip4_frag.c | 745 u16_t newpbuflen = 0; in ip4_frag() local 814 newpbuflen = LWIP_MIN(left_to_copy, plen); in ip4_frag() 816 if (!newpbuflen) { in ip4_frag() 827 newpbuf = pbuf_alloced_custom(PBUF_RAW, newpbuflen, PBUF_REF, &pcr->pc, in ip4_frag() 828 (u8_t *)p->payload + poff, newpbuflen); in ip4_frag() 842 left_to_copy = (u16_t)(left_to_copy - newpbuflen); in ip4_frag() 848 poff = (u16_t)(poff + newpbuflen); in ip4_frag()
|
/third_party/lwip/src/core/ipv6/ |
D | ip6_frag.c | 728 u16_t newpbuflen = 0; in ip6_frag() local 797 newpbuflen = (left_to_copy < p->len) ? left_to_copy : p->len; in ip6_frag() 799 if (!newpbuflen) { in ip6_frag() 810 … newpbuf = pbuf_alloced_custom(PBUF_RAW, newpbuflen, PBUF_REF, &pcr->pc, p->payload, newpbuflen); in ip6_frag() 825 left_to_copy = (u16_t)(left_to_copy - newpbuflen); in ip6_frag() 830 poff = newpbuflen; in ip6_frag()
|