Searched refs:p_from (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()838 (p_from != NULL) && (p_to->tot_len >= p_from->tot_len)), return ERR_ARG;); in pbuf_copy()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()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()865 p_from = p_from->next; in pbuf_copy()868 if((p_from != NULL) && (p_from->len == p_from->tot_len)) { in pbuf_copy()[all …]
136 err_t pbuf_copy(struct pbuf *p_to, struct pbuf *p_from);