Lines Matching defs:data

114  * payload starts at data, its length is used_size - (data - token).
141 uint8_t *data; /**< first byte of payload, if any */
143 struct pbuf *pbuf; /**< lwIP PBUF. The package data will always reside
152 const uint8_t *body_data; /**< Holds ptr to re-assembled data or NULL */
153 size_t body_length; /**< Holds body data length */
154 size_t body_offset; /**< Holds body data offset */
155 size_t body_total; /**< Holds body data total size */
184 * Interprets @p data to determine the number of bytes in the header.
188 * @param data The first byte of raw data to parse as CoAP PDU.
193 const uint8_t *data);
196 * Parses @p data to extract the message size.
197 * @p length must be at least coap_pdu_parse_header_size(proto, data).
201 * @param data The raw data to parse as CoAP PDU.
202 * @param length The actual size of @p data.
207 const uint8_t *data,
220 * Verify consistency in the given CoAP PDU structure and locate the data.
234 * and @c data pointers. @c max_size is set to @p size, any
248 * inserted, even if there is any data in the @p pdu.
250 * Note: Where possible, the option @p data needs to be stripped of leading
251 * zeros (big endian) to reduce the amount of data needed in the PDU, as well
252 * as in some cases the maximum data size of an option can be exceeded if not
259 * @param data The data of the new option.
266 const uint8_t *data);
278 * Inserts option of given number in the @p pdu with the appropriate data.
285 * @param data The data of the new option.
290 size_t len, const uint8_t *data);
294 * data.
299 * @param data The data of the updated option.
306 const uint8_t *data);
320 * Updates token in @p pdu with length @p len and @p data.
325 * @param data The token to add.
331 const uint8_t *data);