Searched refs:p_to (Results 1 – 2 of 2) sorted by relevance
829 pbuf_copy(struct pbuf *p_to, struct pbuf *p_from) in pbuf_copy() argument834 (void*)p_to, (void*)p_from)); in pbuf_copy()837 LWIP_ERROR("pbuf_copy: target not big enough to hold source", ((p_to != NULL) && in pbuf_copy()838 (p_from != NULL) && (p_to->tot_len >= p_from->tot_len)), return ERR_ARG;); in pbuf_copy()843 LWIP_ASSERT("p_to != NULL", p_to != NULL); in pbuf_copy()845 if ((p_to->len - offset_to) >= (p_from->len - offset_from)) { in pbuf_copy()850 len = p_to->len - offset_to; in pbuf_copy()852 MEMCPY((u8_t*)p_to->payload + offset_to, (u8_t*)p_from->payload + offset_from, len); in pbuf_copy()855 LWIP_ASSERT("offset_to <= p_to->len", offset_to <= p_to->len); in pbuf_copy()856 if (offset_to == p_to->len) { in pbuf_copy()[all …]
136 err_t pbuf_copy(struct pbuf *p_to, struct pbuf *p_from);