Lines Matching defs:buffer

3  * Packet buffer management
204 * - PBUF_RAM: buffer memory for pbuf is allocated as one large
206 * - PBUF_ROM: no buffer memory is allocated for the pbuf, even for
213 * - PBUF_REF: no buffer memory is allocated for the pbuf, even for
216 * then pbuf_take should be called to copy the buffer.
322 * then pbuf_take should be called to copy the buffer.
355 * @param payload_mem pointer to the buffer that is used for payload and headers,
358 * ATTENTION: The caller is responsible for correct alignment of this buffer!!
359 * @param payload_mem_len the size of the 'payload_mem' buffer, must be at least
371 LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_LEVEL_WARNING, ("pbuf_alloced_custom(length=%"U16_F") buffer too short\n", length));
545 * not move the payload pointer in front of the start of the buffer.
641 * not move the payload pointer in front of the start of the buffer.
972 * Copy part or all of one packet buffer into another, to a specified offset.
1050 * Copy (part of) the contents of a packet buffer
1051 * to an application supplied buffer.
1054 * @param dataptr the application supplied buffer
1057 * @param offset offset into the packet buffer from where to begin copying len bytes
1074 /* don't copy from this buffer -> on to the next */
1077 /* copy from this buffer. maybe only partially. */
1082 /* copy the necessary parts of the buffer */
1097 * a copy into the user-supplied buffer.
1100 * @param buffer the application supplied buffer
1101 * @param bufsize size of the application supplied buffer
1104 * @param offset offset into the packet buffer from where to begin copying len bytes
1108 pbuf_get_contiguous(const struct pbuf *p, void *buffer, size_t bufsize, u16_t len, u16_t offset)
1114 LWIP_ERROR("pbuf_get_contiguous: invalid dataptr", (buffer != NULL), return NULL;);
1124 if (pbuf_copy_partial(q, buffer, len, out_offset) != len) {
1128 return buffer;
1224 * @param dataptr application supplied data buffer
1225 * @param len length of the application supplied data buffer
1253 /* copy the necessary parts of the buffer */
1267 * @param dataptr application supplied data buffer
1268 * @param len length of the application supplied data buffer
1462 * @param s2 buffer to compare
1463 * @param n length of buffer to compare
1504 * @param mem search for the contents of this buffer