Lines Matching +full:size +full:- +full:report
2 * Copyright (c) 2017-2021, The OpenThread Authors.
32 * This file defines the top-level DNS functions for the OpenThread library.
47 * @addtogroup api-dns
148 …* In a non-NULL @p aConfig, caller can choose to leave some of the fields in `otDnsQueryConfig` in…
154 …* set or specify it. This behavior requires SRP client and its auto-start feature to be enabled. S…
180 * @param[in] aResponse A pointer to the response (it is always non-NULL).
181 * @param[in] aContext A pointer to application-specific context.
185 * - OT_ERROR_NONE A response was received successfully.
186 * - OT_ERROR_ABORT A DNS transaction was aborted by stack.
187 * - OT_ERROR_RESPONSE_TIMEOUT No DNS response has been received within timeout.
191 * - (0) NOERROR Success (no error condition) -> OT_ERROR_NONE
192 * - (1) FORMERR Server unable to interpret due to format error -> OT_ERROR_PARSE
193 * - (2) SERVFAIL Server encountered an internal failure -> OT_ERROR_FAILED
194 * - (3) NXDOMAIN Name that ought to exist, does not exist -> OT_ERROR_NOT_FOUND
195 * - (4) NOTIMP Server does not support the query type (OpCode) -> OT_ERROR_NOT_IMPLEMENTED
196 * - (5) REFUSED Server refused for policy/security reasons -> OT_ERROR_SECURITY
197 * - (6) YXDOMAIN Some name that ought not to exist, does exist -> OT_ERROR_DUPLICATED
198 * - (7) YXRRSET Some RRset that ought not to exist, does exist -> OT_ERROR_DUPLICATED
199 * - (8) NXRRSET Some RRset that ought to exist, does not exist -> OT_ERROR_NOT_FOUND
200 * - (9) NOTAUTH Service is not authoritative for zone -> OT_ERROR_SECURITY
201 * - (10) NOTZONE A name is not in the zone -> OT_ERROR_PARSE
202 * - (20) BADNAME Bad name -> OT_ERROR_PARSE
203 * - (21) BADALG Bad algorithm -> OT_ERROR_SECURITY
204 * - (22) BADTRUN Bad truncation -> OT_ERROR_PARSE
205 * - Other response codes -> OT_ERROR_FAILED
213 …* the config for this query. In a non-NULL @p aConfig, some of the fields can be left unspecified …
218 …am[in] aCallback A function pointer that shall be called on response reception or time-out.
222 …* @retval OT_ERROR_NONE Query sent successfully. @p aCallback will be invoked to report t…
242 …* the config for this query. In a non-NULL @p aConfig, some of the fields can be left unspecified …
247 …am[in] aCallback A function pointer that shall be called on response reception or time-out.
251 …* @retval OT_ERROR_NONE Query sent successfully. @p aCallback will be invoked to report t…
269 * @param[in] aNameBufferSize The size of @p aNameBuffer.
320 * @param[in] aResponse A pointer to the response (it is always non-NULL).
321 * @param[in] aContext A pointer to application-specific context.
337 uint16_t mHostNameBufferSize; ///< Size of `mHostNameBuffer`.
341 …uint16_t mTxtDataSize; ///< On input, size of `mTxtData` buffer. On output number bytes…
352 …* the config for this query. In a non-NULL @p aConfig, some of the fields can be left unspecified …
357 …am[in] aCallback A function pointer that shall be called on response reception or time-out.
361 …* @retval OT_ERROR_NONE Query sent successfully. @p aCallback will be invoked to report the…
377 * @param[in] aNameBufferSize The size of @p aNameBuffer.
400 * @param[in] aLabelBufferSize The size of @p aLabelBuffer.
421 …* - If no matching SRV record is found in @p aResponse, `OT_ERROR_NOT_FOUND` is returned. In this …
423 …* - If a matching SRV record is found in @p aResponse, @p aServiceInfo is updated and `OT_ERROR_NO…
424 …* - If no matching TXT record is found in @p aResponse, `mTxtDataSize` in @p aServiceInfo is set t…
425 …* - If TXT data length is greater than `mTxtDataSize`, it is read partially and `mTxtDataTruncated…
426 …* - If no matching AAAA record is found in @p aResponse, `mHostAddress is set to all zero or unspe…
427 …* - If there are multiple AAAA records for the host name in @p aResponse, `mHostAddress` is set to…
486 * @param[in] aResponse A pointer to the response (it is always non-NULL).
487 * @param[in] aContext A pointer to application-specific context.
499 …* the config for this query. In a non-NULL @p aConfig, some of the fields can be left unspecified …
517 …[in] aCallback A function pointer that shall be called on response reception or time-out.
521 …* @retval OT_ERROR_NONE Query sent successfully. @p aCallback will be invoked to report t…
533 * Starts a DNS service instance resolution for a given service instance, with a potential follow-up
539 …* the config for this query. In a non-NULL @p aConfig, some of the fields can be left unspecified …
553 …[in] aCallback A function pointer that shall be called on response reception or time-out.
557 …* @retval OT_ERROR_NONE Query sent successfully. @p aCallback will be invoked to report t…
575 * @param[in] aLabelBufferSize The size of @p aLabelBuffer.
578 * @param[in] aNameBufferSize The size of @p aNameBuffer.
603 * - If a matching SRV record is found in @p aResponse, @p aServiceInfo is updated.
604 …* - If no matching SRV record is found, `OT_ERROR_NOT_FOUND` is returned unless the query config f…
607 …* - If no matching TXT record is found in @p aResponse, `mTxtDataSize` in @p aServiceInfo is set t…
608 …* - If TXT data length is greater than `mTxtDataSize`, it is read partially and `mTxtDataTruncated…
609 …* - If no matching AAAA record is found in @p aResponse, `mHostAddress is set to all zero or unspe…
610 …* - If there are multiple AAAA records for the host name in @p aResponse, `mHostAddress` is set to…