/openthread-latest/include/openthread/ |
D | message.h | 57 typedef struct otMessage otMessage; typedef 121 void otMessageFree(otMessage *aMessage); 139 uint16_t otMessageGetLength(const otMessage *aMessage); 158 otError otMessageSetLength(otMessage *aMessage, uint16_t aLength); 175 uint16_t otMessageGetOffset(const otMessage *aMessage); 191 void otMessageSetOffset(otMessage *aMessage, uint16_t aOffset); 201 bool otMessageIsLinkSecurityEnabled(const otMessage *aMessage); 211 bool otMessageIsLoopbackToHostAllowed(const otMessage *aMessage); 219 void otMessageSetLoopbackToHostAllowed(otMessage *aMessage, bool aAllowLoopbackToHost); 231 bool otMessageIsMulticastLoopEnabled(otMessage *aMessage); [all …]
|
D | coap.h | 163 const otMessage *mMessage; ///< CoAP message 338 otMessage *aMessage, 349 typedef void (*otCoapRequestHandler)(void *aContext, otMessage *aMessage, const otMessageInfo *aMes… 475 void otCoapMessageInit(otMessage *aMessage, otCoapType aType, otCoapCode aCode); 490 otError otCoapMessageInitResponse(otMessage *aResponse, const otMessage *aRequest, otCoapType aType… 502 otError otCoapMessageSetToken(otMessage *aMessage, const uint8_t *aToken, uint8_t aTokenLength); 510 void otCoapMessageGenerateToken(otMessage *aMessage, uint8_t aTokenLength); 530 otError otCoapMessageAppendContentFormatOption(otMessage *aMessage, otCoapOptionContentFormat aCont… 544 otError otCoapMessageAppendOption(otMessage *aMessage, uint16_t aNumber, uint16_t aLength, const vo… 560 otError otCoapMessageAppendUintOption(otMessage *aMessage, uint16_t aNumber, uint32_t aValue); [all …]
|
D | udp.h | 60 typedef bool (*otUdpHandler)(void *aContext, const otMessage *aMessage, const otMessageInfo *aMessa… 105 otError otUdpSendDatagram(otInstance *aInstance, otMessage *aMessage, otMessageInfo *aMessageInfo); 110 typedef void (*otUdpReceive)(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo… 150 otMessage *otUdpNewMessage(otInstance *aInstance, const otMessageSettings *aSettings); 227 otError otUdpSend(otInstance *aInstance, otUdpSocket *aSocket, otMessage *aMessage, const otMessage… 263 typedef void (*otUdpForwarder)(otMessage *aMessage, 290 otMessage *aMessage,
|
D | coap_secure.h | 291 otMessage *aMessage, 314 otMessage *aMessage, 387 otMessage *aMessage, 402 otError otCoapSecureSendResponse(otInstance *aInstance, otMessage *aMessage, const otMessageInfo *a…
|
D | nat64.h | 296 otMessage *otIp4NewMessage(otInstance *aInstance, const otMessageSettings *aSettings); 351 otError otNat64Send(otInstance *aInstance, otMessage *aMessage); 361 typedef void (*otNat64ReceiveIp4Callback)(otMessage *aMessage, void *aContext);
|
D | icmp6.h | 117 otMessage *aMessage, 185 otMessage *aMessage,
|
D | ip6.h | 370 otMessage *otIp6NewMessage(otInstance *aInstance, const otMessageSettings *aSettings); 388 otMessage *otIp6NewMessageFromBuffer(otInstance *aInstance, 401 typedef void (*otIp6ReceiveCallback)(otMessage *aMessage, void *aContext); 494 otError otIp6Send(otInstance *aInstance, otMessage *aMessage);
|
/openthread-latest/src/core/api/ |
D | message_api.cpp | 40 void otMessageFree(otMessage *aMessage) { AsCoreType(aMessage).Free(); } in otMessageFree() 42 uint16_t otMessageGetLength(const otMessage *aMessage) { return AsCoreType(aMessage).GetLength(); } in otMessageGetLength() 44 otError otMessageSetLength(otMessage *aMessage, uint16_t aLength) { return AsCoreType(aMessage).Set… in otMessageSetLength() 46 uint16_t otMessageGetOffset(const otMessage *aMessage) { return AsCoreType(aMessage).GetOffset(); } in otMessageGetOffset() 48 void otMessageSetOffset(otMessage *aMessage, uint16_t aOffset) { AsCoreType(aMessage).SetOffset(aOf… in otMessageSetOffset() 50 bool otMessageIsLinkSecurityEnabled(const otMessage *aMessage) { return AsCoreType(aMessage).IsLink… in otMessageIsLinkSecurityEnabled() 52 bool otMessageIsLoopbackToHostAllowed(const otMessage *aMessage) in otMessageIsLoopbackToHostAllowed() 57 void otMessageSetLoopbackToHostAllowed(otMessage *aMessage, bool aAllowLoopbackToHost) in otMessageSetLoopbackToHostAllowed() 62 bool otMessageIsMulticastLoopEnabled(otMessage *aMessage) { return AsCoreType(aMessage).GetMulticas… in otMessageIsMulticastLoopEnabled() 64 void otMessageSetMulticastLoopEnabled(otMessage *aMessage, bool aEnabled) in otMessageSetMulticastLoopEnabled() [all …]
|
D | coap_api.cpp | 42 otMessage *otCoapNewMessage(otInstance *aInstance, const otMessageSettings *aSettings) in otCoapNewMessage() 47 void otCoapMessageInit(otMessage *aMessage, otCoapType aType, otCoapCode aCode) in otCoapMessageInit() 52 otError otCoapMessageInitResponse(otMessage *aResponse, const otMessage *aRequest, otCoapType aType… in otCoapMessageInitResponse() 63 otError otCoapMessageSetToken(otMessage *aMessage, const uint8_t *aToken, uint8_t aTokenLength) in otCoapMessageSetToken() 68 void otCoapMessageGenerateToken(otMessage *aMessage, uint8_t aTokenLength) in otCoapMessageGenerateToken() 73 otError otCoapMessageAppendContentFormatOption(otMessage *aMessage, otCoapOptionContentFormat aCont… in otCoapMessageAppendContentFormatOption() 78 otError otCoapMessageAppendOption(otMessage *aMessage, uint16_t aNumber, uint16_t aLength, const vo… in otCoapMessageAppendOption() 83 otError otCoapMessageAppendUintOption(otMessage *aMessage, uint16_t aNumber, uint32_t aValue) in otCoapMessageAppendUintOption() 88 otError otCoapMessageAppendObserveOption(otMessage *aMessage, uint32_t aObserve) in otCoapMessageAppendObserveOption() 93 otError otCoapMessageAppendUriPathOptions(otMessage *aMessage, const char *aUriPath) in otCoapMessageAppendUriPathOptions() [all …]
|
D | udp_api.cpp | 40 otMessage *otUdpNewMessage(otInstance *aInstance, const otMessageSettings *aSettings) in otUdpNewMessage() 72 otError otUdpSend(otInstance *aInstance, otUdpSocket *aSocket, otMessage *aMessage, const otMessage… in otUdpSend() 93 otMessage *aMessage, in otUdpForwardReceive() 122 otError otUdpSendDatagram(otInstance *aInstance, otMessage *aMessage, otMessageInfo *aMessageInfo) in otUdpSendDatagram()
|
D | coap_secure_api.cpp | 149 otMessage *aMessage, in otCoapSecureSendRequestBlockWise() 161 otMessage *aMessage, in otCoapSecureSendRequest() 204 otMessage *aMessage, in otCoapSecureSendResponseBlockWise() 216 otError otCoapSecureSendResponse(otInstance *aInstance, otMessage *aMessage, const otMessageInfo *a… in otCoapSecureSendResponse()
|
/openthread-latest/src/cli/ |
D | cli_coap_secure.hpp | 96 void PrintPayload(otMessage *aMessage); 105 … static void HandleRequest(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo); 106 void HandleRequest(otMessage *aMessage, const otMessageInfo *aMessageInfo); 108 …static void HandleResponse(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo,… 109 …void HandleResponse(otMessage *aMessage, const otMessageInfo *aMessageInfo, otError aError); 133 …static void DefaultHandler(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo); 134 void DefaultHandler(otMessage *aMessage, const otMessageInfo *aMessageInfo);
|
D | cli_coap.hpp | 95 void PrintPayload(otMessage *aMessage); 103 … static void HandleRequest(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo); 104 void HandleRequest(otMessage *aMessage, const otMessageInfo *aMessageInfo); 108 otMessage *aMessage, 111 …void HandleNotificationResponse(otMessage *aMessage, const otMessageInfo *aMessageInfo, otE… 114 …static void HandleResponse(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo,… 115 …void HandleResponse(otMessage *aMessage, const otMessageInfo *aMessageInfo, otError aError);
|
D | cli_udp.hpp | 78 static otError PrepareAutoGeneratedPayload(otMessage &aMessage, uint16_t aPayloadLength); 79 static otError PrepareHexStringPayload(otMessage &aMessage, const char *aHexString); 81 …static void HandleUdpReceive(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInf… 82 void HandleUdpReceive(otMessage *aMessage, const otMessageInfo *aMessageInfo);
|
D | cli_udp.cpp | 255 otMessage *message = nullptr; in Process() 370 otError UdpExample::PrepareAutoGeneratedPayload(otMessage &aMessage, uint16_t aPayloadLength) in PrepareAutoGeneratedPayload() 400 otError UdpExample::PrepareHexStringPayload(otMessage &aMessage, const char *aHexString) in PrepareHexStringPayload() 456 void UdpExample::HandleUdpReceive(void *aContext, otMessage *aMessage, const otMessageInfo *aMessag… in HandleUdpReceive() 461 void UdpExample::HandleUdpReceive(otMessage *aMessage, const otMessageInfo *aMessageInfo) in HandleUdpReceive()
|
D | cli_coap_secure.cpp | 67 void CoapSecure::PrintPayload(otMessage *aMessage) in PrintPayload() 457 otMessage *message = nullptr; in ProcessRequest() 809 void CoapSecure::HandleRequest(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageIn… in HandleRequest() 814 void CoapSecure::HandleRequest(otMessage *aMessage, const otMessageInfo *aMessageInfo) in HandleRequest() 817 otMessage *responseMessage = nullptr; in HandleRequest() 933 void CoapSecure::HandleResponse(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageI… in HandleResponse() 938 void CoapSecure::HandleResponse(otMessage *aMessage, const otMessageInfo *aMessageInfo, otError aEr… in HandleResponse() 956 void CoapSecure::DefaultHandler(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageI… in DefaultHandler() 961 void CoapSecure::DefaultHandler(otMessage *aMessage, const otMessageInfo *aMessageInfo) in DefaultHandler() 964 otMessage *responseMessage = nullptr; in DefaultHandler()
|
D | cli_coap.cpp | 78 otMessage *message = nullptr; in CancelResourceSubscription() 118 void Coap::PrintPayload(otMessage *aMessage) in PrintPayload() 237 otMessage *notificationMessage = nullptr; in Process() 584 otMessage *message = nullptr; in ProcessRequest() 844 void Coap::HandleRequest(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo) in HandleRequest() 849 void Coap::HandleRequest(otMessage *aMessage, const otMessageInfo *aMessageInfo) in HandleRequest() 852 otMessage *responseMessage = nullptr; in HandleRequest() 1037 otMessage *aMessage, in HandleNotificationResponse() 1044 void Coap::HandleNotificationResponse(otMessage *aMessage, const otMessageInfo *aMessageInfo, otErr… in HandleNotificationResponse() 1066 void Coap::HandleResponse(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo, o… in HandleResponse() [all …]
|
/openthread-latest/include/openthread/platform/ |
D | mdns_socket.h | 107 void otPlatMdnsSendMulticast(otInstance *aInstance, otMessage *aMessage, uint32_t aInfraIfIndex); 132 void otPlatMdnsSendUnicast(otInstance *aInstance, otMessage *aMessage, const otPlatMdnsAddressInfo … 153 otMessage *aMessage,
|
D | dns.h | 72 …nsStartUpstreamQuery(otInstance *aInstance, otPlatDnsUpstreamQuery *aTxn, const otMessage *aQuery); 97 …latDnsUpstreamQueryDone(otInstance *aInstance, otPlatDnsUpstreamQuery *aTxn, otMessage *aResponse);
|
D | dso_transport.h | 135 void otPlatDsoSend(otPlatDsoConnection *aConnection, otMessage *aMessage); 152 extern void otPlatDsoHandleReceive(otPlatDsoConnection *aConnection, otMessage *aMessage);
|
/openthread-latest/examples/platforms/simulation/ |
D | mdns_socket.c | 289 void otPlatMdnsSendMulticast(otInstance *aInstance, otMessage *aMessage, uint32_t aInfraIfIndex) in otPlatMdnsSendMulticast() 333 void otPlatMdnsSendUnicast(otInstance *aInstance, otMessage *aMessage, const otPlatMdnsAddressInfo … in otPlatMdnsSendUnicast() 398 otMessage *message; in platformMdnsSocketProcess() 425 otMessage *message; in platformMdnsSocketProcess() 454 OT_TOOL_WEAK uint16_t otMessageRead(const otMessage *aMessage, uint16_t aOffset, void *aBuf, uint16… in otMessageRead() 466 OT_TOOL_WEAK void otMessageFree(otMessage *aMessage) in otMessageFree() 473 OT_TOOL_WEAK otMessage *otIp6NewMessage(otInstance *aInstance, const otMessageSettings *aSettings) in otIp6NewMessage() 484 OT_TOOL_WEAK otError otMessageAppend(otMessage *aMessage, const void *aBuf, uint16_t aLength) in otMessageAppend() 517 otMessage *aMessage, in otPlatMdnsHandleReceive() 542 void otPlatMdnsSendMulticast(otInstance *aInstance, otMessage *aMessage, uint32_t aInfraIfIndex) in otPlatMdnsSendMulticast() [all …]
|
/openthread-latest/third_party/tcplp/ |
D | tcplp.h | 70 otMessage * tcplp_sys_new_message(otInstance *aInstance); 71 void tcplp_sys_free_message(otInstance *aInstance, otMessage *aMessage); 72 void tcplp_sys_send_message(otInstance *aInstance, otMessage *aMessage, otMessageInfo *aMe…
|
/openthread-latest/tests/unit/ |
D | test_message_queue.cpp | 253 otMessage *message; in VerifyMessageQueueContentUsingOtApi() 254 otMessage *msgArg; in VerifyMessageQueueContentUsingOtApi() 270 msgArg = va_arg(args, otMessage *); in VerifyMessageQueueContentUsingOtApi() 285 otMessage *messages[kNumTestMessages]; in TestMessageQueueOtApis() 286 otMessage *message; in TestMessageQueueOtApis() 292 for (otMessage *&msg : messages) in TestMessageQueueOtApis()
|
/openthread-latest/src/core/thread/ |
D | mlr_manager.hpp | 160 otMessage *aMessage, 171 otMessage *aMessage, 174 …void HandleRegisterResponse(otMessage *aMessage, const otMessageInfo *aMessageInfo, otError…
|
/openthread-latest/src/core/meshcop/ |
D | commissioner.hpp | 397 otMessage *aMessage, 404 otMessage *aMessage, 411 otMessage *aMessage, 416 otMessage *aMessage,
|