Home
last modified time | relevance | path

Searched refs:kMaxNameSize (Results 1 – 6 of 6) sorted by relevance

/openthread-2.7.6/tests/unit/
Dtest_lookup_table.cpp70 kMaxNameSize = 30, in TestLookupTable() enumerator
89 char name[kMaxNameSize]; in TestLookupTable()
Dtest_dns.cpp46 kMaxNameLength = Dns::Name::kMaxNameSize - 1, in TestDnsName()
66 char name[Dns::Name::kMaxNameSize]; in TestDnsName()
780 char name[Dns::Name::kMaxNameSize]; in TestHeaderAndResourceRecords()
/openthread-2.7.6/src/core/net/
Ddnssd_server.cpp214 char name[Name::kMaxNameSize]; in AddQuestions()
404 …_t domainStart = static_cast<uint8_t>(StringLength(serviceName, Name::kMaxNameSize - 1) - in AppendServiceName()
405 … StringLength(aCompressInfo.GetDomainName(), Name::kMaxNameSize - 1)); in AppendServiceName()
503 … StringLength(aCompressInfo.GetDomainName(), Name::kMaxNameSize - 1)); in AppendHostName()
629 char name[Name::kMaxNameSize]; in ResolveBySrp()
785 char name[Name::kMaxNameSize]; in ResolveByQueryCallbacks()
834 char name[Name::kMaxNameSize]; in CanAnswerQuery()
857 char name[Name::kMaxNameSize]; in CanAnswerQuery()
1012 …ueryType Server::GetQueryTypeAndName(const otDnssdQuery *aQuery, char (&aName)[Name::kMaxNameSize]) in GetQueryTypeAndName() argument
1022 char (&aName)[Name::kMaxNameSize]) in GetQueryTypeAndName() argument
[all …]
Dsrp_server.cpp189 length = StringLength(aDomain, Dns::Name::kMaxNameSize); in SetDomain()
190 VerifyOrExit((length > 0) && (length < Dns::Name::kMaxNameSize), error = kErrorInvalidArgs); in SetDomain()
200 char buf[Dns::Name::kMaxNameSize]; in SetDomain()
202 VerifyOrExit(length < Dns::Name::kMaxNameSize - 1, error = kErrorInvalidArgs); in SetDomain()
578 char name[Dns::Name::kMaxNameSize]; in ProcessZoneSection()
640 char name[Dns::Name::kMaxNameSize]; in ProcessHostDescriptionInstruction()
715 char serviceName[Dns::Name::kMaxNameSize]; in ProcessServiceDiscoveryInstructions()
716 char instanceName[Dns::Name::kMaxNameSize]; in ProcessServiceDiscoveryInstructions()
786 char name[Dns::Name::kMaxNameSize]; in ProcessServiceDescriptionInstructions()
812 char hostName[Dns::Name::kMaxNameSize]; in ProcessServiceDescriptionInstructions()
[all …]
Ddnssd_server.hpp148 …ic DnsQueryType GetQueryTypeAndName(const otDnssdQuery *aQuery, char (&aName)[Name::kMaxNameSize]);
381 char (&aName)[Name::kMaxNameSize]);
Ddns_types.hpp492 static constexpr uint8_t kMaxNameSize = OT_DNS_MAX_NAME_SIZE; member in ot::Dns::Name
498 static constexpr uint8_t kMaxNameLength = kMaxNameSize - 1;