Lines Matching refs:dataptr
1061 pbuf_copy_partial(const struct pbuf *buf, void *dataptr, u16_t len, u16_t offset) in pbuf_copy_partial() argument
1069 LWIP_ERROR("pbuf_copy_partial: invalid dataptr", (dataptr != NULL), return 0;); in pbuf_copy_partial()
1083 MEMCPY(&((char *)dataptr)[left], &((char *)p->payload)[offset], buf_copy_len); in pbuf_copy_partial()
1230 pbuf_take(struct pbuf *buf, const void *dataptr, u16_t len) in pbuf_take() argument
1238 LWIP_ERROR("pbuf_take: invalid dataptr", (dataptr != NULL), return ERR_ARG;); in pbuf_take()
1241 if ((buf == NULL) || (dataptr == NULL) || (buf->tot_len < len)) { in pbuf_take()
1254 MEMCPY(p->payload, &((const char *)dataptr)[copied_total], buf_copy_len); in pbuf_take()
1274 pbuf_take_at(struct pbuf *buf, const void *dataptr, u16_t len, u16_t offset) in pbuf_take_at() argument
1282 const u8_t *src_ptr = (const u8_t *)dataptr; in pbuf_take_at()
1287 MEMCPY(((u8_t *)q->payload) + target_offset, dataptr, first_copy_len); in pbuf_take_at()
1368 pbuf_fill_chksum(struct pbuf *p, u16_t start_offset, const void *dataptr, in pbuf_fill_chksum() argument
1375 LWIP_ASSERT("dataptr != NULL", dataptr != NULL); in pbuf_fill_chksum()
1384 copy_chksum = LWIP_CHKSUM_COPY(dst_ptr, dataptr, len); in pbuf_fill_chksum()