Lines Matching defs:data

10  * Packets are built from the pbuf data structure. It supports dynamic
304 * Allocates a pbuf for referenced data.
305 * Referenced data can be volatile (PBUF_REF) or long-lived (PBUF_ROM).
974 * @note Only data in one packet is copied, no packet queue!
1053 * @param buf the pbuf from which to copy data
1055 * @param len length of data to copy (dataptr must be big enough). No more
1099 * @param p the pbuf from which to copy data
1102 * @param len length of data to copy (dataptr must be big enough). No more
1120 /* all data in this pbuf, return zero-copy */
1220 * Copy application supplied data into a pbuf.
1221 * This function can only be used to copy the equivalent of buf->tot_len data.
1223 * @param buf pbuf to fill with data
1224 * @param dataptr application supplied data buffer
1225 * @param len length of the application supplied data buffer
1250 /* this pbuf cannot hold all remaining data */
1258 LWIP_ASSERT("did not copy all data", total_copy_len == 0 && copied_total == len);
1264 * Same as pbuf_take() but puts data at an offset
1266 * @param buf pbuf to fill with data
1267 * @param dataptr application supplied data buffer
1268 * @param len length of the application supplied data buffer
1279 /* return requested data if pbuf is OK */
1356 * Copies data into a single pbuf (*not* into a pbuf queue!) and updates
1359 * @param p the pbuf to copy data into
1360 * @param start_offset offset of p->payload where to copy the data to
1361 * @param dataptr data to copy into the pbuf
1362 * @param len length of data to copy into the pbuf
1364 * @return ERR_OK if successful, another error if the data does not fit
1428 /* return requested data if pbuf is OK */
1442 * @param data byte to write at an offset into p
1445 pbuf_put_at(struct pbuf *p, u16_t offset, u8_t data)
1450 /* write requested data if pbuf is OK */
1452 ((u8_t *)q->payload)[q_idx] = data;
1485 /* return requested data if pbuf is OK */