Home
last modified time | relevance | path

Searched refs:aCode (Results 1 – 16 of 16) sorted by relevance

/openthread-3.4.0/src/core/net/
Dicmp6.hpp153 void SetCode(Code aCode) { mCode = static_cast<uint8_t>(aCode); } in SetCode() argument
287 …Error SendError(Header::Type aType, Header::Code aCode, const MessageInfo &aMessageInfo, const Mes…
301 …Error SendError(Header::Type aType, Header::Code aCode, const MessageInfo &aMessageInfo, const Hea…
Dicmp6.cpp84 Error Icmp::SendError(Header::Type aType, Header::Code aCode, const MessageInfo &aMessageInfo, cons… in SendError() argument
90 error = SendError(aType, aCode, aMessageInfo, headers); in SendError()
96 Error Icmp::SendError(Header::Type aType, Header::Code aCode, const MessageInfo &aMessageInfo, cons… in SendError() argument
118 icmp6Header.SetCode(aCode); in SendError()
Ddhcp6.hpp223 void SetCode(Code aCode) { mCode = HostSwap16(static_cast<uint16_t>(aCode)); } in SetCode() argument
Dip4_types.hpp655 void SetCode(uint8_t aCode) { mCode = aCode; } in SetCode() argument
Ddhcp6_client.hpp133 uint16_t FindOption(Message &aMessage, uint16_t aOffset, uint16_t aLength, Code aCode);
Ddhcp6_server.hpp206 uint16_t FindOption(Message &aMessage, uint16_t aOffset, uint16_t aLength, Code aCode);
Ddhcp6_server.cpp237 uint16_t Server::FindOption(Message &aMessage, uint16_t aOffset, uint16_t aLength, Code aCode) in FindOption() argument
248 if (option.GetCode() == aCode) in FindOption()
Ddhcp6_client.cpp453 …nt16_t Client::FindOption(Message &aMessage, uint16_t aOffset, uint16_t aLength, Dhcp6::Code aCode) in FindOption() argument
465 if (option.GetCode() == aCode) in FindOption()
/openthread-3.4.0/src/core/api/
Dcoap_api.cpp51 void otCoapMessageInit(otMessage *aMessage, otCoapType aType, otCoapCode aCode) in otCoapMessageInit() argument
53 AsCoapMessage(aMessage).Init(MapEnum(aType), MapEnum(aCode)); in otCoapMessageInit()
56 …geInitResponse(otMessage *aResponse, const otMessage *aRequest, otCoapType aType, otCoapCode aCode) in otCoapMessageInitResponse() argument
61 response.Init(MapEnum(aType), MapEnum(aCode)); in otCoapMessageInitResponse()
144 …apMessageSetCode(otMessage *aMessage, otCoapCode aCode) { AsCoapMessage(aMessage).SetCode(MapEnum( in otCoapMessageSetCode() argument
/openthread-3.4.0/include/openthread/
Dcoap.h493 void otCoapMessageInit(otMessage *aMessage, otCoapType aType, otCoapCode aCode);
509 …eInitResponse(otMessage *aResponse, const otMessage *aRequest, otCoapType aType, otCoapCode aCode);
727 void otCoapMessageSetCode(otMessage *aMessage, otCoapCode aCode);
/openthread-3.4.0/src/core/coap/
Dcoap_message.hpp205 void Init(Type aType, Code aCode);
218 Error Init(Type aType, Code aCode, Uri aUri);
300 void SetCode(Code aCode) { GetHelpData().mHeader.mCode = static_cast<uint8_t>(aCode); } in SetCode() argument
Dcoap_message.cpp63 void Message::Init(Type aType, Code aCode) in Init() argument
67 SetCode(aCode); in Init()
70 Error Message::Init(Type aType, Code aCode, Uri aUri) in Init() argument
74 Init(aType, aCode); in Init()
Dcoap.hpp684 …Error SendHeaderResponse(Message::Code aCode, const Message &aRequest, const Ip6::MessageInfo &aMe…
711 Error SendEmptyAck(const Message &aRequest, const Ip6::MessageInfo &aMessageInfo, Code aCode);
Dcoap.cpp393 …r CoapBase::SendEmptyAck(const Message &aRequest, const Ip6::MessageInfo &aMessageInfo, Code aCode) in SendEmptyAck() argument
395 …return (aRequest.IsConfirmable() ? SendHeaderResponse(aCode, aRequest, aMessageInfo) : kErrorInval… in SendEmptyAck()
428 Error CoapBase::SendHeaderResponse(Message::Code aCode, const Message &aRequest, const Ip6::Message… in SendHeaderResponse() argument
439 message->Init(kTypeAck, aCode); in SendHeaderResponse()
444 message->Init(kTypeNonConfirmable, aCode); in SendHeaderResponse()
/openthread-3.4.0/src/core/meshcop/
Dborder_agent.hpp151 Error ToHeader(Coap::Message &aMessage, uint8_t aCode);
Dborder_agent.cpp73 Error BorderAgent::ForwardContext::ToHeader(Coap::Message &aMessage, uint8_t aCode) in ToHeader() argument
77 aMessage.Init(Coap::kTypeNonConfirmable, static_cast<Coap::Code>(aCode)); in ToHeader()
81 aMessage.Init(Coap::kTypeAck, static_cast<Coap::Code>(aCode)); in ToHeader()