Lines Matching +full:t0 +full:- +full:out

5  * SPDX-License-Identifier: Apache-2.0
47 COAP_OPTION_IF_MATCH = 1, /**< If-Match */
48 COAP_OPTION_URI_HOST = 3, /**< Uri-Host */
50 COAP_OPTION_IF_NONE_MATCH = 5, /**< If-None-Match */
52 COAP_OPTION_URI_PORT = 7, /**< Uri-Port */
53 COAP_OPTION_LOCATION_PATH = 8, /**< Location-Path */
54 COAP_OPTION_URI_PATH = 11, /**< Uri-Path */
55 COAP_OPTION_CONTENT_FORMAT = 12, /**< Content-Format */
56 COAP_OPTION_MAX_AGE = 14, /**< Max-Age */
57 COAP_OPTION_URI_QUERY = 15, /**< Uri-Query */
59 COAP_OPTION_LOCATION_QUERY = 20, /**< Location-Query */
63 COAP_OPTION_PROXY_URI = 35, /**< Proxy-Uri */
64 COAP_OPTION_PROXY_SCHEME = 39, /**< Proxy-Scheme */
67 COAP_OPTION_NO_RESPONSE = 258, /**< No-Response (RFC 7967) */
68 COAP_OPTION_REQUEST_TAG = 292 /**< Request-Tag (RFC 9175) */
103 * The packet is a request or response the destination end-point must
108 * Non-confirmable message.
143 /** 2.00 - OK */
145 /** 2.01 - Created */
147 /** 2.02 - Deleted */
149 /** 2.03 - Valid */
151 /** 2.04 - Changed */
153 /** 2.05 - Content */
155 /** 2.31 - Continue */
157 /** 4.00 - Bad Request */
159 /** 4.01 - Unauthorized */
161 /** 4.02 - Bad Option */
163 /** 4.03 - Forbidden */
165 /** 4.04 - Not Found */
167 /** 4.05 - Method Not Allowed */
169 /** 4.06 - Not Acceptable */
171 /** 4.08 - Request Entity Incomplete */
173 /** 4.12 - Precondition Failed */
175 /** 4.12 - Precondition Failed */
177 /** 4.13 - Request Entity Too Large */
179 /** 4.15 - Unsupported Content-Format */
182 /** 4.22 - Unprocessable Entity */
184 /** 4.29 - Too Many Requests */
186 /** 5.00 - Internal Server Error */
188 /** 5.01 - Not Implemented */
190 /** 5.02 - Bad Gateway */
192 /** 5.03 - Service Unavailable */
194 /** 5.04 - Gateway Timeout */
196 /** 5.05 - Proxying Not Supported */
210 * @brief Set of Content-Format option values for CoAP.
212 * To be used when encoding or decoding a Content-Format option.
215 COAP_CONTENT_FORMAT_TEXT_PLAIN = 0, /**< text/plain;charset=utf-8 */
216 COAP_CONTENT_FORMAT_APP_LINK_FORMAT = 40, /**< application/link-format */
218 COAP_CONTENT_FORMAT_APP_OCTET_STREAM = 42, /**< application/octet-stream */
221 COAP_CONTENT_FORMAT_APP_JSON_PATCH_JSON = 51, /**< application/json-patch+json */
222 COAP_CONTENT_FORMAT_APP_MERGE_PATCH_JSON = 52, /**< application/merge-patch+json */
227 * @brief Set of No-Response option values for CoAP.
229 * To be used when encoding or decoding a No-Response option defined
378 int64_t t0; /**< Time when the request was sent */ member
431 * @return Token length in the CoAP packet (0 - COAP_TOKEN_MAX_LEN).
449 * @return 0 on success, -EINVAL on failure
477 * @param path Null-terminated array of strings.
500 * @retval -EINVAL in case of invalid input args.
501 * @retval -EBADMSG in case of malformed coap packet header.
502 * @retval -EILSEQ in case of malformed coap options.
512 * @param path Null-terminated string of coap path, query or both.
574 * @return a 8-byte pseudo-random token.
604 * Note: options can be added out of numeric order of their codes. But
700 * @retval -ENOTSUP in case of invalid request code.
701 * @retval -EPERM in case resource handler is not implemented.
702 * @retval -ENOENT in case the resource is not found.
723 * @retval -ENOTSUP in case of invalid request code.
724 * @retval -EPERM in case resource handler is not implemented.
725 * @retval -ENOENT in case the resource is not found.
735 * block-wise transfers [RFC7959]:
742 COAP_BLOCK_16, /**< 16-byte block size */
743 COAP_BLOCK_32, /**< 32-byte block size */
744 COAP_BLOCK_64, /**< 64-byte block size */
745 COAP_BLOCK_128, /**< 128-byte block size */
746 COAP_BLOCK_256, /**< 256-byte block size */
747 COAP_BLOCK_512, /**< 512-byte block size */
748 COAP_BLOCK_1024, /**< 1024-byte block size */
775 int sz = u32_count_trailing_zeros(bytes) - 4; in coap_bytes_to_block_size()
787 * @brief Represents the current state of a block-wise transaction.
790 /** Total size of the block-wise transaction */
792 /** Current size of the block-wise transaction */
799 * @brief Initializes the context of a block-wise transfer.
950 * @param cpkt Packet in which to look for block-wise transfers options
963 * @param cpkt Packet in which to look for block-wise transfers options
967 * @return The offset in the block-wise transfer, 0 if the transfer
979 * @param cpkt Packet in which to look for block-wise transfers options
982 * @return The offset in the block-wise transfer, 0 if the transfer
1180 * @brief Returns the next pending about to expire, pending->timeout