Lines Matching refs:dataptr
1111 pbuf_copy_partial(const struct pbuf *buf, void *dataptr, u16_t len, u16_t offset) in pbuf_copy_partial() argument
1119 LWIP_ERROR("pbuf_copy_partial: invalid dataptr", (dataptr != NULL), return 0;); in pbuf_copy_partial()
1135 MEMCPY(&((char*)dataptr)[left], &((char*)p->payload)[offset], buf_copy_len); in pbuf_copy_partial()
1240 pbuf_take(struct pbuf *buf, const void *dataptr, u16_t len) in pbuf_take() argument
1248 LWIP_ERROR("pbuf_take: invalid dataptr", (dataptr != NULL), return ERR_ARG;); in pbuf_take()
1251 if ((buf == NULL) || (dataptr == NULL) || (buf->tot_len < len)) { in pbuf_take()
1264 MEMCPY(p->payload, &((const char*)dataptr)[copied_total], buf_copy_len); in pbuf_take()
1284 pbuf_take_at(struct pbuf *buf, const void *dataptr, u16_t len, u16_t offset) in pbuf_take_at() argument
1292 const u8_t* src_ptr = (const u8_t*)dataptr; in pbuf_take_at()
1295 MEMCPY(((u8_t*)q->payload) + target_offset, dataptr, first_copy_len); in pbuf_take_at()
1355 pbuf_fill_chksum(struct pbuf *p, u16_t start_offset, const void *dataptr, in pbuf_fill_chksum() argument
1362 LWIP_ASSERT("dataptr != NULL", dataptr != NULL); in pbuf_fill_chksum()
1371 copy_chksum = LWIP_CHKSUM_COPY(dst_ptr, dataptr, len); in pbuf_fill_chksum()