Searched refs:p_from (Results 1 – 2 of 2) sorted by relevance
852 pbuf_copy(struct pbuf *p_to, struct pbuf *p_from) in pbuf_copy() argument857 (void*)p_to, (void*)p_from)); in pbuf_copy()861 (p_from != NULL) && (p_to->tot_len >= p_from->tot_len)), return ERR_ARG;); in pbuf_copy()867 if ((p_to->len - offset_to) >= (p_from->len - offset_from)) { in pbuf_copy()869 len = p_from->len - offset_from; in pbuf_copy()874 MEMCPY((u8_t*)p_to->payload + offset_to, (u8_t*)p_from->payload + offset_from, len); in pbuf_copy()878 LWIP_ASSERT("offset_from <= p_from->len", offset_from <= p_from->len); in pbuf_copy()879 if (offset_from >= p_from->len) { in pbuf_copy()882 p_from = p_from->next; in pbuf_copy()888 LWIP_ERROR("p_to != NULL", (p_to != NULL) || (p_from == NULL) , return ERR_ARG;); in pbuf_copy()[all …]
160 err_t pbuf_copy(struct pbuf *p_to, struct pbuf *p_from);