Home
last modified time | relevance | path

Searched refs:offset_from (Results 1 – 1 of 1) sorted by relevance

/external/syslinux/core/lwip/src/core/
Dpbuf.c831 u16_t offset_to=0, offset_from=0, len; in pbuf_copy() local
845 if ((p_to->len - offset_to) >= (p_from->len - offset_from)) { in pbuf_copy()
847 len = p_from->len - offset_from; in pbuf_copy()
852 MEMCPY((u8_t*)p_to->payload + offset_to, (u8_t*)p_from->payload + offset_from, len); in pbuf_copy()
854 offset_from += len; in pbuf_copy()
861 LWIP_ASSERT("offset_from <= p_from->len", offset_from <= p_from->len); in pbuf_copy()
862 if (offset_from >= p_from->len) { in pbuf_copy()
864 offset_from = 0; in pbuf_copy()