Searched refs:p_from (Results 1 – 4 of 4) sorted by relevance
/third_party/lwip/src/core/ |
D | pbuf.c | 961 pbuf_copy(struct pbuf *p_to, const struct pbuf *p_from) in pbuf_copy() argument 964 (const void *)p_to, (const void *)p_from)); in pbuf_copy() 966 LWIP_ERROR("pbuf_copy: invalid source", p_from != NULL, return ERR_ARG;); in pbuf_copy() 967 return pbuf_copy_partial_pbuf(p_to, p_from, p_from->tot_len, 0); in pbuf_copy() 988 pbuf_copy_partial_pbuf(struct pbuf *p_to, const struct pbuf *p_from, u16_t copy_len, u16_t offset) in pbuf_copy_partial_pbuf() argument 994 (const void *)p_to, (const void *)p_from, copy_len, offset)); in pbuf_copy_partial_pbuf() 997 LWIP_ERROR("pbuf_copy_partial_pbuf: copy_len bigger than source", ((p_from != NULL) && in pbuf_copy_partial_pbuf() 998 (p_from->tot_len >= copy_len)), return ERR_ARG;); in pbuf_copy_partial_pbuf() 1006 if ((p_to->len - offset_to) >= (p_from->len - offset_from)) { in pbuf_copy_partial_pbuf() 1008 len_calc = p_from->len - offset_from; in pbuf_copy_partial_pbuf() [all …]
|
/third_party/lwip/src/include/lwip/ |
D | pbuf.h | 298 err_t pbuf_copy(struct pbuf *p_to, const struct pbuf *p_from); 299 err_t pbuf_copy_partial_pbuf(struct pbuf *p_to, const struct pbuf *p_from, u16_t copy_len, u16_t of…
|
/third_party/lwip/ |
D | 0023-refactor-event-and-checksum-offload-support.patch | 242 @@ -1019,6 +1019,13 @@ pbuf_copy_partial_pbuf(struct pbuf *p_to, const struct pbuf *p_from, u16_t c… 243 /* current p_from does not fit into current p_to */ 248 + p_to->l2_len = p_from->l2_len; 249 + p_to->l3_len = p_from->l3_len; 250 + p_to->ol_flags = p_from->ol_flags; 254 MEMCPY((u8_t *)p_to->payload + offset_to, (u8_t *)p_from->payload + offset_from, len);
|
D | 0053-cleancode-improve-lwipopts.h-readability.patch | 598 @@ -1027,7 +1027,7 @@ pbuf_copy_partial_pbuf(struct pbuf *p_to, const struct pbuf *p_from, u16_t co… 604 p_to->l2_len = p_from->l2_len; 605 p_to->l3_len = p_from->l3_len; 606 p_to->ol_flags = p_from->ol_flags;
|