Searched refs:aTokenLength (Results 1 – 4 of 4) sorted by relevance
/openthread-2.7.6/src/core/coap/ |
D | coap_message.cpp | 384 Error Message::SetToken(const uint8_t *aToken, uint8_t aTokenLength) in SetToken() argument 386 OT_ASSERT(aTokenLength <= kMaxTokenLength); in SetToken() 388 SetTokenLength(aTokenLength); in SetToken() 389 memcpy(GetToken(), aToken, aTokenLength); in SetToken() 390 GetHelpData().mHeaderLength += aTokenLength; in SetToken() 395 Error Message::GenerateRandomToken(uint8_t aTokenLength) in GenerateRandomToken() argument 399 OT_ASSERT(aTokenLength <= sizeof(token)); in GenerateRandomToken() 401 IgnoreError(Random::Crypto::FillBuffer(token, aTokenLength)); in GenerateRandomToken() 403 return SetToken(token, aTokenLength); in GenerateRandomToken()
|
D | coap_message.hpp | 387 Error SetToken(const uint8_t *aToken, uint8_t aTokenLength); 409 Error GenerateRandomToken(uint8_t aTokenLength); 973 void SetTokenLength(uint8_t aTokenLength) in SetTokenLength() argument 976 …GetHelpData().mHeader.mVersionTypeToken |= ((aTokenLength << kTokenLengthOffset) & kTokenLengthMas… in SetTokenLength()
|
/openthread-2.7.6/src/core/api/ |
D | coap_api.cpp | 69 otError otCoapMessageSetToken(otMessage *aMessage, const uint8_t *aToken, uint8_t aTokenLength) in otCoapMessageSetToken() argument 71 return static_cast<Coap::Message *>(aMessage)->SetToken(aToken, aTokenLength); in otCoapMessageSetToken() 74 void otCoapMessageGenerateToken(otMessage *aMessage, uint8_t aTokenLength) in otCoapMessageGenerateToken() argument 76 IgnoreError(static_cast<Coap::Message *>(aMessage)->GenerateRandomToken(aTokenLength)); in otCoapMessageGenerateToken()
|
/openthread-2.7.6/include/openthread/ |
D | coap.h | 522 otError otCoapMessageSetToken(otMessage *aMessage, const uint8_t *aToken, uint8_t aTokenLength); 531 void otCoapMessageGenerateToken(otMessage *aMessage, uint8_t aTokenLength);
|