Home
last modified time | relevance | path

Searched refs:otMessage (Results 1 – 25 of 106) sorted by relevance

12345

/openthread-3.4.0/include/openthread/
Dmessage.h59 typedef struct otMessage otMessage; typedef
96 void otMessageFree(otMessage *aMessage);
115 uint16_t otMessageGetLength(const otMessage *aMessage);
135 otError otMessageSetLength(otMessage *aMessage, uint16_t aLength);
153 uint16_t otMessageGetOffset(const otMessage *aMessage);
170 void otMessageSetOffset(otMessage *aMessage, uint16_t aOffset);
181 bool otMessageIsLinkSecurityEnabled(const otMessage *aMessage);
192 void otMessageSetDirectTransmission(otMessage *aMessage, bool aEnabled);
200 int8_t otMessageGetRss(const otMessage *aMessage);
221 otError otMessageAppend(otMessage *aMessage, const void *aBuf, uint16_t aLength);
[all …]
Dcoap.h169 const otMessage *mMessage; ///< CoAP message
345 otMessage *aMessage,
357 typedef void (*otCoapRequestHandler)(void *aContext, otMessage *aMessage, const otMessageInfo *aMes…
493 void otCoapMessageInit(otMessage *aMessage, otCoapType aType, otCoapCode aCode);
509 otError otCoapMessageInitResponse(otMessage *aResponse, const otMessage *aRequest, otCoapType aType…
522 otError otCoapMessageSetToken(otMessage *aMessage, const uint8_t *aToken, uint8_t aTokenLength);
531 void otCoapMessageGenerateToken(otMessage *aMessage, uint8_t aTokenLength);
552 otError otCoapMessageAppendContentFormatOption(otMessage *aMessage, otCoapOptionContentFormat aCont…
567 otError otCoapMessageAppendOption(otMessage *aMessage, uint16_t aNumber, uint16_t aLength, const vo…
583 otError otCoapMessageAppendUintOption(otMessage *aMessage, uint16_t aNumber, uint32_t aValue);
[all …]
Dudp.h63 typedef bool (*otUdpHandler)(void *aContext, const otMessage *aMessage, const otMessageInfo *aMessa…
111 otError otUdpSendDatagram(otInstance *aInstance, otMessage *aMessage, otMessageInfo *aMessageInfo);
117 typedef void (*otUdpReceive)(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo…
158 otMessage *otUdpNewMessage(otInstance *aInstance, const otMessageSettings *aSettings);
241 otError otUdpSend(otInstance *aInstance, otUdpSocket *aSocket, otMessage *aMessage, const otMessage…
281 typedef void (*otUdpForwarder)(otMessage *aMessage,
310 otMessage *aMessage,
Dcoap_secure.h256 otMessage *aMessage,
280 otMessage *aMessage,
360 otMessage *aMessage,
376 otError otCoapSecureSendResponse(otInstance *aInstance, otMessage *aMessage, const otMessageInfo *a…
Dnat64.h315 otMessage *otIp4NewMessage(otInstance *aInstance, const otMessageSettings *aSettings);
358 otError otNat64Send(otInstance *aInstance, otMessage *aMessage);
369 typedef void (*otNat64ReceiveIp4Callback)(otMessage *aMessage, void *aContext);
Dicmp6.h121 otMessage *aMessage,
194 otMessage *aMessage,
Dip6.h398 otMessage *otIp6NewMessage(otInstance *aInstance, const otMessageSettings *aSettings);
417 otMessage *otIp6NewMessageFromBuffer(otInstance *aInstance,
431 typedef void (*otIp6ReceiveCallback)(otMessage *aMessage, void *aContext);
530 otError otIp6Send(otInstance *aInstance, otMessage *aMessage);
/openthread-3.4.0/src/core/api/
Dmessage_api.cpp43 void otMessageFree(otMessage *aMessage) { AsCoreType(aMessage).Free(); } in otMessageFree()
45 uint16_t otMessageGetLength(const otMessage *aMessage) { return AsCoreType(aMessage).GetLength(); } in otMessageGetLength()
47 otError otMessageSetLength(otMessage *aMessage, uint16_t aLength) { return AsCoreType(aMessage).Set… in otMessageSetLength()
49 uint16_t otMessageGetOffset(const otMessage *aMessage) { return AsCoreType(aMessage).GetOffset(); } in otMessageGetOffset()
51 void otMessageSetOffset(otMessage *aMessage, uint16_t aOffset) { AsCoreType(aMessage).SetOffset(aOf… in otMessageSetOffset()
53 bool otMessageIsLinkSecurityEnabled(const otMessage *aMessage) { return AsCoreType(aMessage).IsLink… in otMessageIsLinkSecurityEnabled()
55 void otMessageSetDirectTransmission(otMessage *aMessage, bool aEnabled) in otMessageSetDirectTransmission()
67 int8_t otMessageGetRss(const otMessage *aMessage) { return AsCoreType(aMessage).GetAverageRss(); } in otMessageGetRss()
69 otError otMessageAppend(otMessage *aMessage, const void *aBuf, uint16_t aLength) in otMessageAppend()
76 uint16_t otMessageRead(const otMessage *aMessage, uint16_t aOffset, void *aBuf, uint16_t aLength) in otMessageRead()
[all …]
Dcoap_api.cpp46 otMessage *otCoapNewMessage(otInstance *aInstance, const otMessageSettings *aSettings) in otCoapNewMessage()
51 void otCoapMessageInit(otMessage *aMessage, otCoapType aType, otCoapCode aCode) in otCoapMessageInit()
56 otError otCoapMessageInitResponse(otMessage *aResponse, const otMessage *aRequest, otCoapType aType… in otCoapMessageInitResponse()
67 otError otCoapMessageSetToken(otMessage *aMessage, const uint8_t *aToken, uint8_t aTokenLength) in otCoapMessageSetToken()
72 void otCoapMessageGenerateToken(otMessage *aMessage, uint8_t aTokenLength) in otCoapMessageGenerateToken()
77 otError otCoapMessageAppendContentFormatOption(otMessage *aMessage, otCoapOptionContentFormat aCont… in otCoapMessageAppendContentFormatOption()
82 otError otCoapMessageAppendOption(otMessage *aMessage, uint16_t aNumber, uint16_t aLength, const vo… in otCoapMessageAppendOption()
87 otError otCoapMessageAppendUintOption(otMessage *aMessage, uint16_t aNumber, uint32_t aValue) in otCoapMessageAppendUintOption()
92 otError otCoapMessageAppendObserveOption(otMessage *aMessage, uint32_t aObserve) in otCoapMessageAppendObserveOption()
97 otError otCoapMessageAppendUriPathOptions(otMessage *aMessage, const char *aUriPath) in otCoapMessageAppendUriPathOptions()
[all …]
Dudp_api.cpp43 otMessage *otUdpNewMessage(otInstance *aInstance, const otMessageSettings *aSettings) in otUdpNewMessage()
73 otError otUdpSend(otInstance *aInstance, otUdpSocket *aSocket, otMessage *aMessage, const otMessage… in otUdpSend()
88 otMessage *aMessage, in otUdpForwardReceive()
117 otError otUdpSendDatagram(otInstance *aInstance, otMessage *aMessage, otMessageInfo *aMessageInfo) in otUdpSendDatagram()
Dcoap_secure_api.cpp129 otMessage *aMessage, in otCoapSecureSendRequestBlockWise()
141 otMessage *aMessage, in otCoapSecureSendRequest()
184 otMessage *aMessage, in otCoapSecureSendResponseBlockWise()
194 otError otCoapSecureSendResponse(otInstance *aInstance, otMessage *aMessage, const otMessageInfo *a… in otCoapSecureSendResponse()
/openthread-3.4.0/src/cli/
Dcli_coap_secure.hpp98 void PrintPayload(otMessage *aMessage);
106 … static void HandleRequest(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo);
107 void HandleRequest(otMessage *aMessage, const otMessageInfo *aMessageInfo);
109 …static void HandleResponse(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo,…
110 …void HandleResponse(otMessage *aMessage, const otMessageInfo *aMessageInfo, otError aError);
134 …static void DefaultHandler(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo);
135 void DefaultHandler(otMessage *aMessage, const otMessageInfo *aMessageInfo);
Dcli_coap.hpp97 void PrintPayload(otMessage *aMessage);
105 … static void HandleRequest(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo);
106 void HandleRequest(otMessage *aMessage, const otMessageInfo *aMessageInfo);
110 otMessage *aMessage,
113 …void HandleNotificationResponse(otMessage *aMessage, const otMessageInfo *aMessageInfo, otE…
116 …static void HandleResponse(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo,…
117 …void HandleResponse(otMessage *aMessage, const otMessageInfo *aMessageInfo, otError aError);
Dcli_udp.hpp77 static otError PrepareAutoGeneratedPayload(otMessage &aMessage, uint16_t aPayloadLength);
78 static otError PrepareHexStringPayload(otMessage &aMessage, const char *aHexString);
80 …static void HandleUdpReceive(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInf…
81 void HandleUdpReceive(otMessage *aMessage, const otMessageInfo *aMessageInfo);
Dcli_udp.cpp126 otMessage *message = nullptr; in Process()
216 otError UdpExample::PrepareAutoGeneratedPayload(otMessage &aMessage, uint16_t aPayloadLength) in PrepareAutoGeneratedPayload()
246 otError UdpExample::PrepareHexStringPayload(otMessage &aMessage, const char *aHexString) in PrepareHexStringPayload()
305 void UdpExample::HandleUdpReceive(void *aContext, otMessage *aMessage, const otMessageInfo *aMessag… in HandleUdpReceive()
310 void UdpExample::HandleUdpReceive(otMessage *aMessage, const otMessageInfo *aMessageInfo) in HandleUdpReceive()
Dcli_coap_secure.cpp67 void CoapSecure::PrintPayload(otMessage *aMessage) in PrintPayload()
217 otMessage *message = nullptr; in ProcessRequest()
510 void CoapSecure::HandleRequest(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageIn… in HandleRequest()
515 void CoapSecure::HandleRequest(otMessage *aMessage, const otMessageInfo *aMessageInfo) in HandleRequest()
518 otMessage *responseMessage = nullptr; in HandleRequest()
634 void CoapSecure::HandleResponse(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageI… in HandleResponse()
639 void CoapSecure::HandleResponse(otMessage *aMessage, const otMessageInfo *aMessageInfo, otError aEr… in HandleResponse()
657 void CoapSecure::DefaultHandler(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageI… in DefaultHandler()
662 void CoapSecure::DefaultHandler(otMessage *aMessage, const otMessageInfo *aMessageInfo) in DefaultHandler()
665 otMessage *responseMessage = nullptr; in DefaultHandler()
Dcli_coap.cpp78 otMessage *message = nullptr; in CancelResourceSubscription()
118 void Coap::PrintPayload(otMessage *aMessage) in PrintPayload()
195 otMessage *notificationMessage = nullptr; in Process()
353 otMessage *message = nullptr; in ProcessRequest()
599 void Coap::HandleRequest(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo) in HandleRequest()
604 void Coap::HandleRequest(otMessage *aMessage, const otMessageInfo *aMessageInfo) in HandleRequest()
607 otMessage *responseMessage = nullptr; in HandleRequest()
792 otMessage *aMessage, in HandleNotificationResponse()
799 void Coap::HandleNotificationResponse(otMessage *aMessage, const otMessageInfo *aMessageInfo, otErr… in HandleNotificationResponse()
821 void Coap::HandleResponse(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo, o… in HandleResponse()
[all …]
/openthread-3.4.0/third_party/tcplp/
Dtcplp.h69 otMessage * tcplp_sys_new_message(otInstance *instance);
70 void tcplp_sys_free_message(otInstance *instance, otMessage *pkt);
71 void tcplp_sys_send_message(otInstance *instance, otMessage *pkt, otMessageInfo *info);
/openthread-3.4.0/include/openthread/platform/
Ddns.h76 …nsStartUpstreamQuery(otInstance *aInstance, otPlatDnsUpstreamQuery *aTxn, const otMessage *aQuery);
103 …latDnsUpstreamQueryDone(otInstance *aInstance, otPlatDnsUpstreamQuery *aTxn, otMessage *aResponse);
Ddso_transport.h142 void otPlatDsoSend(otPlatDsoConnection *aConnection, otMessage *aMessage);
160 extern void otPlatDsoHandleReceive(otPlatDsoConnection *aConnection, otMessage *aMessage);
/openthread-3.4.0/tests/unit/
Dtest_message_queue.cpp251 otMessage *message; in VerifyMessageQueueContentUsingOtApi()
252 otMessage *msgArg; in VerifyMessageQueueContentUsingOtApi()
268 msgArg = va_arg(args, otMessage *); in VerifyMessageQueueContentUsingOtApi()
283 otMessage *messages[kNumTestMessages]; in TestMessageQueueOtApis()
284 otMessage *message; in TestMessageQueueOtApis()
290 for (otMessage *&msg : messages) in TestMessageQueueOtApis()
/openthread-3.4.0/src/core/thread/
Dmlr_manager.hpp155 otMessage *aMessage,
169 otMessage *aMessage,
172 void HandleRegisterMulticastListenersResponse(otMessage *aMessage,
/openthread-3.4.0/src/core/meshcop/
Djoiner_router.hpp102 …static void HandleUdpReceive(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInf…
108 otMessage *aMessage,
Dcommissioner.hpp555 otMessage *aMessage,
562 otMessage *aMessage,
569 otMessage *aMessage,
574 otMessage *aMessage,
/openthread-3.4.0/src/core/net/
Ddns_platform.cpp47 void otPlatDnsUpstreamQueryDone(otInstance *aInstance, otPlatDnsUpstreamQuery *aTxn, otMessage *aRe… in otPlatDnsUpstreamQueryDone()

12345