Searched refs:p_from (Results 1 – 2 of 2) 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…
|