Searched refs:newpbuflen (Results 1 – 2 of 2) sorted by relevance
/third_party/lwip/src/core/ipv6/ |
D | ip6_frag.c | 748 u16_t newpbuflen = 0; in ip6_frag() local 817 newpbuflen = (left_to_copy < p->len) ? left_to_copy : p->len; in ip6_frag() 819 if (!newpbuflen) { in ip6_frag() 830 … newpbuf = pbuf_alloced_custom(PBUF_RAW, newpbuflen, PBUF_REF, &pcr->pc, p->payload, newpbuflen); in ip6_frag() 845 left_to_copy = (u16_t)(left_to_copy - newpbuflen); in ip6_frag() 850 poff = newpbuflen; in ip6_frag()
|
/third_party/lwip/src/core/ipv4/ |
D | ip4_frag.c | 765 u16_t newpbuflen = 0; in ip4_frag() local 834 newpbuflen = LWIP_MIN(left_to_copy, plen); in ip4_frag() 836 if (!newpbuflen) { in ip4_frag() 847 newpbuf = pbuf_alloced_custom(PBUF_RAW, newpbuflen, PBUF_REF, &pcr->pc, in ip4_frag() 848 (u8_t *)p->payload + poff, newpbuflen); in ip4_frag() 862 left_to_copy = (u16_t)(left_to_copy - newpbuflen); in ip4_frag() 868 poff = (u16_t)(poff + newpbuflen); in ip4_frag()
|