Lines Matching defs:length
174 #define COAP_ERROR_PHRASE_LENGTH 32 /**< maximum length of error phrase */
179 #define COAP_ERROR_PHRASE_LENGTH 0 /**< maximum length of error phrase */
279 unsigned int length;
283 #define COAP_OPTION_LENGTH(option) (option).length
414 * @param token_length The length of the token to use in this duplicated PDU.
434 * @param length The actual size of @p data.
443 size_t length,
447 * Adds token of length @p len to @p pdu.
455 * @param len The length of the new token.
480 * @param len The length of the new option.
483 * @return The overall length of the option or @c 0 on failure.
496 * @param len The length of the data.
513 * @param len The length of the data.
520 * Retrieves the length and data pointer of specified PDU. Returns 0 on error or
525 * @param len Returns the length of the current data
542 * @param len Returns the length of the current data
547 * If offset + length < total, then there is more data to follow.