Home
last modified time | relevance | path

Searched refs:aTxtLength (Results 1 – 7 of 7) sorted by relevance

/openthread-latest/examples/platforms/simulation/
Dtrel.c269 …RegisterService(otInstance *aInstance, uint16_t aPort, const uint8_t *aTxtData, uint8_t aTxtLength) in otPlatTrelRegisterService() argument
273 assert(aTxtLength <= TREL_MAX_SERVICE_TXT_DATA_LEN); in otPlatTrelRegisterService()
282 sServiceTxtLength = aTxtLength; in otPlatTrelRegisterService()
283 memcpy(sServiceTxtData, aTxtData, aTxtLength); in otPlatTrelRegisterService()
289 dumpBuffer(aTxtData, aTxtLength); in otPlatTrelRegisterService()
/openthread-latest/src/posix/platform/
Dtrel.cpp451 …OOL_WEAK void trelDnssdRegisterService(uint16_t aPort, const uint8_t *aTxtData, uint8_t aTxtLength) in trelDnssdRegisterService() argument
476 OT_UNUSED_VARIABLE(aTxtLength); in trelDnssdRegisterService()
579 …RegisterService(otInstance *aInstance, uint16_t aPort, const uint8_t *aTxtData, uint8_t aTxtLength) in otPlatTrelRegisterService() argument
586 trelDnssdRegisterService(aPort, aTxtData, aTxtLength); in otPlatTrelRegisterService()
/openthread-latest/include/openthread/platform/
Dtrel.h176 …egisterService(otInstance *aInstance, uint16_t aPort, const uint8_t *aTxtData, uint8_t aTxtLength);
/openthread-latest/src/core/net/
Ddns_types.cpp1320 bool TxtRecord::VerifyTxtData(const uint8_t *aTxtData, uint16_t aTxtLength, bool aAllowEmpty) in VerifyTxtData() argument
1326 VerifyOrExit(aAllowEmpty || aTxtLength > 0); in VerifyTxtData()
1328 for (uint16_t i = 0; i < aTxtLength; ++i) in VerifyTxtData()
Ddnssd_server.cpp669 Error Server::Response::AppendTxtRecord(const void *aTxtData, uint16_t aTxtLength, uint32_t aTtl) in AppendTxtRecord() argument
675 if (aTxtLength == 0) in AppendTxtRecord()
678 aTxtLength = sizeof(emptyTxt); in AppendTxtRecord()
683 txtRecord.SetLength(aTxtLength); in AppendTxtRecord()
687 SuccessOrExit(error = mMessage->AppendBytes(aTxtData, aTxtLength)); in AppendTxtRecord()
Ddnssd_server.hpp409 Error AppendTxtRecord(const void *aTxtData, uint16_t aTxtLength, uint32_t aTtl);
Ddns_types.hpp1768 static bool VerifyTxtData(const uint8_t *aTxtData, uint16_t aTxtLength, bool aAllowEmpty);